Load balancer
A load balancer spreads incoming requests across several servers, so no single server is overloaded and a failed one is skipped.
A load balancer is a service that sits in front of a group of servers and passes each incoming request to one of them. Clients connect to a single address, and the load balancer chooses which server answers. It can choose in turn, by the current load, or by a key such as the user. It also checks the health of each server and stops sending requests to one that fails.
Load balancers let a service grow by adding servers instead of making one server bigger. They also hide failures and upgrades, because a server can leave the group without clients noticing. Some work at the network level and pass raw connections. Others read each request and route it by its path or host name, often ending TLS on the way.
A load balancer is usually the first thing that traffic from the internet reaches. In a sandbox platform, it sits behind ingress and routes each request for a sandbox to the host that runs it. The same routing lets the platform move or restart sandboxes without changing their public address. Requests for a sandbox that is stopped can be held while it starts, or answered with an error.