⚖️ How Load Balancers Work
Learn how load balancers distribute traffic, route by transport or application signals, remove unhealthy servers, and support reliable change.
What you’ll learn
- The Traffic ProblemExplain why several backend servers can share one public service address.A load balancer distributes arrivals across a pool while the application and its shared state still need their own design.
- Choosing a TargetDistinguish transport- and application-aware routing, then compare common target-selection algorithms.Layer 4 and Layer 7 make different information available; round robin is predictable, while weighted and least-load approaches adapt to capacity or current work.
- Health and FailureDescribe health checks, draining, and safe backend removal.Health signals control eligibility, and draining protects in-flight work during maintenance or scaling.
- Availability and Trade-offsConnect load-balancer scope, redundancy, state, and observability to reliable service.Regional and global routing add layers; resilient designs monitor the full path and match routing to protocol and state.
Questions this course answers
Which capability is most characteristic of Layer 7 load balancing?
Layer 7 balancers understand application information such as HTTP paths, hosts, headers, or cookies and can use it in routing rules.
Match each mechanism to its main job.
These mechanisms solve different problems: eligibility, distribution, and graceful change.
Why can a global DNS failover decision take time to reach every user?
Cached DNS answers can remain in use until their TTL or local policy allows another lookup, so DNS steering is not always immediate.
Grounded in trusted sources
- https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/how-elastic-load-balancing-works.html
- https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html
- https://learn.microsoft.com/en-us/azure/architecture/guide/technology-choices/load-balancing-overview
- https://learn.microsoft.com/en-us/azure/load-balancer/concepts
- https://nginx.org/en/docs/http/load_balancing.html
- https://developers.cloudflare.com/load-balancing/understand-basics/
Every Wunder lesson is built from real, reputable sources — never invented.
Related courses
Wunder is a personalized learn-anything platform — tell it any topic and it builds a beautiful, fact-checked course in minutes, with narration, a knowledge check, and a college-style University track.
© 2026 Wunder Learning LLC · Terms & Privacy