Try
↑ ↓ move↵ openesc close

Your progress

Saved in this browser. Nothing is sent anywhere unless you sign in, which keeps it in sync across devices.

7 of 18 donestamped
Topics completed
0/210
Quick checks answered
0/200
Answered correctly
0/0
Labs opened
0/30

Load balancing

  1. Why queues formNot yet
  2. Four ways to pick a serverNot yet
  3. Race four strategies on one arrival streamNot yet
  4. Why light load hides a bad balancerNot yet
  5. The knee in the queueing curveNot yet
  6. Fan-out turns a 1 percent tail into 63 percentNot yet
  7. Pick the strategy for the fleetNot yet

Caching and eviction

  1. Why a small cache works at allNot yet
  2. FIFO, LRU, LFU, and TinyLFUNot yet
  3. Move the hot keys under four policiesNot yet
  4. Why plain LFU stays stuck after a shiftNot yet
  5. How big a cache do you needNot yet
  6. When a hot key expiresNot yet
  7. Check the eviction rulesNot yet

Consistent hashing

  1. Why hash mod N hurtsNot yet
  2. The ring and virtual nodesNot yet
  3. Add a node to the ring and to mod NNot yet
  4. What the ring balances and what it leavesNot yet
  5. How many virtual nodes is enoughNot yet
  6. Rendezvous hashing and Maglev tablesNot yet
  7. Check ownership, balance and hot keysNot yet

Replication and lag

  1. One copy is not enoughNot yet
  2. Three ways to say yesNot yet
  3. Slow the network and kill the leaderNot yet
  4. When a leader crash loses acknowledged writesNot yet
  5. What the replication log actually containsNot yet
  6. How a follower falls hours behindNot yet
  7. Check the failover and lag casesNot yet

Quorums

  1. What if there is no leaderNot yet
  2. Overlap, and the k-th fastest replyNot yet
  3. Tune R and W against slow and dead replicasNot yet
  4. What R plus W above N still does not promiseNot yet
  5. Two writes at once, and which one winsNot yet
  6. Merkle trees, expiring hints, and deleted data coming backNot yet
  7. Check the quorum arithmeticNot yet

Partitioning

  1. Too much data, too many writesNot yet
  2. Range, hash, and splittingNot yet
  3. Split a hot range and compare layoutsNot yet
  4. When one key outruns every partitionNot yet
  5. Adding a node, and how requests find their partitionNot yet
  6. Looking up by the column you did not partition onNot yet
  7. Check the partitioning rulesNot yet

Queues as buffers

  1. Why put a buffer in the middleNot yet
  2. Capacity, full-queue policy and Little's lawNot yet
  3. Bursts against a 200-message bufferNot yet
  4. Why a bigger buffer only adds delayNot yet
  5. Watch the age of the oldest messageNot yet
  6. One slow message holds up the lineNot yet
  7. Sizing, waiting and dropping: three checksNot yet

Delivery guarantees

  1. The ack pointNot yet
  2. Three orders, and what exactly-once meansNot yet
  3. Crash a consumer around the ackNot yet
  4. Slow is not dead: duplicates without a crashNot yet
  5. Retry limits and the dead-letter queueNot yet
  6. Publishing without losing the eventNot yet
  7. Duplicates, timeouts and exactly once: three checksNot yet

Partitioned logs

  1. One line is not enoughNot yet
  2. Partitions, offsets and consumer groupsNot yet
  3. Four partitions, one hot key, one rebalanceNot yet
  4. When one partition cannot keep upNot yet
  5. How many partitions to createNot yet
  6. Where the commit goes decides the guaranteeNot yet
  7. Owners, order and commits: three checksNot yet

Rate limiting algorithms

  1. Why callers need a limitNot yet
  2. Five ways to countNot yet
  3. Race five limiters across a window edgeNot yet
  4. What each limiter admits at the edgeNot yet
  5. The sliding counter, worked by handNot yet
  6. Pricing requests and stacking limitsNot yet
  7. Choosing a limiter under pressureNot yet

Load shedding and backpressure

  1. A full server gets worse, not just slowerNot yet
  2. Four queues and four signalsNot yet
  3. Overload one server four waysNot yet
  4. A queue bound is only as good as its timeoutNot yet
  5. Deciding who gets shed firstNot yet
  6. Let the client throttle itselfNot yet
  7. Reading an overloaded dashboardNot yet

Retries, timeouts and circuit breakers

  1. When a retry makes it worseNot yet
  2. Backoff, jitter, budgets and breakersNot yet
  3. Break a dependency and compare six retry policiesNot yet
  4. Jitter spreads retries, only budgets and breakers cap themNot yet
  5. Hedging the slow tailNot yet
  6. Deadlines down the chain, keys across the retryNot yet
  7. Sizing the retry safety netNot yet

Failure detection

  1. Silence is all you getNot yet
  2. Heartbeats, timeouts and suspicionNot yet
  3. Slide one detector along its curveNot yet
  4. When a 600 ms pause beats the detectorNot yet
  5. Watching three hundred nodes without three hundred heartbeats eachNot yet
  6. Adding up a failover, and the storm a false alarm can startNot yet
  7. Check the ten-second timeoutNot yet

Raft consensus

  1. Agreeing when nodes failNot yet
  2. Elections, terms and the logNot yet
  3. Crash the leader and cut the clusterNot yet
  4. The leader nobody followsNot yet
  5. Walking a follower's log back to the leader'sNot yet
  6. Adding two nodes without ever having two majoritiesNot yet
  7. Check votes, logs and quorumsNot yet

Locks, leases and fencing

  1. The lock that liesNot yet
  2. Leases and fencing tokensNot yet
  3. Trusting storage against token storageNot yet
  4. What a 5-second lease and a clock check buyNot yet
  5. When the lock's safety depends on the clockNot yet
  6. Sessions, jeopardy and sequencers in a production lock serviceNot yet
  7. Check the stale writeNot yet

Percentiles and why averages lie

  1. Why the average liesNot yet
  2. Histograms, merging and honest load testsNot yet
  3. Average the hosts, widen the buckets, stop waitingNot yet
  4. When an averaged p99 is half the real oneNot yet
  5. How many requests stand behind a p99Not yet
  6. Turning latency into a good-events ratioNot yet
  7. Fifty hosts, one stall, one bucket choiceNot yet

Distributed tracing

  1. Why one request needs a traceNot yet
  2. Spans, context and the critical pathNot yet
  3. Reshape a service tree, then sample itNot yet
  4. When one slow call in a hundred reaches most requestsNot yet
  5. Traces that cross a queueNot yet
  6. What a tail sampler costs to runNot yet
  7. Off-path spans, 100 backends, keeping slow tracesNot yet

SLOs, error budgets and alerting

  1. Why "is it up?" is the wrong questionNot yet
  2. Burn rate and multi-window alertsNot yet
  3. Thirty days of outage, leak and noiseNot yet
  4. When the page is late, noisy or stuck openNot yet
  5. Your SLO cannot beat your dependenciesNot yet
  6. When one failed request is a pageNot yet
  7. Burn rate 10, two windows, three-minute burstsNot yet

B-trees and page writes

  1. A disk reads pages, not keysNot yet
  2. Walking down, splitting upNot yet
  3. Insert thousands of keys and count the pagesNot yet
  4. One small record, one whole pageNot yet
  5. The log lets the pages waitNot yet
  6. How often to write the pages outNot yet
  7. Pages, splits and the logNot yet

LSM trees and compaction

  1. Random writes are the expensive kindNot yet
  2. Memtable, SSTables and compactionNot yet
  3. Run leveled and tiered on the same writesNot yet
  4. What each policy costs youNot yet
  5. Why reads cost more hereNot yet
  6. When compaction cannot keep upNot yet
  7. Memtables, runs and amplificationNot yet

Indexes and Bloom filters

  1. Finding one row without reading them allNot yet
  2. Secondary indexes and Bloom filtersNot yet
  3. Tune a filter and add indexesNot yet
  4. Each index is a tax on every writeNot yet
  5. Bits per key against false positivesNot yet
  6. Where filters help and where they do notNot yet
  7. False positives, hashes and index costNot yet

Two-phase commit

  1. Half of a transferNot yet
  2. Prepare, then commitNot yet
  3. Crash a coordinator and count the locksNot yet
  4. The coordinator that does not come backNot yet
  5. Which timeout is safeNot yet
  6. Three phases, and why teams skip themNot yet
  7. Votes, blocking and timeoutsNot yet

Sagas and compensation

  1. An order that spans four servicesNot yet
  2. Steps, undos and the reverse orderNot yet
  3. Fail steps and watch readers see the middleNot yet
  4. Atomic in the end, visible in the middleNot yet
  5. One conductor or a chain of eventsNot yet
  6. When the undo cannot be doneNot yet
  7. Compensation, isolation and coordinationNot yet

Idempotency keys and the outbox

  1. The retry that charges twiceNot yet
  2. Keys and the dedup tableNot yet
  3. Retry, crash and publishNot yet
  4. Keys that expireNot yet
  5. Two writes and a crash between themNot yet
  6. Publishing twice on purposeNot yet
  7. Keys, the outbox and repeatsNot yet

CDNs and edge caching

  1. One origin, every userNot yet
  2. Hit, miss and the TTLNot yet
  3. Move the TTL and watch the originNot yet
  4. A noisy key, a cold edge, a stale pageNot yet
  5. Cache keys and purgingNot yet
  6. Stale while revalidate and the origin shieldNot yet
  7. Edge caches in reviewNot yet

DNS and traffic steering

  1. The address that will not changeNot yet
  2. The resolution path and the TTLNot yet
  3. Fail an endpoint and time the failoverNot yet
  4. Failover is detection plus the longest cacheNot yet
  5. Weighted and latency-based answersNot yet
  6. Anycast in wordsNot yet
  7. DNS in reviewNot yet

Connections and head-of-line blocking

  1. The cost before the first byteNot yet
  2. Handshakes and connection poolsNot yet
  3. Pool size, protocol and packet lossNot yet
  4. A pool that is too smallNot yet
  5. HTTP/1.1 against HTTP/2Not yet
  6. Head-of-line blocking and QUICNot yet
  7. Connections in reviewNot yet

Design a URL shortener

  1. A short link is a tiny key-value storeNot yet
  2. Requirements, numbers, API and data modelNot yet
  3. Make codes and follow them in the labNot yet
  4. Random codes meet the birthday boundNot yet
  5. Counter ranges, random codes or hashesNot yet
  6. Hot links, caches and 301 against 302Not yet
  7. The URL shortener in reviewNot yet

Design a news feed

  1. One post, a million timelinesNot yet
  2. Requirements, numbers, API and data modelNot yet
  3. Push, pull and hybrid in the labNot yet
  4. The celebrity problemNot yet
  5. The hybrid and its thresholdNot yet
  6. Feed storage and paginationNot yet
  7. The news feed in reviewNot yet

Design a chat system

  1. A message that must arrive once, in orderNot yet
  2. Requirements, numbers, API and data modelNot yet
  3. Break the network and watch deliveryNot yet
  4. Loss, resends and the order they createNot yet
  5. Gateways, connections and crashesNot yet
  6. Receipts, offline inboxes and presenceNot yet
  7. The chat system in reviewNot yet

Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms