awesome-everything RU
↑ Back to the climb

Networking & Protocols

Proxy and load balancing: free-recall review

Crux Free-recall prompts across the proxy and load-balancing unit. Answer each in your own words first, then reveal the model answer and compare.
Your altitude — climbing toward senior
ZeroJuniorMiddleSenior
You are at senior altitude — in orbit
◷ 14 min

Retrieval beats re-reading. For each prompt, say or write a full answer from memory before you open the model answer — the effort of recall is what makes the material stick.

Goal

Reconstruct the unit’s core mechanisms — the two-connection model, the algorithm tradeoffs, active vs passive health, consistent hashing, retry budgets, and the stateless-LB requirement — without looking back at the lessons.

Recall before you leave
  1. 01
    Why does an L7 reverse proxy open two TCP connections per request instead of forwarding packets at layer 3?
  2. 02
    Compare round-robin, least-connections, and power-of-two-choices on cost, fairness, and herding.
  3. 03
    Why do you need both active and passive health checks, and what does each miss alone?
  4. 04
    Why are sticky sessions an anti-pattern, and what is the correct fix? Contrast with consistent hashing.
  5. 05
    Explain retry amplification across microservice layers and the mitigations that bound it.
  6. 06
    Why must a load balancer behind anycast + BGP ECMP be effectively stateless, and how does Maglev relax that?
Recap

If you could reconstruct each answer from memory, you hold the unit’s spine: the two-connection model is what makes HTTP routing and health checks possible; power-of-two-choices is the fair O(1) default that beats both round-robin and least-connections; active plus passive health checks together cover crashes and silent 5xx; sticky sessions are a stateful-backend workaround that Redis replaces (consistent hashing is for cache locality, not sessions); retry budgets, circuit breakers, and jitter bound the cascade at 2× instead of 2^K; and statelessness is what lets anycast + ECMP turn the LB itself from a SPOF into a resilient cluster.

Continue the climb ↑Proxy and load balancing: config and code reading
shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources3
expand
  1. 01
  2. 02
  3. 03

Trademarks belong to their respective owners. Editorial reference only.