Definitions

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

Definitionsa

Autoscaling

Autoscaling adds or removes machines or workloads automatically as demand rises and falls.

Autoscaling is the automatic change of how many machines or copies of a workload are running. An autoscaler watches a signal, such as CPU use, queue length or the number of requests. When the signal crosses a threshold, it adds capacity, and when demand drops, it removes capacity. The rules set a minimum, a maximum and how quickly to react.

Autoscaling lets a system pay for the demand it has rather than for its peak. Its weak point is time, because new capacity takes time to start and to warm up. A system that reacts too slowly drops requests during a spike. One that reacts too quickly adds and removes machines over and over, which wastes money and causes instability.

A sandbox platform scales at two levels. It adds and removes hosts as the number of sandboxes changes, and it keeps warm pools of ready sandboxes so each request starts fast. Scaling hosts takes minutes, while starting a sandbox on an existing host takes far less. The platform therefore keeps some spare host capacity, so a burst of new sandboxes does not wait for new hosts.

Related terms