Repository navigation
Summary
This release adds worker pools: one deployment can give a workload its own workers. The Playwright version does not change (1.65), so your clients need no Playwright update.
- Worker pools. Set
POOL=<name>on a worker, and select the pool with?pool=<name>on connect orpoolinPOST /v1/sessions. A session goes only to workers in its pool, and each pool has its own queue line, so a full pool does not delay the others. No value means the pooldefault, so setups that set nothing work as before. Pools are routing, not access control. See the scaling guide. (#160) GET /v1/capacityhas onebrowsersentry per pool and browser, and worker and session objects showpool.- A queue timeout message names the requested pool and the pools of the registered workers.
Upgrade the server before you set POOL on a worker. An older server refuses the registration of a worker that sets POOL, and that worker stops.
To upgrade, change both image tags to 0.10.0, then run:
docker compose pull server worker
docker compose up -d
What's Changed
- docs(website): document release 0.9.0 by @mbroton in #158
- feat: give a workload its own workers with worker pools by @mbroton in #160
Full Changelog: v0.9.0...v0.10.0