lecture 9 of 160 completed

Grid architecture and capacity planning

The intermediate track showed how to connect to a Grid. This is how to design one for many teams and keep it healthy.

What you'll learn

  • How to size a Grid from the runtime you need
  • Why oversubscribing looks exactly like flakiness
  • Which numbers to monitor

Connecting to a Grid is one line. Owning one is infrastructure work, and at senior level in a Selenium organisation it is often your responsibility.

The components, in the modern architecture. Grid 4 splits what used to be a hub into named parts, and knowing them matters when you are diagnosing a stuck queue:

Router receives all requests and forwards them. Distributor decides which node runs a session and creates it. Session Map remembers which node holds which session. Session Queue holds requests waiting for a free slot. Node runs browsers.

members only

Keep reading with the full course

The Foundations track and the first 5 lectures of each framework are free. This lecture is part of the paid course, which unlocks every lecture, all three frameworks, and downloads.

See the options →