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.

full course

Keep reading with the full course

The Foundations track and the first lessons in each framework are free. This lesson needs full course access. A course plan includes all lessons for Playwright, Cypress and Selenium.

See course plans →