Definitions

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

Definitionss

Scheduler

A scheduler matches resource requests against available capacity and decides which host runs each workload.

A scheduler is the component of a cluster that picks a host for each workload it receives, such as a new sandbox. It weighs what the workload needs against what each host has free. Its choice usually holds for the whole life of the workload. Most schedulers place one workload at a time, without knowing what requests will come next.

A scheduler that decides badly leaves some hosts idle and others overloaded, even when the cluster as a whole has room. A good placement keeps hosts busy without overloading them. It also keeps a single failure from taking down too much at once. The scheduler considers constraints such as affinity, region, and hardware type when it makes this choice.

A cluster scheduler works one level above the scheduler inside a kernel. The kernel decides which process runs on a CPU core for the next few milliseconds, while the cluster scheduler decides which server a workload lives on. The cluster scheduler takes requests from the control plane and usually records the chosen host in the stored state. An agent on that host watches the state and starts the workload.