Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsw

Warm pool

A warm pool is a set of sandboxes started ahead of demand, so that a create request can claim one instead of starting a new one.

A warm pool holds sandboxes or machines that are already running but not yet assigned to anyone. Each one has finished its slow start-up steps, such as booting and loading an image. When a request arrives, the platform hands over a sandbox from the pool. It then starts a new one in the background to refill the pool.

Warm pools exist to cut the time between a request and a ready sandbox. Starting from scratch can take seconds, while claiming a ready sandbox takes milliseconds. Warm pools are one of several techniques behind fast cold starts. The others include snapshot restore and copy-on-write file systems.

On the create path of a sandbox platform, the agent on the selected host ideally claims a sandbox from its warm pool. Where a platform uses a purpose-built path for creating sandboxes, each host often manages its own pool. A pool costs memory and processor time even when no one uses it. Platforms therefore size each pool to match expected demand for each image or configuration.