Skip to content
MetaStack
All categories

Traffic and reliability

Moving requests through a system without losing or repeating work: load balancing, rate limiting, queues and idempotency.

  1. availability

    Circuit breaker pattern for interviews

    Circuit breaker pattern for interviews. Closed, open, and half-open, what trips the breaker, honest fallback, and where it lives next to retries.

  2. fundamentalsdesigns

    Idempotency keys in system design

    Idempotency keys in system design. How a client retries a payment or a create without doubling the effect, and where the key has to be stored.

  3. fundamentalsdistributed-systems

    Load balancing for system design interviews

    Load balancing for system design interviews. Round robin, least connections, and consistent hashing, and when layer 4 and layer 7 change the answer.

  4. fundamentalsdistributed-systems

    Message queues for system design interviews

    Message queues for system design interviews. What a queue is for, how it differs from a log, and which delivery guarantee you should claim.

  5. fundamentalsdesigns

    Rate limiting for system design interviews

    Rate limiting for system design interviews. Token bucket, leaky bucket, and fixed windows, plus how a limit stays correct across more than one server.