MugUp logoMugUp
HomeBrowsePricingAboutBlogContact
LoginSign Up
© 2026 MugUp. All rights reserved.
HomeAboutDeck LibraryBlogChangelogContactFeature RequestsDeck Requests
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
1PlaySign in to clone

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.

Play 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. Compared with round robin, 'least connections' helps most when:

    • request durations vary widely from request to request
    • every backend is identical and every request costs the same
    • all traffic is UDP
    • the balancer operates only at layer 4
  2. 2. Which capability requires a layer 7 load balancer rather than layer 4?

    • Routing /api/* to one backend pool and /static/* to another
    • Distributing TCP connections across several backends
    • Forwarding traffic based on destination port
    • Spreading load evenly by round robin
  3. 3. The advantage of consistent hashing over hash(key) % N is that:

    • adding or removing one backend remaps only a small fraction of keys
    • it distributes keys perfectly evenly with no variance
    • it removes the need for health checks
    • it is significantly cheaper to compute
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. Handing requests to backends in strict rotation is the ___ robin algorithm.

    Answer:round

    Hint: Two words, first one missing

  2. 2. Routing a request based on its HTTP path or headers requires a layer ___ load balancer.

    Answer:7also: seven, L7

    Hint: The application layer

  3. 3. ___ hashing keeps most keys mapped to the same backend when one backend is added or removed.

    Answer:consistent

    Hint: Think of a hash ring

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
Round robin↔Requests handed out in strict rotation
Least connections↔Next request goes to the least busy backend
Weighted round robin↔Bigger machines take a larger share
7 more questions in this game

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

Sign up freeLog in