Build a Load Balancer

least-connections with health checks

Challenge 3 of Traffic & ResilienceAdvanced~75 min

Build a load balancer from round-robin to least-connections, add health checks, eject failing backends automatically, and make the selection strategy pluggable, handling node failure gracefully throughout.

5 steps

  1. 1Round-Robin
  2. 2Least-Connections
  3. 3Health Checks
  4. 4Ejecting Failing Backends
  5. 5Pluggable Strategy
Start step 1