Promptles
Architecture

Load Balancer

intermediate

Definition

A traffic cop that sits in front of a group of servers and decides which one each visitor should go to. It spreads people out so no single server gets crushed by the crowd, and it stops sending traffic to any server that's broken or too slow.

In the wild

A popular shopping site is running on ten identical servers behind a load balancer. When 100,000 shoppers arrive at once, the load balancer hands each one to whichever server has the lightest workload. So the site stays fast for everyone.

More from Architecture