Scale and reliability 0/11

Lesson 1 of 11

Load balancing

Spread requests over stateless servers with round robin, least connections or hashing, and health checks.

2,220 words · 10 min read Key topic Ultra Premium Useful background: How the web works, Back-of-envelope estimates

In this lesson

  1. The problem
  2. Where it sits
  3. Reaching the balancer
  4. Balance four servers
  5. Why two choices work
  6. Algorithms compared
  7. Health checks
  8. What stays true
  9. Common mistakes
  10. Related topics and practice

Ultra Premium

Unlock this lesson

Ultra Premium opens the 11 premium lessons in Scale and reliability, along with the rest of WhiteBox's premium lessons and problems.

Not ready yet? Read the free lesson: Backpressure