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
- List the contents of a browser worker image and the build-time checks that prove each part is present.
- Explain why a browser in a container uses a display server, a large shared-memory area, and an init process.
- Design a launch deadline and a process group teardown, and explain how a leaked process changes later runs.
- Size the CPU and the memory for each browser from the detection side, where a detector grades the render timing.
- Design scale-out and scale-in rules from the visible messages of the queue, with one rule set for each scaling target.
- Compare spot capacity, on-demand base capacity, and a scheduled GPU window by cost and by risk.
- Design an experiment that measures the fingerprint effect of the container.
- 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
- L01 the browser worker image (not yet published)
- L02 the container runtime: display server, shared memory, init process, sandbox (not yet published)
- L03 browser process life cycle: launch deadlines and process-group teardown (not yet published)
- L04 cpu and memory rules: the host is part of the measurement (not yet published)
- L05 scale rules: backlog, in-flight work, and one rule set for each scaling target (not yet published)
- L06 spot capacity and gpu nodes (not yet published)
- L07 fast start: context reuse and the identity that it shares (not yet published)
- L08 snapshot and restore of browser state (not yet published)
- L09 profile a browser host: cpu, memory, system calls, and the render stack (not yet published)
- L10 the render stack without a gpu (not yet published)