MugUp logoMugUp
HomeBrowseAboutBlog
LoginSign Up
MugUp

Plan your day, study, read, write and track your habits in one app.

Follow MugUp

Product

  • Features
  • Compare
  • Free Tools
  • Deck Library
  • MugUp for Discord

Community

  • Blog
  • Changelog
  • Feature Requests
  • Deck Requests

Company

  • Home
  • About
  • Contact

© 2026 MugUp. All rights reserved.

Terms of ServicePrivacy PolicyCookie Policy
  1. Browse decks
  2. System Design Fundamentals
  3. Load Balancing & Health Checks
Public deck

System Design Fundamentals

The building blocks of system design interviews and real distributed systems: scaling, load balancing, caching, data partitioning, consistency models and event-driven architecture. Every concept is presented as a trade-off, because that is how it is actually assessed.

Engineering
AShared by Alex Chen
1Sign in to add this deckTry itSign in to clone

Add it to your projects to study it here with your progress saved. Try it plays a round and saves nothing. Clone makes your own copy that you can change.

You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.

See the whole deck

Load Balancing & Health Checks

Balancing algorithms, layer 4 versus layer 7, and how health checking keeps a pool honest — including how a careless health check can take down an entire fleet.

Try this topicBack to deck

Content

38 total questions

MCQ: 9
Fill-in: 7
Flashcards: 12
Pair match: 10
Load Balancing & Health Checks – Flashcards
Flashcards

Card #1

Round robin

Card #2

Least connections

Card #3

Weighted round robin

9 more questions in this game

Showing 3 of 12. Sign up free to see the rest.

Sign up freeLog in
Load Balancing & Health Checks – MCQ
Multiple Choice Questions
  1. 1. A balancer picks two backends at random and sends the request to the less loaded one. Why does this work so well?

    • It avoids the worst hot spots almost as well as checking every backend
    • It guarantees that every backend receives exactly the same request count
    • It lets the balancer skip health checks, because busy servers are avoided
    • It keeps each client on the same backend without a cookie or any IP hash
  2. 2. A new backend joins a least-connections pool and is instantly flooded, because it has zero connections. Which feature prevents this?

    • Sticky sessions, which keep old clients on their old backends
    • Connection draining, which finishes in-flight requests first
    • Slow start, which ramps its share of traffic up over time
    • Anycast, which sends each client to the nearest backend site
  3. 3. Why do balancers require several failed checks in a row before removing a backend, and several passes before adding it back?

    • So the backend has time to restart itself between two probe intervals
    • So that the probe traffic stays below the backend's own rate limit
    • So the balancer can learn the backend's average response time first
    • So one slow probe cannot make a backend flap in and out of the pool
6 more questions in this game

Showing 3 of 9. Sign up free to see the rest.

Sign up freeLog in
Load Balancing & Health Checks – Fill-in-the-blank
Fill in the Blank
  1. 1. Kubernetes can run a ___ probe first, so a slow-booting app is not killed by its liveness probe while it starts.

    Answer:startupalso: start-up

    Hint: It runs while the app is starting

  2. 2. Balancing on a hash of the client ___ address piles traffic onto a few backends when many users share one corporate NAT.

    Answer:IPalso: IP address

    Hint: Two letters

  3. 3. An L7 balancer can send 5% of traffic to a new version and the rest to the old one, which is called a ___ release.

    Answer:canary

    Hint: A bird once taken down coal mines

4 more questions in this game

Showing 3 of 7. Sign up free to see the rest.

Sign up freeLog in
Load Balancing & Health Checks – Pair match
Pair Match
HAProxy↔Open-source TCP and HTTP balancer known for detailed stats
Envoy↔Proxy used as the standard sidecar in Istio
NGINX↔Web server often run as a reverse proxy in front of apps
7 more questions in this game

Showing 3 of 10. Sign up free to see the rest.

Sign up freeLog in