skip to content

part 7 · sources checked 2026-11-20

browser fleets: images, display servers, cpu limits, scale rules

This module shows how to run many real browsers on shared hosts and keep each run a fair measurement.

purpose

The image, the display server, the CPU share, and the scale rules change what a run costs and what a site sees. A fault in one of them can stop a run, slow its timing, or show the same host values in many browser sessions.

After the module, you can size a host, select the counts for the scale rules, and say which host choices change what a site sees.

objectives

  1. List the contents of a browser worker image and the build-time checks that prove each part is present.
  2. Explain why a browser in a container uses a display server, a large shared-memory area, and an init process.
  3. Design a launch deadline and a process group teardown, and explain how a leaked process changes later runs.
  4. Size the CPU and the memory for each browser from the detection side, where a detector grades the render timing.
  5. Design scale-out and scale-in rules from the visible messages of the queue, with one rule set for each scaling target.
  6. Compare spot capacity, on-demand base capacity, and a scheduled GPU window by cost and by risk.
  7. Design an experiment that measures the fingerprint effect of the container.
  8. Record the render stack of a host with no GPU, and decide where a GPU node is worth its cost.

lessons

0 of 10 published

a dim title is not yet published

  1. L01 the browser worker image (not yet published)
  2. L02 the container runtime: display server, shared memory, init process, sandbox (not yet published)
  3. L03 browser process life cycle: launch deadlines and process-group teardown (not yet published)
  4. L04 cpu and memory rules: the host is part of the measurement (not yet published)
  5. L05 scale rules: backlog, in-flight work, and one rule set for each scaling target (not yet published)
  6. L06 spot capacity and gpu nodes (not yet published)
  7. L07 fast start: context reuse and the identity that it shares (not yet published)
  8. L08 snapshot and restore of browser state (not yet published)
  9. L09 profile a browser host: cpu, memory, system calls, and the render stack (not yet published)
  10. L10 the render stack without a gpu (not yet published)