{"release":"b8a9017187d1","zones":[{"id":"Z0","name":"Depot","question":"How do I use this?"},{"id":"Z1","name":"Foundations","question":"How do computers and the internet really work?"},{"id":"Z2","name":"Building blocks","question":"What does each primitive do, cost, and break at?"},{"id":"Z3","name":"Patterns","question":"How do I solve one concern?"},{"id":"Z4","name":"Compositions","question":"How do patterns combine, and which styles exist?"},{"id":"Z5","name":"Systems","question":"How are whole products designed, and how did real ones evolve or fail?"},{"id":"Z6","name":"Mastery","question":"Can I analyse, defend and re-architect under pressure?"}],"domains":[{"id":"net","title":"Networking & Internet"},{"id":"compute","title":"Compute & Execution"},{"id":"scale","title":"Scalability & Performance"},{"id":"cache","title":"Caching & Delivery"},{"id":"data","title":"Data & Storage"},{"id":"consistency","title":"Consistency & Coordination"},{"id":"async","title":"Messaging & Events"},{"id":"resilience","title":"Resilience & Reliability"},{"id":"api","title":"APIs & Integration"},{"id":"security","title":"Security & Identity"},{"id":"ops","title":"Operations & Cost"},{"id":"method","title":"Design Method & Styles"}],"topics":[{"id":"core/architecture-styles","title":"Architecture styles","domain":"method"},{"id":"core/cache-fundamentals","title":"Cache fundamentals","domain":"cache"},{"id":"core/cache-strategies","title":"Cache strategies","domain":"cache"},{"id":"core/cloud-cost","title":"Cloud cost","domain":"ops"},{"id":"core/compute-basics","title":"Servers & capacity","domain":"compute"},{"id":"core/consistency-tradeoffs","title":"Consistency models & trade-offs","domain":"consistency"},{"id":"core/data-modeling","title":"Data modeling","domain":"data"},{"id":"core/data-partitioning","title":"Partitioning data","domain":"data"},{"id":"core/design-interview","title":"The design interview","domain":"method"},{"id":"core/fault-tolerance","title":"Fault tolerance","domain":"resilience"},{"id":"core/internet-basics","title":"Internet basics","domain":"net"},{"id":"core/load-distribution","title":"Spreading load","domain":"scale"},{"id":"core/messaging-basics","title":"Queues & background work","domain":"async"},{"id":"core/performance-basics","title":"Measuring performance","domain":"scale"},{"id":"core/reliability-basics","title":"Reliability basics","domain":"resilience"},{"id":"core/reliable-delivery","title":"Reliable delivery","domain":"async"},{"id":"core/scaling-strategies","title":"Scaling strategies","domain":"scale"},{"id":"core/storage-basics","title":"Storage basics","domain":"data"}],"concepts":{"core/access-patterns":{"id":"core/access-patterns","title":"Access patterns & denormalization","summary":"In a NoSQL store you design the data from the questions the app will ask, not from the entities alone. First list the access patterns — \"the latest 50 messages in a group\", \"this member's balance\" — then choose keys so each one is a single, cheap lookup. The partition key decides which items are stored together; the sort key keeps them in order inside that partition, so \"the latest N\" or \"this month's\" is one range read. Data read together is stored together, even if that means copying it — denormalization. Copies make reads cheap and writes expensive — every change must reach every copy, and each copy takes storage — so normalize what changes often and copy what is read often.","zone":"Z3","domain":"data","topic":"core/data-modeling","level":"bronze","requires":["core/nosql-families"],"requiredBy":[],"contrasts":[],"closure":["core/client-server","core/database-basics","core/nosql-families","core/relational-indexes"],"onLines":["core/data-line"],"teaches":["core/access-patterns-lesson"],"practices":[],"references":["core/data-model-lesson","core/discord-messages"],"testable":true},"core/api-design":{"id":"core/api-design","title":"API design","summary":"The API is the contract between clients and your system, and in an interview it's where the requirements become concrete — one or two endpoints per functional requirement, named by resource and HTTP method, with the request and response shapes, how lists page, and which writes a client may safely retry. Five or six lines are enough; they fix what the data model has to serve.","zone":"Z3","domain":"method","topic":"core/design-interview","level":"bronze","requires":["core/back-of-envelope"],"requiredBy":["core/data-model"],"contrasts":[],"closure":["core/back-of-envelope","core/interview-rubric","core/requirements"],"onLines":["core/interview-line"],"teaches":["core/api-design-lesson"],"practices":["core/case-payments","core/case-photo-feed","core/case-rate-limiter","core/case-url-shortener"],"references":["core/data-model-lesson","core/high-level-design-lesson"],"testable":true},"core/async-queue":{"id":"core/async-queue","title":"Async work with a queue","summary":"A queue lets the web tier hand slow side work, like notifying followers or sending email, to background workers and answer the user right away; the workers catch up at their own pace.","zone":"Z3","domain":"async","topic":"core/messaging-basics","level":"gold","requires":["core/tier-separation"],"requiredBy":["core/backpressure","core/load-leveling","core/microservices"],"contrasts":[],"closure":["core/client-server","core/database-basics","core/latency-and-percentiles","core/server-capacity","core/tier-separation"],"onLines":["core/async-line","core/scale-line"],"teaches":["core/async-queue-lesson"],"practices":["core/big-night","core/case-photo-feed","core/pixel-goes-viral"],"references":["core/autoscaling-lesson","core/backpressure-lesson","core/competing-consumers-lesson","core/delivery-semantics-lesson","core/littles-law-lesson","core/load-leveling-lesson","core/microservices-lesson","core/pub-sub-lesson"],"testable":true},"core/autoscale-economics":{"id":"core/autoscale-economics","title":"Autoscale economics","summary":"A fleet sized for the evening peak is paid for at peak size all day, even at 4 a.m. Autoscaling lets the bill follow the traffic instead — you pay for instance-hours, so fewer servers in quiet hours means a smaller bill. How much you save depends on how far the peak is above the average; flat traffic saves almost nothing. Every safety setting has a price — a higher minimum, more headroom and a slower scale-in all cost money, and a maximum caps the bill but turns away anything above it. Known peaks can be scheduled ahead of time, and the steady base that always runs can be bought cheaper with a long-term commitment.","zone":"Z3","domain":"ops","topic":"core/cloud-cost","level":"silver","requires":["core/autoscaling","core/cloud-billing"],"requiredBy":["core/serverless-vs-always-on"],"contrasts":["core/right-sizing"],"closure":["core/autoscaling","core/client-server","core/cloud-billing","core/database-basics","core/horizontal-scaling","core/latency-and-percentiles","core/load-balancer","core/server-capacity","core/tier-separation"],"onLines":["core/cost-line"],"teaches":["core/autoscale-economics-lesson"],"practices":["core/same-slo-half-the-bill"],"references":["core/serverless-vs-always-on-lesson"],"testable":true},"core/autoscaling":{"id":"core/autoscaling","title":"Autoscaling","summary":"Autoscaling adds servers when a metric such as CPU crosses a threshold and removes them when load falls, so capacity follows traffic instead of being sized for the peak all day.","zone":"Z3","domain":"scale","topic":"core/scaling-strategies","level":"gold","requires":["core/horizontal-scaling"],"requiredBy":["core/autoscale-economics"],"contrasts":["core/right-sizing"],"closure":["core/client-server","core/database-basics","core/horizontal-scaling","core/latency-and-percentiles","core/load-balancer","core/server-capacity","core/tier-separation"],"onLines":["core/scale-line"],"teaches":["core/autoscaling-lesson"],"practices":["core/case-photo-feed","core/pixel-goes-viral"],"references":["core/autoscale-economics-lesson","core/black-friday","core/competing-consumers-lesson","core/connection-pools-lesson","core/load-shedding-lesson","core/multi-az-lesson","core/same-slo-half-the-bill"],"testable":true},"core/back-of-envelope":{"id":"core/back-of-envelope","title":"Back-of-the-envelope estimates","summary":"A back-of-the-envelope estimate turns the requirements into the few numbers that shape a design — requests a second on average and at peak, how many reads per write, storage per year and bandwidth — in a couple of minutes, with round numbers and powers of ten. It only has to be right within a factor of ten. What it's for is the number that changes the design — when photos come to petabytes and their rows to terabytes, they don't belong in the same store.","zone":"Z2","domain":"method","topic":"core/design-interview","level":"bronze","requires":["core/requirements"],"requiredBy":["core/api-design"],"contrasts":[],"closure":["core/interview-rubric","core/requirements"],"onLines":["core/interview-line"],"teaches":["core/back-of-envelope-lesson"],"practices":["core/case-payments","core/case-photo-feed","core/case-pixel-launch","core/case-rate-limiter","core/case-url-shortener"],"references":["core/api-design-lesson","core/data-model-lesson","core/high-level-design-lesson"],"testable":true},"core/backpressure":{"id":"core/backpressure","title":"Backpressure","summary":"When a consumer can't keep up, backpressure carries a \"slow down\" signal back to the producer — typically a bounded queue that refuses new work when it is full — instead of letting an unbounded queue grow its delay and memory without limit.","zone":"Z3","domain":"resilience","topic":"core/fault-tolerance","level":"bronze","requires":["core/async-queue","core/load-shedding"],"requiredBy":[],"contrasts":["core/load-leveling"],"closure":["core/async-queue","core/client-server","core/database-basics","core/failure-modes","core/latency-and-percentiles","core/load-shedding","core/server-capacity","core/tier-separation","core/timeouts"],"onLines":["core/resilience-line"],"teaches":["core/backpressure-lesson"],"practices":[],"references":["core/load-leveling-lesson","core/rate-limiting-lesson","core/sale-day"],"testable":true},"core/bulkhead":{"id":"core/bulkhead","title":"Bulkhead","summary":"A bulkhead splits a system's resources — servers, connection pools, threads — into separate pools for different workloads or dependencies, so that when one pool fails or is overloaded, the others keep working.","zone":"Z3","domain":"resilience","topic":"core/fault-tolerance","level":"gold","requires":["core/timeouts","core/load-balancer"],"requiredBy":[],"contrasts":[],"closure":["core/client-server","core/failure-modes","core/latency-and-percentiles","core/load-balancer","core/server-capacity","core/timeouts"],"onLines":["core/resilience-line"],"teaches":["core/bulkhead-lesson"],"practices":["core/sale-day"],"references":["core/aws-s3-2017","core/load-shedding-lesson","core/rate-limiting-lesson"],"testable":true},"core/cache-aside":{"id":"core/cache-aside","title":"Cache-aside","summary":"The app checks the cache first; on a miss it reads the database and stores the result in the cache. Writes go to the database and expire or remove the cached copy.","why":"Put a cache in front of the database so most reads never reach it — and learn the two prices you pay for it.","zone":"Z3","domain":"cache","topic":"core/cache-strategies","level":"gold","requires":["core/cache-basics","core/database-basics"],"requiredBy":["core/cache-stampede","core/hot-keys","core/write-through"],"contrasts":["core/cdn","core/read-replicas"],"closure":["core/cache-basics","core/client-server","core/database-basics","core/latency-and-percentiles","core/memory-disk-network"],"onLines":["core/cache-line","core/scale-line"],"teaches":["core/cache-aside-lesson"],"practices":["core/case-pixel-launch","core/case-url-shortener","core/drill-hot-database","core/launch-day"],"references":["core/cache-basics-lesson","core/cache-invalidation-lesson","core/cache-stampede-lesson","core/cdn-lesson","core/facebook-2010","core/horizontal-scaling-lesson","core/instagram-14m","core/pixel-goes-viral","core/stop-the-loop","core/write-through-lesson"],"testable":true},"core/cache-basics":{"id":"core/cache-basics","title":"Cache basics: hit ratio, TTL, eviction","summary":"A cache keeps copies of often-used data in fast memory. Its value comes from the hit ratio; TTLs and eviction decide what stays and how stale it may get.","zone":"Z2","domain":"cache","topic":"core/cache-fundamentals","level":"bronze","requires":["core/memory-disk-network"],"requiredBy":["core/cache-aside","core/cdn"],"contrasts":[],"closure":["core/latency-and-percentiles","core/memory-disk-network"],"onLines":["core/cache-line"],"teaches":["core/cache-basics-lesson"],"practices":["core/case-url-shortener"],"references":["core/cache-aside-lesson","core/cdn-lesson","core/consistent-hashing-lesson","core/hot-keys-lesson","core/memory-disk-network-lesson","core/write-through-lesson"],"testable":true},"core/cache-invalidation":{"id":"core/cache-invalidation","title":"Cache invalidation","summary":"Invalidating means removing cached copies when the data behind them changes. Deleting the entry is simpler and safer than updating it in place, but the delete must reach every copy — each server's own cache, the shared cache, every key built from the changed data — and beat any slow read still carrying the old value. Whatever it misses stays stale until its TTL runs out; invalidating everything at once trades stale reads for a flood of misses.","zone":"Z3","domain":"cache","topic":"core/cache-strategies","level":"bronze","requires":["core/write-through"],"requiredBy":[],"contrasts":[],"closure":["core/cache-aside","core/cache-basics","core/client-server","core/database-basics","core/latency-and-percentiles","core/memory-disk-network","core/write-through"],"onLines":["core/cache-line"],"teaches":["core/cache-invalidation-lesson"],"practices":[],"references":["core/cache-stampede-lesson","core/write-through-lesson"],"testable":true},"core/cache-stampede":{"id":"core/cache-stampede","title":"Cache stampede","summary":"When a popular cached item expires, or the whole cache is flushed, many requests miss at once and hit the database together — which can overload it.","zone":"Z3","domain":"cache","topic":"core/cache-strategies","level":"gold","requires":["core/cache-aside"],"requiredBy":[],"contrasts":["core/hot-keys"],"closure":["core/cache-aside","core/cache-basics","core/client-server","core/database-basics","core/latency-and-percentiles","core/memory-disk-network"],"onLines":["core/cache-line"],"teaches":["core/cache-stampede-lesson"],"practices":["core/case-url-shortener","core/stop-the-loop"],"references":["core/cache-aside-lesson","core/cache-invalidation-lesson","core/case-pixel-launch","core/discord-messages","core/facebook-2010","core/hot-keys-lesson"],"testable":true},"core/cap-pacelc":{"id":"core/cap-pacelc","title":"CAP & PACELC","summary":"CAP says that when the network splits replicas apart, a store must choose — refuse some requests to stay consistent, or keep answering and risk old or conflicting data. It's often told as \"pick two of three\", but splits happen whether you pick them or not, so the real choice is only what to do during one. PACELC adds the everyday half — even with no split, a consistent answer across regions means waiting for a far copy (slower), and a fast one means a nearby copy that may be behind. Most stores let you make that choice per request.","zone":"Z3","domain":"consistency","topic":"core/consistency-tradeoffs","level":"gold","requires":["core/consistency-models"],"requiredBy":["core/quorums"],"contrasts":[],"closure":["core/client-server","core/consistency-models","core/database-basics","core/latency-and-percentiles","core/load-balancer","core/read-replicas","core/replication-lag","core/server-capacity","core/tier-separation"],"onLines":["core/consistency-line"],"teaches":["core/cap-pacelc-lesson"],"practices":["core/agree-on-the-balance"],"references":["core/amazon-dynamo","core/case-payments","core/quorums-lesson"],"testable":true},"core/capacity-math":{"id":"core/capacity-math","title":"Capacity math","summary":"Capacity math turns a peak load into the resources to provision — what each resource carries at that peak (CPU, connections in use, the database's connection limit), kept below its knee, with a spare for a lost server. The first resource to run out is the bottleneck, and a load test checks the estimate.","why":"Turn a peak load into the servers, pools and limits to provision — and find the bottleneck before launch day.","zone":"Z2","domain":"compute","topic":"core/compute-basics","level":"silver","requires":["core/connection-pools","core/server-capacity"],"requiredBy":[],"contrasts":[],"closure":["core/client-server","core/connection-pools","core/database-basics","core/latency-and-percentiles","core/littles-law","core/server-capacity"],"onLines":["core/machine-line"],"teaches":["core/capacity-math-lesson"],"practices":["core/find-the-bottleneck"],"references":["core/back-of-envelope-lesson"],"testable":true},"core/cdn":{"id":"core/cdn","title":"CDN (content delivery network)","summary":"A CDN keeps copies of static content on servers close to users, so most requests for images and assets never reach your origin — and arrive sooner.","zone":"Z3","domain":"cache","topic":"core/cache-strategies","level":"bronze","requires":["core/cache-basics","core/object-storage"],"requiredBy":["core/multi-region"],"contrasts":["core/cache-aside","core/multi-region"],"closure":["core/cache-basics","core/client-server","core/database-basics","core/horizontal-scaling","core/latency-and-percentiles","core/load-balancer","core/memory-disk-network","core/object-storage","core/server-capacity","core/tier-separation"],"onLines":["core/scale-line"],"teaches":["core/cdn-lesson"],"practices":[],"references":["core/multi-region-lesson","core/pixel-goes-viral"],"testable":true},"core/circuit-breaker":{"id":"core/circuit-breaker","title":"Circuit breaker","summary":"A circuit breaker watches calls to a dependency. After too many failures it opens and fails fast for a while, then lets a few trial calls through to check whether the dependency has recovered.","zone":"Z3","domain":"resilience","topic":"core/fault-tolerance","level":"gold","requires":["core/retries"],"requiredBy":["core/graceful-degradation","core/microservices"],"contrasts":["core/health-checks"],"closure":["core/client-server","core/failure-modes","core/latency-and-percentiles","core/retries","core/timeouts"],"onLines":["core/resilience-line"],"teaches":["core/circuit-breaker-lesson"],"practices":["core/flaky-payments"],"references":["core/bulkhead-lesson","core/cache-stampede-lesson","core/facebook-2010","core/failure-modes-lesson","core/graceful-degradation-lesson","core/health-checks-lesson","core/microservices-lesson","core/retries-lesson","core/stop-the-loop","core/timeouts-lesson"],"testable":true},"core/client-server":{"id":"core/client-server","title":"Client–server & request/response","summary":"A client sends a request over the network; a server does work and sends a response. Every hop adds latency and one more way to fail.","zone":"Z1","domain":"net","topic":"core/internet-basics","level":"stub","requires":[],"requiredBy":["core/database-basics","core/failure-modes","core/server-capacity"],"contrasts":[],"closure":[],"onLines":[],"teaches":[],"practices":[],"references":["core/failure-modes-lesson"],"testable":false},"core/cloud-billing":{"id":"core/cloud-billing","title":"How cloud billing works","summary":"The cloud bills by meters, and each kind of service has its own. A server is billed for every second it runs — whether it is busy, idle or stuck. A managed service such as a queue or a storage bucket is billed for what you use — per request, or per gigabyte. A serverless function is billed per call plus the memory it holds for as long as it runs, and costs nothing while nobody calls it. Around these sit smaller charges that are easy to miss — disks, addresses, logs and data sent out to the internet. To read a bill, find the meter behind each line; to estimate a month, multiply the hourly rate by about 730.","zone":"Z2","domain":"ops","topic":"core/cloud-cost","level":"bronze","requires":["core/server-capacity"],"requiredBy":["core/autoscale-economics","core/right-sizing"],"contrasts":[],"closure":["core/client-server","core/latency-and-percentiles","core/server-capacity"],"onLines":["core/cost-line"],"teaches":["core/cloud-billing-lesson"],"practices":[],"references":["core/autoscale-economics-lesson","core/right-sizing-lesson","core/same-slo-half-the-bill","core/serverless-vs-always-on-lesson"],"testable":true},"core/competing-consumers":{"id":"core/competing-consumers","title":"Competing consumers","summary":"Several workers take messages from one queue, and each message goes to whichever worker is free next. Adding workers raises throughput — until something they all share, such as an outside provider's cap or the database, becomes the bottleneck. Messages finish out of order, and a worker that crashes mid-message hands it back — it becomes visible again and another worker takes it, so a message can be processed twice.","zone":"Z3","domain":"async","topic":"core/messaging-basics","level":"gold","requires":["core/load-leveling"],"requiredBy":["core/delivery-semantics","core/pub-sub"],"contrasts":["core/pub-sub"],"closure":["core/async-queue","core/client-server","core/database-basics","core/latency-and-percentiles","core/load-leveling","core/server-capacity","core/tier-separation"],"onLines":["core/async-line"],"teaches":["core/competing-consumers-lesson"],"practices":["core/big-night"],"references":["core/dead-letter-queue-lesson","core/deliver-once","core/delivery-semantics-lesson","core/idempotent-consumer-lesson","core/load-leveling-lesson","core/pub-sub-lesson","core/segment-exactly-once"],"testable":true},"core/connection-pools":{"id":"core/connection-pools","title":"Connection pools","summary":"Opening a database connection is slow and costly, so a service keeps a pool of open connections and lends one to each request for as long as its database work takes. The pool caps how many requests talk to the database at once — connections in use ≈ requests per second × how long each holds one — so a slower database can drain the pool at unchanged traffic.","why":"A pool caps how many requests talk to the database at once — and a slow database can drain it at the same traffic.","zone":"Z2","domain":"compute","topic":"core/compute-basics","level":"silver","requires":["core/littles-law","core/database-basics"],"requiredBy":["core/capacity-math"],"contrasts":[],"closure":["core/client-server","core/database-basics","core/latency-and-percentiles","core/littles-law"],"onLines":["core/machine-line"],"teaches":["core/connection-pools-lesson"],"practices":["core/find-the-bottleneck"],"references":["core/access-patterns-lesson","core/capacity-math-lesson","core/littles-law-lesson","core/relational-indexes-lesson","core/replication-lag-lesson"],"testable":true},"core/consistency-models":{"id":"core/consistency-models","title":"Consistency models: strong to eventual","summary":"A consistency model is the promise a replicated store makes about what a read can return. At the top, linearizable (strong) — it behaves like one copy, so a read never misses a write that finished before it began. Below it come sequential, causal and finally eventual, which only promises the copies agree once writes stop. Session guarantees such as read-your-writes are smaller promises to one client. Every step up removes surprises but makes reads or writes wait longer and fail more often when machines can't reach each other.","zone":"Z3","domain":"consistency","topic":"core/consistency-tradeoffs","level":"gold","requires":["core/replication-lag"],"requiredBy":["core/cap-pacelc","core/distributed-rate-limiting","core/payment-ledger"],"contrasts":[],"closure":["core/client-server","core/database-basics","core/latency-and-percentiles","core/load-balancer","core/read-replicas","core/replication-lag","core/server-capacity","core/tier-separation"],"onLines":["core/consistency-line"],"teaches":["core/consistency-models-lesson"],"practices":["core/agree-on-the-balance","core/case-payments","core/case-rate-limiter"],"references":["core/amazon-dynamo","core/cap-pacelc-lesson","core/quorums-lesson"],"testable":true},"core/consistent-hashing":{"id":"core/consistent-hashing","title":"Consistent hashing","summary":"To find a key's shard, you hash the key. The simple way — hash mod the number of shards — breaks when that number changes, because almost every key lands on a different shard and the data must move. Consistent hashing puts shards and keys on a ring, and each key belongs to the next shard round the ring. Adding a shard then moves only the keys it takes over — about 1/N of them — and removing one hands on only its own keys. Giving each server many points on the ring (virtual nodes) keeps the slices even.","zone":"Z3","domain":"data","topic":"core/data-partitioning","level":"gold","requires":["core/sharding"],"requiredBy":["core/hot-keys"],"contrasts":[],"closure":["core/client-server","core/database-basics","core/horizontal-scaling","core/latency-and-percentiles","core/load-balancer","core/read-replicas","core/server-capacity","core/sharding","core/tier-separation"],"onLines":["core/scale-line"],"teaches":["core/consistent-hashing-lesson"],"practices":["core/celebrity-day"],"references":["core/case-rate-limiter","core/discord-messages","core/hot-keys-lesson"],"testable":true},"core/data-model":{"id":"core/data-model","title":"Data model","summary":"The data model turns the API into entities, relationships and keys, then picks a store by how the data is read and written. In an interview, list the entities the endpoints touch, mark the one-to-many and many-to-many links, write down the hot queries, choose a relational or key-based store to fit them, and name the key or index each query uses — including which field would be the partition key once one machine isn't enough. Copy data into the shape of the hottest read when assembling it on every request would be too slow.","zone":"Z3","domain":"method","topic":"core/design-interview","level":"bronze","requires":["core/api-design"],"requiredBy":["core/high-level-design"],"contrasts":[],"closure":["core/api-design","core/back-of-envelope","core/interview-rubric","core/requirements"],"onLines":["core/interview-line"],"teaches":["core/data-model-lesson"],"practices":["core/case-payments","core/case-photo-feed","core/case-rate-limiter","core/case-url-shortener"],"references":["core/high-level-design-lesson"],"testable":true},"core/database-basics":{"id":"core/database-basics","title":"Databases: the system of record","summary":"A database stores data durably and answers queries. It is usually the slowest and hardest part to scale, so most designs revolve around protecting it.","zone":"Z2","domain":"data","topic":"core/storage-basics","level":"stub","requires":["core/client-server"],"requiredBy":["core/cache-aside","core/connection-pools","core/relational-indexes","core/tier-separation"],"contrasts":[],"closure":["core/client-server"],"onLines":[],"teaches":[],"practices":[],"references":["core/cache-aside-lesson","core/cache-basics-lesson","core/relational-indexes-lesson","core/tier-separation-lesson"],"testable":false},"core/dead-letter-queue":{"id":"core/dead-letter-queue","title":"Poison messages & dead-letter queues","summary":"Redelivery saves a message from a crash, but a message that fails every time — malformed, or pointing at something that no longer exists — comes back forever, using worker time and calls on every round. A delivery limit stops the loop. After a set number of attempts the queue moves the message to a dead-letter queue, where it waits instead of being lost. A DLQ is a signal, not a bin. Alarm on any message landing there, find and fix the cause, then replay the messages slowly into consumers that can take a repeat.","zone":"Z3","domain":"async","topic":"core/reliable-delivery","level":"gold","requires":["core/idempotent-consumer"],"requiredBy":[],"contrasts":[],"closure":["core/async-queue","core/client-server","core/competing-consumers","core/database-basics","core/delivery-semantics","core/idempotent-consumer","core/latency-and-percentiles","core/load-leveling","core/server-capacity","core/tier-separation"],"onLines":["core/async-line"],"teaches":["core/dead-letter-queue-lesson"],"practices":["core/deliver-once"],"references":["core/case-payments","core/idempotent-consumer-lesson"],"testable":true},"core/delivery-semantics":{"id":"core/delivery-semantics","title":"Delivery guarantees: at most, at least, exactly once","summary":"A queue promises one of three things about each message. At most once — the consumer confirms before it works, so a crash in the middle loses the message. At least once — it confirms after the work, so nothing is lost but a crash, a lost confirm or a timeout runs the message again. Exactly once is what everyone wants, but between machines it is built, not given — at-least-once delivery plus a consumer that recognizes and drops repeats. So duplicates are normal, and the design question is what a loss or a repeat costs.","zone":"Z3","domain":"async","topic":"core/reliable-delivery","level":"gold","requires":["core/competing-consumers"],"requiredBy":["core/idempotent-consumer"],"contrasts":[],"closure":["core/async-queue","core/client-server","core/competing-consumers","core/database-basics","core/latency-and-percentiles","core/load-leveling","core/server-capacity","core/tier-separation"],"onLines":["core/async-line"],"teaches":["core/delivery-semantics-lesson"],"practices":["core/case-payments","core/deliver-once"],"references":["core/dead-letter-queue-lesson","core/idempotent-consumer-lesson","core/segment-exactly-once"],"testable":true},"core/failure-modes":{"id":"core/failure-modes","title":"Failure modes & availability","summary":"Components crash, slow down or return errors. Availability is the share of time a system works; dependencies in a chain multiply their availabilities, so every extra hop lowers the total.","zone":"Z2","domain":"resilience","topic":"core/reliability-basics","level":"bronze","requires":["core/client-server"],"requiredBy":["core/multi-region","core/timeouts"],"contrasts":[],"closure":["core/client-server"],"onLines":["core/resilience-line"],"teaches":["core/failure-modes-lesson"],"practices":[],"references":["core/aws-s3-2017","core/bulkhead-lesson","core/circuit-breaker-lesson","core/facebook-2010","core/flaky-payments","core/graceful-degradation-lesson","core/instagram-14m","core/load-leveling-lesson","core/multi-region-lesson","core/retries-lesson","core/timeouts-lesson"],"testable":true},"core/graceful-degradation":{"id":"core/graceful-degradation","title":"Graceful degradation","summary":"Graceful degradation keeps a service doing its core job when some of its dependencies fail, by giving up the parts that aren't essential. Each dependency is critical or optional. When an optional one fails — recommendations, reviews, a thumbnail — the page is shown without it, or with cached, stale or default data, instead of an error page. Under heavy load, a kill switch can turn optional features off to save capacity. Each failure needs a decided answer, fail open or fail closed, and the degraded path must be simple and exercised often, because a fallback that only runs during an outage is the one most likely to fail — or to move the load onto something else and bring it down.","zone":"Z4","domain":"resilience","topic":"core/fault-tolerance","level":"gold","requires":["core/circuit-breaker","core/load-shedding"],"requiredBy":[],"contrasts":["core/load-shedding"],"closure":["core/circuit-breaker","core/client-server","core/failure-modes","core/latency-and-percentiles","core/load-shedding","core/retries","core/server-capacity","core/timeouts"],"onLines":["core/resilience-line"],"teaches":["core/graceful-degradation-lesson"],"practices":["core/black-friday"],"references":["core/aws-s3-2017"],"testable":true},"core/health-checks":{"id":"core/health-checks","title":"Health checks and failover","summary":"A health check asks each server whether it can do useful work, so traffic stops going to the broken ones. What it tests matters. A shallow check only proves the process answers; a deep check also tries the server's dependencies, and when a shared dependency fails every server fails its check at once — the fleet empties and a partial outage becomes a full one. Detection takes the probe interval times the failure threshold, so a dead server still gets traffic for a while; tuning it faster makes healthy servers flap. A stateful primary can't simply be routed around — a standby has to be promoted, which takes downtime and must avoid two primaries at once.","zone":"Z3","domain":"resilience","topic":"core/fault-tolerance","level":"silver","requires":["core/load-balancer","core/timeouts"],"requiredBy":["core/multi-az"],"contrasts":["core/circuit-breaker"],"closure":["core/client-server","core/failure-modes","core/latency-and-percentiles","core/load-balancer","core/server-capacity","core/timeouts"],"onLines":["core/resilience-line"],"teaches":["core/health-checks-lesson"],"practices":["core/black-friday"],"references":["core/multi-az-lesson"],"testable":true},"core/high-level-design":{"id":"core/high-level-design","title":"High-level design","summary":"The high-level design is the first whole picture — the boxes a request passes through (client, CDN, load balancer, stateless app servers, cache, database, queue and workers, object storage) and the arrows between them. Draw it from the requirements, not from a template. Walk one read and one write through it, point to where each non-functional requirement is met, and mark the parts you'd go deeper on. Every box should answer to a requirement or a number.","zone":"Z4","domain":"method","topic":"core/design-interview","level":"bronze","requires":["core/data-model"],"requiredBy":[],"contrasts":[],"closure":["core/api-design","core/back-of-envelope","core/data-model","core/interview-rubric","core/requirements"],"onLines":["core/interview-line"],"teaches":["core/high-level-design-lesson"],"practices":["core/case-payments","core/case-photo-feed","core/case-pixel-launch","core/case-rate-limiter","core/case-url-shortener"],"references":[],"testable":true},"core/horizontal-scaling":{"id":"core/horizontal-scaling","title":"Horizontal scaling with a stateless tier","summary":"Run many identical, stateless app servers behind a load balancer. Capacity grows by adding servers, and losing one is survivable. State moves to shared stores.","why":"Add servers instead of a bigger server — and learn what state you must move out first.","zone":"Z3","domain":"scale","topic":"core/scaling-strategies","level":"gold","requires":["core/load-balancer","core/tier-separation"],"requiredBy":["core/autoscaling","core/multi-az","core/object-storage","core/sharding"],"contrasts":["core/server-capacity"],"closure":["core/client-server","core/database-basics","core/latency-and-percentiles","core/load-balancer","core/server-capacity","core/tier-separation"],"onLines":["core/scale-line"],"teaches":["core/horizontal-scaling-lesson"],"practices":["core/case-pixel-launch","core/case-url-shortener","core/launch-day"],"references":["core/async-queue-lesson","core/autoscaling-lesson","core/capacity-math-lesson","core/failure-modes-lesson","core/find-the-bottleneck","core/instagram-14m","core/keep-it-alive","core/load-balancer-lesson","core/multi-az-lesson","core/object-storage-lesson","core/orient-break-it","core/pixel-goes-viral","core/read-replicas-lesson","core/server-capacity-lesson","core/sharding-lesson","core/tier-separation-lesson"],"testable":true},"core/hot-keys":{"id":"core/hot-keys","title":"Hot keys","summary":"A good hash spreads keys evenly over the shards, but not requests. When a few keys get much of the traffic — a celebrity's profile, today's date — the shard that owns them is overloaded while the others sit idle, even though together they have room. Adding shards doesn't help, because every request for one key goes to the one shard that owns it. The fixes work on the key itself — cache its reads, split its writes over several sub-keys, or give it a server of its own — and each has a cost.","zone":"Z3","domain":"scale","topic":"core/load-distribution","level":"gold","requires":["core/consistent-hashing","core/cache-aside"],"requiredBy":[],"contrasts":["core/cache-stampede"],"closure":["core/cache-aside","core/cache-basics","core/client-server","core/consistent-hashing","core/database-basics","core/horizontal-scaling","core/latency-and-percentiles","core/load-balancer","core/memory-disk-network","core/read-replicas","core/server-capacity","core/sharding","core/tier-separation"],"onLines":["core/scale-line"],"teaches":["core/hot-keys-lesson"],"practices":["core/case-photo-feed","core/celebrity-day"],"references":["core/access-patterns-lesson","core/case-payments","core/case-rate-limiter","core/case-url-shortener","core/discord-messages"],"testable":true},"core/idempotent-consumer":{"id":"core/idempotent-consumer","title":"Idempotent consumer","summary":"Since a message can arrive twice, the consumer makes the second time harmless. The easiest way is work that is naturally safe to repeat — setting a status rather than adding to a count. Otherwise every message carries a stable key for the operation, and the consumer keeps a record of the keys it has handled, written in the same transaction as the work, so a repeat is spotted and skipped. Side effects outside that transaction, like sending a push or charging a card, need the key passed on to the provider. Keys are kept for longer than the broker could still redeliver.","zone":"Z3","domain":"async","topic":"core/reliable-delivery","level":"gold","requires":["core/delivery-semantics"],"requiredBy":["core/dead-letter-queue","core/payment-ledger"],"contrasts":[],"closure":["core/async-queue","core/client-server","core/competing-consumers","core/database-basics","core/delivery-semantics","core/latency-and-percentiles","core/load-leveling","core/server-capacity","core/tier-separation"],"onLines":["core/async-line"],"teaches":["core/idempotent-consumer-lesson"],"practices":["core/case-payments","core/deliver-once"],"references":["core/api-design-lesson","core/dead-letter-queue-lesson","core/delivery-semantics-lesson","core/segment-exactly-once"],"testable":true},"core/interview-rubric":{"id":"core/interview-rubric","title":"Interview & rubric","summary":"A system design interview is a 45-minute conversation in which you design a system out loud with an interviewer. There is no answer key. You're scored on how you get there — scoping the problem, estimating its size, shaping an architecture, going deep where it matters, defending trade-offs, and communicating the whole way. Split the minutes across those phases, steer the conversation yourself, and say your reasoning as you go.","zone":"Z1","domain":"method","topic":"core/design-interview","level":"bronze","requires":[],"requiredBy":["core/requirements"],"contrasts":[],"closure":[],"onLines":["core/interview-line"],"teaches":["core/interview-rubric-lesson"],"practices":["core/case-payments","core/case-photo-feed","core/case-pixel-launch","core/case-rate-limiter","core/case-url-shortener"],"references":["core/requirements-lesson"],"testable":true},"core/latency-and-percentiles":{"id":"core/latency-and-percentiles","title":"Latency & percentiles","summary":"Latency is how long one request takes. Percentiles (p50, p95, p99) describe the spread across many requests, and the slow tail is what users and calling services actually feel.","why":"Averages hide the slow requests your users remember — learn to read the tail, and what to do about it.","zone":"Z1","domain":"scale","topic":"core/performance-basics","level":"gold","requires":[],"requiredBy":["core/littles-law","core/memory-disk-network","core/server-capacity","core/timeouts"],"contrasts":[],"closure":[],"onLines":["core/scale-line"],"teaches":["core/latency-percentiles-lesson"],"practices":["core/case-photo-feed","core/drill-average-lies","core/drill-fan-out"],"references":["core/launch-day","core/littles-law-lesson","core/memory-disk-network-lesson","core/orient-dashboard","core/server-capacity-lesson","core/sharding-lesson","core/timeouts-lesson"],"testable":true},"core/littles-law":{"id":"core/littles-law","title":"Queueing & Little's law","summary":"Requests arrive, wait their turn and get served. Little's law ties three averages together — the number of requests inside a system equals the rate they arrive times how long each one stays — for a queue, a server, a pool or a whole service. A queue only settles while arrivals stay below what its server can serve.","why":"One formula tells you how many requests are in flight — and why a queue only settles below capacity.","zone":"Z1","domain":"compute","topic":"core/compute-basics","level":"bronze","requires":["core/latency-and-percentiles"],"requiredBy":["core/connection-pools"],"contrasts":[],"closure":["core/latency-and-percentiles"],"onLines":["core/machine-line"],"teaches":["core/littles-law-lesson"],"practices":[],"references":["core/connection-pools-lesson","core/find-the-bottleneck","core/serverless-vs-always-on-lesson"],"testable":true},"core/load-balancer":{"id":"core/load-balancer","title":"Load balancer","summary":"A load balancer spreads incoming requests across several servers and routes around unhealthy ones, so capacity can grow by adding machines.","why":"Spread requests over many servers so one failure is survivable and capacity grows by adding machines.","zone":"Z2","domain":"scale","topic":"core/load-distribution","level":"gold","requires":["core/server-capacity"],"requiredBy":["core/bulkhead","core/health-checks","core/horizontal-scaling","core/read-replicas"],"contrasts":[],"closure":["core/client-server","core/latency-and-percentiles","core/server-capacity"],"onLines":["core/scale-line"],"teaches":["core/load-balancer-lesson"],"practices":["core/case-pixel-launch","core/case-url-shortener","core/launch-day"],"references":["core/black-friday","core/bulkhead-lesson","core/capacity-math-lesson","core/find-the-bottleneck","core/health-checks-lesson","core/horizontal-scaling-lesson","core/instagram-14m","core/keep-it-alive","core/load-shedding-lesson","core/multi-region-lesson","core/object-storage-lesson","core/orient-break-it","core/orient-first-system","core/orient-traffic","core/pixel-goes-viral","core/read-replicas-lesson"],"testable":true},"core/load-leveling":{"id":"core/load-leveling","title":"Load leveling","summary":"A queue in front of a service with a fixed capacity — such as an outside provider that caps how fast you may send — lets that service work at its own steady rate. Peaks wait in the queue, so the service is sized for the average, not the peak. The price is delay — a peak leaves a backlog that drains only with the capacity left over from normal traffic.","zone":"Z3","domain":"async","topic":"core/messaging-basics","level":"silver","requires":["core/async-queue"],"requiredBy":["core/competing-consumers"],"contrasts":["core/backpressure","core/rate-limiting"],"closure":["core/async-queue","core/client-server","core/database-basics","core/latency-and-percentiles","core/server-capacity","core/tier-separation"],"onLines":["core/async-line"],"teaches":["core/load-leveling-lesson"],"practices":["core/big-night"],"references":["core/competing-consumers-lesson","core/pub-sub-lesson"],"testable":true},"core/load-shedding":{"id":"core/load-shedding","title":"Load shedding","summary":"When a server nears its capacity it starts turning away the excess requests with a fast, cheap error, so the requests it does accept still finish quickly — instead of slowing down for everyone until most requests time out.","zone":"Z3","domain":"resilience","topic":"core/fault-tolerance","level":"gold","requires":["core/timeouts","core/server-capacity"],"requiredBy":["core/backpressure","core/graceful-degradation","core/rate-limiting"],"contrasts":["core/graceful-degradation","core/rate-limiting"],"closure":["core/client-server","core/failure-modes","core/latency-and-percentiles","core/server-capacity","core/timeouts"],"onLines":["core/resilience-line"],"teaches":["core/load-shedding-lesson"],"practices":["core/case-rate-limiter","core/sale-day"],"references":["core/backpressure-lesson","core/graceful-degradation-lesson","core/health-checks-lesson","core/rate-limiting-lesson"],"testable":true},"core/memory-disk-network":{"id":"core/memory-disk-network","title":"Memory vs disk vs network","summary":"Reading from memory takes nanoseconds, from an SSD tens to hundreds of microseconds, from a spinning disk milliseconds — and a network round trip adds anything from a millisecond or two inside one region to well over a hundred between continents. The steps are not small, which is why a copy of hot data kept in memory, close to the code that reads it, pays off.","zone":"Z1","domain":"cache","topic":"core/cache-fundamentals","level":"bronze","requires":["core/latency-and-percentiles"],"requiredBy":["core/cache-basics"],"contrasts":[],"closure":["core/latency-and-percentiles"],"onLines":["core/cache-line"],"teaches":["core/memory-disk-network-lesson"],"practices":[],"references":["core/cache-basics-lesson","core/cap-pacelc-lesson"],"testable":true},"core/microservices":{"id":"core/microservices","title":"Microservices","summary":"Microservices split an app into small services that each own one business area and its data, and that can each be released, scaled and fixed on their own. The price is that every call between them crosses the network — it's slower, it can fail, and each extra service a request has to wait on adds its own delay and its own chance of failure. Running many services also needs serious automation and monitoring. They pay off for large teams on a well-understood domain; for a small team or a young product they're mostly cost.","zone":"Z5","domain":"method","topic":"core/architecture-styles","level":"gold","requires":["core/service-boundaries","core/circuit-breaker","core/async-queue"],"requiredBy":[],"contrasts":[],"closure":["core/async-queue","core/circuit-breaker","core/client-server","core/database-basics","core/failure-modes","core/latency-and-percentiles","core/modular-monolith","core/monolith","core/retries","core/server-capacity","core/service-boundaries","core/tier-separation","core/timeouts"],"onLines":["core/architecture-line"],"teaches":["core/microservices-lesson"],"practices":["core/drill-day-one-services","core/drill-tiny-services"],"references":["core/prime-video-monitoring"],"testable":true},"core/modular-monolith":{"id":"core/modular-monolith","title":"Modular monolith","summary":"A modular monolith is still deployed as one app, but its code is split into modules by business area — orders, payments, inventory — and each module keeps its internals private behind a public interface and owns its own tables. Other modules call that interface; they never reach into its code or its data. Tools check the rules on every change. You keep the simple single deploy and still get boundaries you could later turn into services.","zone":"Z4","domain":"method","topic":"core/architecture-styles","level":"gold","requires":["core/monolith"],"requiredBy":["core/service-boundaries"],"contrasts":[],"closure":["core/client-server","core/database-basics","core/latency-and-percentiles","core/monolith","core/server-capacity","core/tier-separation"],"onLines":["core/architecture-line"],"teaches":["core/modular-monolith-lesson"],"practices":["core/drill-red-check","core/drill-split-the-mess"],"references":["core/microservices-lesson","core/prime-video-monitoring","core/service-boundaries-lesson"],"testable":true},"core/monolith":{"id":"core/monolith","title":"Monolith","summary":"A monolith is an app built and deployed as one unit. Inside it, features call each other as plain function calls, share one database and can change together in one transaction, so it's simple to build, test, deploy and refactor. It starts to hurt when many teams share it — every change ships the whole thing, one team's release waits on another's, and the whole app has to scale together. Messy code is a separate problem; splitting it into services doesn't fix that.","zone":"Z4","domain":"method","topic":"core/architecture-styles","level":"gold","requires":["core/tier-separation"],"requiredBy":["core/modular-monolith"],"contrasts":[],"closure":["core/client-server","core/database-basics","core/latency-and-percentiles","core/server-capacity","core/tier-separation"],"onLines":["core/architecture-line"],"teaches":["core/monolith-lesson"],"practices":["core/drill-day-one-services","core/drill-split-the-mess"],"references":["core/microservices-lesson","core/modular-monolith-lesson","core/prime-video-monitoring","core/service-boundaries-lesson"],"testable":true},"core/multi-az":{"id":"core/multi-az","title":"Multi-AZ redundancy","summary":"An availability zone is a group of datacenters inside one region with its own power, cooling and network, a millisecond or two from its neighbors. Spreading every tier across two or three zones lets the app survive a zone failing — if the zones left already have the capacity to carry the load. Launching replacement servers after the loss is too slow and depends on the very systems that may be impaired, so statically stable designs over-provision ahead of time, for example three zones each sized so that any two carry everything. Stateful parts need their own zone redundancy, such as a database standby in a second zone. Zones share their region's fate, so they don't protect against a whole region going down.","zone":"Z3","domain":"resilience","topic":"core/fault-tolerance","level":"gold","requires":["core/health-checks","core/horizontal-scaling"],"requiredBy":[],"contrasts":["core/multi-region"],"closure":["core/client-server","core/database-basics","core/failure-modes","core/health-checks","core/horizontal-scaling","core/latency-and-percentiles","core/load-balancer","core/server-capacity","core/tier-separation","core/timeouts"],"onLines":["core/resilience-line"],"teaches":["core/multi-az-lesson"],"practices":["core/black-friday"],"references":["core/aws-s3-2017"],"testable":true},"core/multi-region":{"id":"core/multi-region","title":"Multi-region","summary":"Running the app in several cloud regions puts it near users on other continents and lets it survive a whole region going down. Copying the servers is the easy part; the data decides the design. Each region can keep a copy that is updated asynchronously — fast local reads and writes, but stale reads and conflicting writes between regions. Or replication can be synchronous, so every write waits for the far region. Or each user's data can live in one home region. Failover also needs spare capacity, because the surviving regions must carry the lost region's users.","zone":"Z4","domain":"scale","topic":"core/scaling-strategies","level":"bronze","requires":["core/sharding","core/cdn","core/failure-modes"],"requiredBy":[],"contrasts":["core/cdn","core/multi-az"],"closure":["core/cache-basics","core/cdn","core/client-server","core/database-basics","core/failure-modes","core/horizontal-scaling","core/latency-and-percentiles","core/load-balancer","core/memory-disk-network","core/object-storage","core/read-replicas","core/server-capacity","core/sharding","core/tier-separation"],"onLines":["core/scale-line"],"teaches":["core/multi-region-lesson"],"practices":[],"references":["core/aws-s3-2017","core/case-photo-feed","core/multi-az-lesson"],"testable":true},"core/nosql-families":{"id":"core/nosql-families","title":"NoSQL families","summary":"\"NoSQL\" names several different kinds of database that are not built around relational tables. A key-value store fetches one value by its key, very fast and nothing else. A document store keeps each record as a JSON-like document that can nest lists and objects, so one read returns a whole object. A wide-column store spreads huge, sparse tables across many machines and suits heavy write streams such as events or messages. A graph database stores nodes and the links between them and follows links quickly. Each one gives up some query freedom — ad-hoc joins, transactions across many items — to scale out and stay fast on the queries it was shaped for. NoSQL does not mean no schema, always faster, or no transactions.","zone":"Z3","domain":"data","topic":"core/data-modeling","level":"bronze","requires":["core/relational-indexes"],"requiredBy":["core/access-patterns"],"contrasts":["core/relational-indexes"],"closure":["core/client-server","core/database-basics","core/relational-indexes"],"onLines":["core/data-line"],"teaches":["core/nosql-families-lesson"],"practices":[],"references":["core/access-patterns-lesson","core/data-model-lesson","core/discord-messages"],"testable":true},"core/object-storage":{"id":"core/object-storage","title":"Object storage","summary":"Object storage keeps files such as photos and videos as whole objects behind an HTTP API, so app servers stay stateless and the files outlive any one server.","zone":"Z3","domain":"data","topic":"core/storage-basics","level":"gold","requires":["core/horizontal-scaling"],"requiredBy":["core/cdn"],"contrasts":[],"closure":["core/client-server","core/database-basics","core/horizontal-scaling","core/latency-and-percentiles","core/load-balancer","core/server-capacity","core/tier-separation"],"onLines":["core/scale-line"],"teaches":["core/object-storage-lesson"],"practices":["core/case-photo-feed","core/pixel-goes-viral"],"references":["core/api-design-lesson","core/cdn-lesson","core/data-model-lesson","core/high-level-design-lesson"],"testable":true},"core/pub-sub":{"id":"core/pub-sub","title":"Pub/sub fan-out","summary":"A publisher sends each message once to a topic, and the topic hands a copy to every subscription — unlike a queue, where each message goes to one consumer. The publisher doesn't know or wait for its subscribers, so adding one needs no change to it. Each subscription usually has its own queue, so a slow or failing subscriber falls behind alone. The cost is volume — N subscribers turn each message into N deliveries.","zone":"Z3","domain":"async","topic":"core/messaging-basics","level":"gold","requires":["core/competing-consumers"],"requiredBy":[],"contrasts":["core/competing-consumers"],"closure":["core/async-queue","core/client-server","core/competing-consumers","core/database-basics","core/latency-and-percentiles","core/load-leveling","core/server-capacity","core/tier-separation"],"onLines":["core/async-line"],"teaches":["core/pub-sub-lesson"],"practices":["core/big-night","core/case-photo-feed"],"references":["core/competing-consumers-lesson"],"testable":true},"core/quorums":{"id":"core/quorums","title":"Quorums: N, W, R","summary":"A quorum store keeps N copies of each item, a write counts as done once W copies confirm it, and a read asks R copies and keeps the newest answer. When W + R is more than N, every read overlaps every finished write on at least one copy, so it sees that write. Turning W and R down makes requests faster and more failure-tolerant, but lets reads miss recent writes. Even W + R > N isn't the strongest model by itself — stand-in copies, clashing writes and half-finished writes all leave gaps.","zone":"Z3","domain":"consistency","topic":"core/consistency-tradeoffs","level":"gold","requires":["core/cap-pacelc"],"requiredBy":[],"contrasts":[],"closure":["core/cap-pacelc","core/client-server","core/consistency-models","core/database-basics","core/latency-and-percentiles","core/load-balancer","core/read-replicas","core/replication-lag","core/server-capacity","core/tier-separation"],"onLines":["core/consistency-line"],"teaches":["core/quorums-lesson"],"practices":["core/agree-on-the-balance"],"references":["core/amazon-dynamo","core/case-payments"],"testable":true},"core/rate-limiting":{"id":"core/rate-limiting","title":"Rate limiting","summary":"A rate limit caps how many requests each client may send in a time window — commonly a token bucket with a steady rate and a burst allowance. Requests over the limit get a quick \"too many requests\" answer, which protects the service and shares it fairly between clients.","zone":"Z3","domain":"resilience","topic":"core/fault-tolerance","level":"gold","requires":["core/load-shedding","core/retries"],"requiredBy":["core/distributed-rate-limiting"],"contrasts":["core/load-leveling","core/load-shedding"],"closure":["core/client-server","core/failure-modes","core/latency-and-percentiles","core/load-shedding","core/retries","core/server-capacity","core/timeouts"],"onLines":["core/resilience-line"],"teaches":["core/rate-limiting-lesson"],"practices":["core/case-rate-limiter","core/sale-day"],"references":["core/backpressure-lesson","core/big-night","core/cache-stampede-lesson","core/load-leveling-lesson","core/stop-the-loop"],"testable":true},"core/read-replicas":{"id":"core/read-replicas","title":"Read replicas","summary":"Read replicas are copies of the database that serve reads, so a read-heavy app can add read capacity while every write still goes to one primary.","zone":"Z3","domain":"data","topic":"core/storage-basics","level":"gold","requires":["core/tier-separation","core/load-balancer"],"requiredBy":["core/replication-lag","core/sharding"],"contrasts":["core/cache-aside","core/sharding"],"closure":["core/client-server","core/database-basics","core/latency-and-percentiles","core/load-balancer","core/server-capacity","core/tier-separation"],"onLines":["core/data-line","core/scale-line"],"teaches":["core/read-replicas-lesson"],"practices":["core/case-photo-feed","core/pixel-goes-viral","core/read-your-own-writes"],"references":["core/autoscaling-lesson","core/celebrity-day","core/multi-region-lesson","core/replication-lag-lesson","core/sharding-lesson"],"testable":true},"core/relational-indexes":{"id":"core/relational-indexes","title":"Relational databases & indexes","summary":"A relational database keeps data in tables — rows with the same named columns — and links tables by keys, so one fact is stored once and SQL joins rows back together when you read. Without an index, finding a row means scanning the whole table; a B-tree index keeps the column sorted, so the database jumps to the row in a few page reads, even among millions. Indexes are not free — every insert, update and delete must also update each index, and each one takes disk space. A multi-column index helps only queries that use its leftmost columns, and EXPLAIN shows whether a query really uses the index or scans.","zone":"Z2","domain":"data","topic":"core/data-modeling","level":"bronze","requires":["core/database-basics"],"requiredBy":["core/nosql-families"],"contrasts":["core/nosql-families"],"closure":["core/client-server","core/database-basics"],"onLines":["core/data-line"],"teaches":["core/relational-indexes-lesson"],"practices":["core/case-payments","core/case-url-shortener"],"references":["core/data-model-lesson","core/nosql-families-lesson","core/read-your-own-writes"],"testable":true},"core/replication-lag":{"id":"core/replication-lag","title":"Replication lag & read-your-writes","summary":"Read replicas apply the primary's changes a little later — usually milliseconds to a second, but longer when writes surge, a replica is busy or a transaction is big, and with no fixed upper limit. A read that lands on a replica in that gap returns stale data, such as an expense you just added missing from the list. Read-your-writes is the promise that you always see your own changes; apps get it by sending a user's reads to the primary for a short while after they write, or by remembering the position of their last write and reading only from a replica that has caught up to it. Synchronous replication closes the gap but makes every commit wait for the replica.","zone":"Z3","domain":"data","topic":"core/storage-basics","level":"silver","requires":["core/read-replicas"],"requiredBy":["core/consistency-models"],"contrasts":[],"closure":["core/client-server","core/database-basics","core/latency-and-percentiles","core/load-balancer","core/read-replicas","core/server-capacity","core/tier-separation"],"onLines":["core/data-line"],"teaches":["core/replication-lag-lesson"],"practices":["core/read-your-own-writes"],"references":["core/agree-on-the-balance","core/consistency-models-lesson"],"testable":true},"core/requirements":{"id":"core/requirements","title":"Requirements and scope","summary":"Before designing, pin down what the system must do — the few features in scope (functional requirements) — and how well it must do them — scale, latency, availability, consistency, durability (non-functional). Ask the questions whose answers would change the design, write the answers down as numbers, and list what you're leaving out. \"Fast and scalable\" isn't a requirement; \"99% of album opens under 300 ms at 2 million daily users\" is.","zone":"Z1","domain":"method","topic":"core/design-interview","level":"bronze","requires":["core/interview-rubric"],"requiredBy":["core/back-of-envelope"],"contrasts":[],"closure":["core/interview-rubric"],"onLines":["core/interview-line"],"teaches":["core/requirements-lesson"],"practices":["core/case-payments","core/case-photo-feed","core/case-rate-limiter","core/case-url-shortener"],"references":["core/api-design-lesson","core/back-of-envelope-lesson","core/high-level-design-lesson"],"testable":true},"core/retries":{"id":"core/retries","title":"Retries with backoff and jitter","summary":"Retrying a failed call turns a brief glitch into a success — but every retry is extra load on a dependency that may already be struggling, so retry only what is safe to repeat, a few times, waiting longer each time with some randomness.","zone":"Z3","domain":"resilience","topic":"core/fault-tolerance","level":"bronze","requires":["core/timeouts"],"requiredBy":["core/circuit-breaker","core/rate-limiting"],"contrasts":[],"closure":["core/client-server","core/failure-modes","core/latency-and-percentiles","core/timeouts"],"onLines":["core/resilience-line"],"teaches":["core/retries-lesson"],"practices":[],"references":["core/backpressure-lesson","core/black-friday","core/bulkhead-lesson","core/case-payments","core/circuit-breaker-lesson","core/dead-letter-queue-lesson","core/flaky-payments","core/load-shedding-lesson","core/rate-limiting-lesson"],"testable":true},"core/right-sizing":{"id":"core/right-sizing","title":"Right-sizing","summary":"A server is billed for its size, not for how busy it is, so a big machine running at 10% is mostly paying for nothing. Right-sizing means measuring what each resource really uses — CPU and memory, at its busiest moments, over days or weeks — and moving it to the smallest size that still carries that peak with room to spare. Within one instance family, a smaller size usually costs less and runs busier for the same load — so the risk is cutting into the headroom. Done well, it is the cheapest saving there is; done from averages, or from CPU alone, it causes the next outage.","zone":"Z3","domain":"ops","topic":"core/cloud-cost","level":"silver","requires":["core/cloud-billing"],"requiredBy":[],"contrasts":["core/autoscale-economics","core/autoscaling"],"closure":["core/client-server","core/cloud-billing","core/latency-and-percentiles","core/server-capacity"],"onLines":["core/cost-line"],"teaches":["core/right-sizing-lesson"],"practices":["core/same-slo-half-the-bill"],"references":["core/autoscale-economics-lesson"],"testable":true},"core/server-capacity":{"id":"core/server-capacity","title":"Server capacity & scaling up","summary":"A server can only do so much work per second. As utilization nears 100%, requests queue and latency shoots up. A bigger machine buys headroom until the biggest one runs out.","why":"Every server has a ceiling, and latency explodes well before you reach it — learn where the knee is.","zone":"Z2","domain":"compute","topic":"core/compute-basics","level":"gold","requires":["core/latency-and-percentiles","core/client-server"],"requiredBy":["core/capacity-math","core/cloud-billing","core/load-balancer","core/load-shedding","core/tier-separation"],"contrasts":["core/horizontal-scaling"],"closure":["core/client-server","core/latency-and-percentiles"],"onLines":["core/machine-line","core/scale-line"],"teaches":["core/server-capacity-lesson"],"practices":["core/case-pixel-launch","core/case-url-shortener","core/drill-out-of-memory","core/launch-day"],"references":["core/async-queue-lesson","core/autoscaling-lesson","core/big-night","core/capacity-math-lesson","core/celebrity-day","core/cloud-billing-lesson","core/connection-pools-lesson","core/find-the-bottleneck","core/horizontal-scaling-lesson","core/instagram-14m","core/keep-it-alive","core/latency-percentiles-lesson","core/load-balancer-lesson","core/load-shedding-lesson","core/object-storage-lesson","core/orient-dashboard","core/orient-first-system","core/orient-traffic","core/rate-limiting-lesson","core/right-sizing-lesson","core/sale-day","core/same-slo-half-the-bill","core/tier-separation-lesson"],"testable":true},"core/serverless-vs-always-on":{"id":"core/serverless-vs-always-on","title":"Serverless vs always-on","summary":"A serverless function is billed per call and for the memory it holds while it runs, so with no traffic it costs nothing. A server is billed every hour it exists, busy or not. At low or bursty traffic the function wins easily; at steady high traffic the per-call price adds up, and there is a request rate above which one always-on server is cheaper. The function's other costs show up as behaviour — after a quiet spell the first calls wait for a cold start, too many calls at once get throttled, and a call that hangs until its timeout is billed for the full time. Keeping functions warm removes cold starts, but brings back a bill for idle time.","zone":"Z4","domain":"ops","topic":"core/cloud-cost","level":"bronze","requires":["core/autoscale-economics"],"requiredBy":[],"contrasts":[],"closure":["core/autoscale-economics","core/autoscaling","core/client-server","core/cloud-billing","core/database-basics","core/horizontal-scaling","core/latency-and-percentiles","core/load-balancer","core/server-capacity","core/tier-separation"],"onLines":["core/cost-line"],"teaches":["core/serverless-vs-always-on-lesson"],"practices":[],"references":[],"testable":true},"core/service-boundaries":{"id":"core/service-boundaries","title":"Service boundaries","summary":"Where you cut a system decides whether its services can really work on their own. Good cuts follow business areas — each with its own words and data model, like payments or inventory — keep things that change together inside one service, and give each service sole ownership of its data. Bad cuts show up as two services that call each other constantly, changes that need a transaction across services, or services that must be deployed together — a distributed monolith. Team structure pulls the same way — systems end up shaped like the teams that build them.","zone":"Z4","domain":"method","topic":"core/architecture-styles","level":"gold","requires":["core/modular-monolith"],"requiredBy":["core/microservices"],"contrasts":[],"closure":["core/client-server","core/database-basics","core/latency-and-percentiles","core/modular-monolith","core/monolith","core/server-capacity","core/tier-separation"],"onLines":["core/architecture-line"],"teaches":["core/service-boundaries-lesson"],"practices":["core/drill-red-check","core/drill-tiny-services"],"references":["core/microservices-lesson","core/prime-video-monitoring"],"testable":true},"core/sharding":{"id":"core/sharding","title":"Sharding","summary":"Sharding splits one database's rows across several databases, called shards. Each shard has the same tables but holds only its own slice of the data, picked by a shard key such as the user id. Unlike read replicas, which copy everything, each shard takes only its own share of the writes and storage, so writes can grow with the number of shards. The price is that every request needs its shard key, and a question that spans shards — or a transaction across them — gets slow and hard.","zone":"Z3","domain":"data","topic":"core/data-partitioning","level":"gold","requires":["core/read-replicas","core/horizontal-scaling"],"requiredBy":["core/consistent-hashing","core/distributed-ids","core/multi-region"],"contrasts":["core/read-replicas"],"closure":["core/client-server","core/database-basics","core/horizontal-scaling","core/latency-and-percentiles","core/load-balancer","core/read-replicas","core/server-capacity","core/tier-separation"],"onLines":["core/scale-line"],"teaches":["core/sharding-lesson"],"practices":["core/case-photo-feed","core/celebrity-day"],"references":["core/case-url-shortener","core/consistent-hashing-lesson","core/data-model-lesson","core/discord-messages","core/hot-keys-lesson","core/multi-region-lesson"],"testable":true},"core/tier-separation":{"id":"core/tier-separation","title":"Split app and database tiers","summary":"Moving the database onto its own server lets the app and data tiers be sized, scaled and replaced independently — the first step from one box to a system.","why":"Give the database its own server so each half can grow, fail and change on its own.","zone":"Z3","domain":"scale","topic":"core/scaling-strategies","level":"gold","requires":["core/server-capacity","core/database-basics"],"requiredBy":["core/async-queue","core/horizontal-scaling","core/monolith","core/read-replicas"],"contrasts":[],"closure":["core/client-server","core/database-basics","core/latency-and-percentiles","core/server-capacity"],"onLines":["core/scale-line"],"teaches":["core/tier-separation-lesson"],"practices":["core/case-pixel-launch","core/case-url-shortener","core/launch-day"],"references":["core/async-queue-lesson","core/horizontal-scaling-lesson","core/memory-disk-network-lesson","core/monolith-lesson","core/read-replicas-lesson"],"testable":true},"core/timeouts":{"id":"core/timeouts","title":"Timeouts","summary":"A timeout caps how long a caller waits for a dependency. Without one, a slow dependency ties up threads and connections until the caller fails too.","zone":"Z3","domain":"resilience","topic":"core/fault-tolerance","level":"bronze","requires":["core/failure-modes","core/latency-and-percentiles"],"requiredBy":["core/bulkhead","core/health-checks","core/load-shedding","core/retries"],"contrasts":[],"closure":["core/client-server","core/failure-modes","core/latency-and-percentiles"],"onLines":["core/resilience-line"],"teaches":["core/timeouts-lesson"],"practices":[],"references":["core/bulkhead-lesson","core/circuit-breaker-lesson","core/failure-modes-lesson","core/flaky-payments","core/load-shedding-lesson","core/microservices-lesson","core/retries-lesson"],"testable":true},"core/write-through":{"id":"core/write-through","title":"Read-through & write-through","summary":"In read-through, the cache itself loads a missing item from the database. In write-through, each write goes to the database and the cache together and is confirmed only once both have it — so a read straight after a write gets the new value, at the price of slower writes and memory spent on data nobody may read. Write-around writes the database alone and leaves the cache to load the item on its next miss.","zone":"Z3","domain":"cache","topic":"core/cache-strategies","level":"bronze","requires":["core/cache-aside"],"requiredBy":["core/cache-invalidation"],"contrasts":[],"closure":["core/cache-aside","core/cache-basics","core/client-server","core/database-basics","core/latency-and-percentiles","core/memory-disk-network"],"onLines":["core/cache-line"],"teaches":["core/write-through-lesson"],"practices":[],"references":["core/cache-invalidation-lesson"],"testable":true}},"objects":{"core/access-patterns-lesson":{"id":"core/access-patterns-lesson","kind":"lesson","title":"Access patterns & denormalization","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/nosql-families","core/connection-pools","core/hot-keys"],"teaches":["core/access-patterns"]}},"core/agree-on-the-balance":{"id":"core/agree-on-the-balance","kind":"kata","title":"Agree on the balance","access":"premium","difficulty":"medium","estMinutes":15,"concepts":{"practices":["core/quorums","core/cap-pacelc","core/consistency-models"],"references":["core/replication-lag"],"teaches":[]},"blurb":"Ledger’s balance checks must stay right while copies drop out"},"core/amazon-dynamo":{"id":"core/amazon-dynamo","kind":"story","title":"Amazon Dynamo: a shopping cart that never says no","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/quorums","core/cap-pacelc","core/consistency-models"],"teaches":[]}},"core/api-design-lesson":{"id":"core/api-design-lesson","kind":"lesson","title":"API design: one line per requirement","access":"premium","difficulty":"easy","estMinutes":12,"concepts":{"practices":[],"references":["core/requirements","core/back-of-envelope","core/idempotent-consumer","core/object-storage"],"teaches":["core/api-design"]}},"core/async-queue-lesson":{"id":"core/async-queue-lesson","kind":"lesson","title":"A queue for work that can wait","access":"anon","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/tier-separation","core/horizontal-scaling","core/server-capacity"],"teaches":["core/async-queue"]}},"core/autoscale-economics-lesson":{"id":"core/autoscale-economics-lesson","kind":"lesson","title":"Autoscale economics","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/autoscaling","core/cloud-billing","core/right-sizing"],"teaches":["core/autoscale-economics"]}},"core/autoscaling-lesson":{"id":"core/autoscaling-lesson","kind":"lesson","title":"Autoscaling that keeps up","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/horizontal-scaling","core/server-capacity","core/async-queue","core/read-replicas"],"teaches":["core/autoscaling"]}},"core/aws-s3-2017":{"id":"core/aws-s3-2017","kind":"incident","title":"Amazon S3, 2017: one command and a region of services","access":"premium","difficulty":"medium","estMinutes":15,"concepts":{"practices":[],"references":["core/graceful-degradation","core/bulkhead","core/multi-az","core/multi-region","core/failure-modes"],"teaches":[]}},"core/back-of-envelope-lesson":{"id":"core/back-of-envelope-lesson","kind":"lesson","title":"Back-of-the-envelope: find the number that matters","access":"premium","difficulty":"easy","estMinutes":12,"concepts":{"practices":[],"references":["core/requirements","core/capacity-math"],"teaches":["core/back-of-envelope"]}},"core/backpressure-lesson":{"id":"core/backpressure-lesson","kind":"lesson","title":"Backpressure — a queue that says no","access":"premium","difficulty":"medium","estMinutes":11,"concepts":{"practices":[],"references":["core/load-shedding","core/async-queue","core/retries","core/rate-limiting"],"teaches":["core/backpressure"]}},"core/big-night":{"id":"core/big-night","kind":"kata","title":"Notify’s big night","access":"premium","difficulty":"medium","estMinutes":25,"concepts":{"practices":["core/async-queue","core/load-leveling","core/competing-consumers","core/pub-sub"],"references":["core/server-capacity","core/rate-limiting"],"teaches":[]},"blurb":"150 posts a second to push and email, one night"},"core/black-friday":{"id":"core/black-friday","kind":"kata","title":"Black Friday","access":"premium","difficulty":"hard","estMinutes":30,"concepts":{"practices":["core/multi-az","core/graceful-degradation","core/health-checks"],"references":["core/load-balancer","core/autoscaling","core/retries"],"teaches":[]},"blurb":"Checkout loses a whole zone at second 40"},"core/bulkhead-lesson":{"id":"core/bulkhead-lesson","kind":"lesson","title":"Bulkhead — walls between workloads","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/failure-modes","core/timeouts","core/load-balancer","core/circuit-breaker","core/retries"],"teaches":["core/bulkhead"]}},"core/cache-aside-lesson":{"id":"core/cache-aside-lesson","kind":"lesson","title":"Cache-aside","access":"free","difficulty":"easy","estMinutes":10,"concepts":{"practices":[],"references":["core/cache-basics","core/database-basics","core/cache-stampede"],"teaches":["core/cache-aside"]},"art":{"alt":"A database cylinder with a small tray of blocks at its foot","image":"cache-aside"}},"core/cache-basics-lesson":{"id":"core/cache-basics-lesson","kind":"lesson","title":"Cache basics — hit ratio, TTL, eviction","access":"premium","difficulty":"easy","estMinutes":12,"concepts":{"practices":[],"references":["core/memory-disk-network","core/cache-aside","core/database-basics"],"teaches":["core/cache-basics"]},"art":{"alt":"A small tray of blocks sitting in front of a larger one","image":"cache-basics"}},"core/cache-invalidation-lesson":{"id":"core/cache-invalidation-lesson","kind":"lesson","title":"Cache invalidation","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/cache-aside","core/write-through","core/cache-stampede"],"teaches":["core/cache-invalidation"]},"art":{"alt":"A block lifted away from a tray by a dashed arrow","image":"cache-invalidation"}},"core/cache-stampede-lesson":{"id":"core/cache-stampede-lesson","kind":"lesson","title":"Cache stampede","access":"premium","difficulty":"medium","estMinutes":11,"concepts":{"practices":[],"references":["core/cache-invalidation","core/cache-aside","core/rate-limiting","core/circuit-breaker"],"teaches":["core/cache-stampede"]},"art":{"alt":"Many dots sending lines at one database at once","image":"cache-stampede"}},"core/cap-pacelc-lesson":{"id":"core/cap-pacelc-lesson","kind":"lesson","title":"CAP & PACELC","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/consistency-models","core/memory-disk-network"],"teaches":["core/cap-pacelc"]}},"core/capacity-math-lesson":{"id":"core/capacity-math-lesson","kind":"lesson","title":"Capacity math — sizing for the rush","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/server-capacity","core/connection-pools","core/load-balancer","core/horizontal-scaling"],"teaches":["core/capacity-math"]},"art":{"alt":"Three bars, each partly filled from the bottom","image":"capacity-math"}},"core/case-payments":{"id":"core/case-payments","kind":"case","title":"Design it: payments","access":"premium","difficulty":"hard","estMinutes":60,"concepts":{"practices":["core/interview-rubric","core/requirements","core/back-of-envelope","core/api-design","core/data-model","core/high-level-design","core/idempotent-consumer","core/delivery-semantics","core/consistency-models","core/relational-indexes"],"references":["core/payment-ledger","core/hot-keys","core/retries","core/dead-letter-queue","core/quorums","core/cap-pacelc"],"teaches":[]},"domain":"consistency"},"core/case-photo-feed":{"id":"core/case-photo-feed","kind":"case","title":"Design it: Pixel’s photo feed","access":"premium","difficulty":"hard","estMinutes":95,"concepts":{"practices":["core/interview-rubric","core/requirements","core/back-of-envelope","core/api-design","core/data-model","core/high-level-design","core/pub-sub","core/async-queue","core/sharding","core/hot-keys","core/latency-and-percentiles","core/object-storage","core/read-replicas","core/autoscaling"],"references":["core/multi-region"],"teaches":[]},"domain":"scale"},"core/case-pixel-launch":{"id":"core/case-pixel-launch","kind":"case","title":"Design it: Pixel's launch day","access":"premium","difficulty":"hard","estMinutes":75,"concepts":{"practices":["core/interview-rubric","core/back-of-envelope","core/high-level-design","core/server-capacity","core/tier-separation","core/load-balancer","core/horizontal-scaling","core/cache-aside"],"references":["core/cache-stampede"],"teaches":[]},"domain":"scale"},"core/case-rate-limiter":{"id":"core/case-rate-limiter","kind":"case","title":"Design it: a rate limiter","access":"premium","difficulty":"medium","estMinutes":60,"concepts":{"practices":["core/interview-rubric","core/requirements","core/back-of-envelope","core/api-design","core/data-model","core/high-level-design","core/rate-limiting","core/load-shedding","core/consistency-models"],"references":["core/distributed-rate-limiting","core/hot-keys","core/consistent-hashing"],"teaches":[]},"domain":"resilience"},"core/case-url-shortener":{"id":"core/case-url-shortener","kind":"case","title":"Design it: a URL shortener","access":"premium","difficulty":"medium","estMinutes":60,"concepts":{"practices":["core/interview-rubric","core/requirements","core/back-of-envelope","core/api-design","core/data-model","core/high-level-design","core/relational-indexes","core/cache-basics","core/cache-aside","core/cache-stampede","core/horizontal-scaling","core/server-capacity","core/tier-separation","core/load-balancer"],"references":["core/distributed-ids","core/hot-keys","core/sharding"],"teaches":[]},"domain":"data"},"core/cdn-lesson":{"id":"core/cdn-lesson","kind":"lesson","title":"A CDN for the files everyone wants","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/object-storage","core/cache-basics","core/cache-aside"],"teaches":["core/cdn"]}},"core/celebrity-day":{"id":"core/celebrity-day","kind":"kata","title":"Celebrity day","access":"premium","difficulty":"hard","estMinutes":25,"concepts":{"practices":["core/sharding","core/consistent-hashing","core/hot-keys"],"references":["core/read-replicas","core/server-capacity"],"teaches":[]},"blurb":"A celebrity posts and 400 writes a second hit one user’s key"},"core/circuit-breaker-lesson":{"id":"core/circuit-breaker-lesson","kind":"lesson","title":"Circuit breaker","access":"premium","difficulty":"medium","estMinutes":10,"concepts":{"practices":[],"references":["core/timeouts","core/failure-modes","core/retries"],"teaches":["core/circuit-breaker"]}},"core/cloud-billing-lesson":{"id":"core/cloud-billing-lesson","kind":"lesson","title":"How cloud billing works","access":"anon","difficulty":"easy","estMinutes":13,"concepts":{"practices":[],"references":["core/server-capacity"],"teaches":["core/cloud-billing"]}},"core/competing-consumers-lesson":{"id":"core/competing-consumers-lesson","kind":"lesson","title":"Competing consumers","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/load-leveling","core/async-queue","core/autoscaling","core/pub-sub"],"teaches":["core/competing-consumers"]}},"core/connection-pools-lesson":{"id":"core/connection-pools-lesson","kind":"lesson","title":"Connection pools — when a slow query drains them","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/littles-law","core/server-capacity","core/autoscaling"],"teaches":["core/connection-pools"]},"art":{"alt":"A tray of small cylinders facing a database","image":"connection-pools"}},"core/consistency-models-lesson":{"id":"core/consistency-models-lesson","kind":"lesson","title":"Consistency models: strong to eventual","access":"anon","difficulty":"medium","estMinutes":14,"concepts":{"practices":[],"references":["core/replication-lag"],"teaches":["core/consistency-models"]}},"core/consistent-hashing-lesson":{"id":"core/consistent-hashing-lesson","kind":"lesson","title":"Consistent hashing","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/sharding","core/cache-basics"],"teaches":["core/consistent-hashing"]}},"core/data-model-lesson":{"id":"core/data-model-lesson","kind":"lesson","title":"Data model: from endpoints to keys","access":"premium","difficulty":"medium","estMinutes":14,"concepts":{"practices":[],"references":["core/api-design","core/back-of-envelope","core/access-patterns","core/relational-indexes","core/nosql-families","core/sharding","core/object-storage"],"teaches":["core/data-model"]}},"core/dead-letter-queue-lesson":{"id":"core/dead-letter-queue-lesson","kind":"lesson","title":"Poison messages & dead-letter queues","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/idempotent-consumer","core/competing-consumers","core/retries","core/delivery-semantics"],"teaches":["core/dead-letter-queue"]}},"core/deliver-once":{"id":"core/deliver-once","kind":"kata","title":"Deliver once","access":"premium","difficulty":"medium","estMinutes":20,"concepts":{"practices":["core/delivery-semantics","core/idempotent-consumer","core/dead-letter-queue"],"references":["core/competing-consumers"],"teaches":[]},"blurb":"Notify must land every push exactly once through a provider outage"},"core/delivery-semantics-lesson":{"id":"core/delivery-semantics-lesson","kind":"lesson","title":"Delivery guarantees: at most, at least, exactly once","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/competing-consumers","core/async-queue","core/idempotent-consumer"],"teaches":["core/delivery-semantics"]}},"core/discord-messages":{"id":"core/discord-messages","kind":"story","title":"Discord: billions of messages, then trillions","access":"premium","difficulty":"medium","estMinutes":15,"concepts":{"practices":[],"references":["core/access-patterns","core/nosql-families","core/sharding","core/consistent-hashing","core/hot-keys","core/cache-stampede"],"teaches":[]}},"core/drill-average-lies":{"id":"core/drill-average-lies","kind":"drill","title":"The average says fine","access":"premium","difficulty":"easy","estMinutes":2,"concepts":{"practices":["core/latency-and-percentiles"],"references":[],"teaches":[]}},"core/drill-day-one-services":{"id":"core/drill-day-one-services","kind":"drill","title":"Six services on day one","access":"premium","difficulty":"easy","estMinutes":2,"concepts":{"practices":["core/microservices","core/monolith"],"references":[],"teaches":[]}},"core/drill-fan-out":{"id":"core/drill-fan-out","kind":"drill","title":"Every backend looks fine","access":"premium","difficulty":"medium","estMinutes":2,"concepts":{"practices":["core/latency-and-percentiles"],"references":[],"teaches":[]}},"core/drill-hot-database":{"id":"core/drill-hot-database","kind":"drill","title":"The database is the hot spot","access":"premium","difficulty":"easy","estMinutes":3,"concepts":{"practices":["core/cache-aside"],"references":[],"teaches":[]}},"core/drill-out-of-memory":{"id":"core/drill-out-of-memory","kind":"drill","title":"Slow, with CPU to spare","access":"premium","difficulty":"easy","estMinutes":2,"concepts":{"practices":["core/server-capacity"],"references":[],"teaches":[]}},"core/drill-red-check":{"id":"core/drill-red-check","kind":"drill","title":"Across the module line","access":"premium","difficulty":"medium","estMinutes":3,"concepts":{"practices":["core/modular-monolith","core/service-boundaries"],"references":[],"teaches":[]}},"core/drill-split-the-mess":{"id":"core/drill-split-the-mess","kind":"drill","title":"Split it to clean it?","access":"premium","difficulty":"medium","estMinutes":3,"concepts":{"practices":["core/monolith","core/modular-monolith"],"references":[],"teaches":[]}},"core/drill-tiny-services":{"id":"core/drill-tiny-services","kind":"drill","title":"Seven services to pay","access":"premium","difficulty":"medium","estMinutes":3,"concepts":{"practices":["core/service-boundaries","core/microservices"],"references":[],"teaches":[]}},"core/facebook-2010":{"id":"core/facebook-2010","kind":"incident","title":"Facebook, 2010: the fix that flooded the database","access":"premium","difficulty":"medium","estMinutes":15,"concepts":{"practices":[],"references":["core/cache-stampede","core/cache-aside","core/circuit-breaker","core/failure-modes"],"teaches":[]}},"core/failure-modes-lesson":{"id":"core/failure-modes-lesson","kind":"lesson","title":"Failure modes and availability","access":"anon","difficulty":"easy","estMinutes":9,"concepts":{"practices":[],"references":["core/client-server","core/horizontal-scaling","core/timeouts","core/circuit-breaker"],"teaches":["core/failure-modes"]}},"core/find-the-bottleneck":{"id":"core/find-the-bottleneck","kind":"kata","title":"Find the bottleneck","access":"premium","difficulty":"medium","estMinutes":20,"concepts":{"practices":["core/capacity-math","core/connection-pools"],"references":["core/littles-law","core/server-capacity","core/load-balancer","core/horizontal-scaling"],"teaches":[]},"blurb":"Rush hour at Timetable: one server fails, find what runs out first"},"core/flaky-payments":{"id":"core/flaky-payments","kind":"kata","title":"Flaky payments","access":"premium","difficulty":"easy","estMinutes":8,"concepts":{"practices":["core/circuit-breaker"],"references":["core/timeouts","core/failure-modes","core/retries"],"teaches":[]},"blurb":"Checkout’s payment provider fails nine calls in ten for 20 seconds"},"core/graceful-degradation-lesson":{"id":"core/graceful-degradation-lesson","kind":"lesson","title":"Graceful degradation","access":"premium","difficulty":"medium","estMinutes":15,"concepts":{"practices":[],"references":["core/circuit-breaker","core/load-shedding","core/failure-modes"],"teaches":["core/graceful-degradation"]}},"core/health-checks-lesson":{"id":"core/health-checks-lesson","kind":"lesson","title":"Health checks and failover","access":"premium","difficulty":"medium","estMinutes":15,"concepts":{"practices":[],"references":["core/load-balancer","core/load-shedding","core/circuit-breaker"],"teaches":["core/health-checks"]}},"core/high-level-design-lesson":{"id":"core/high-level-design-lesson","kind":"lesson","title":"High-level design: every box answers to the board","access":"premium","difficulty":"medium","estMinutes":14,"concepts":{"practices":[],"references":["core/data-model","core/api-design","core/back-of-envelope","core/requirements","core/object-storage"],"teaches":["core/high-level-design"]}},"core/horizontal-scaling-lesson":{"id":"core/horizontal-scaling-lesson","kind":"lesson","title":"Horizontal scaling with a stateless tier","access":"free","difficulty":"easy","estMinutes":10,"concepts":{"practices":[],"references":["core/load-balancer","core/tier-separation","core/server-capacity","core/cache-aside"],"teaches":["core/horizontal-scaling"]},"art":{"alt":"A row of boxes, each one a little taller than the last","image":"horizontal-scaling"}},"core/hot-keys-lesson":{"id":"core/hot-keys-lesson","kind":"lesson","title":"Hot keys","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/consistent-hashing","core/sharding","core/cache-basics","core/cache-stampede"],"teaches":["core/hot-keys"]}},"core/idempotent-consumer-lesson":{"id":"core/idempotent-consumer-lesson","kind":"lesson","title":"Idempotent consumer: making a repeat harmless","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/delivery-semantics","core/competing-consumers","core/dead-letter-queue"],"teaches":["core/idempotent-consumer"]}},"core/instagram-14m":{"id":"core/instagram-14m","kind":"story","title":"Instagram: 14 million users, 3 engineers","access":"premium","difficulty":"easy","estMinutes":15,"concepts":{"practices":[],"references":["core/load-balancer","core/horizontal-scaling","core/cache-aside","core/server-capacity","core/failure-modes"],"teaches":[]}},"core/interview-rubric-lesson":{"id":"core/interview-rubric-lesson","kind":"lesson","title":"Interview & rubric: 45 minutes, no answer key","access":"anon","difficulty":"easy","estMinutes":13,"concepts":{"practices":[],"references":[],"teaches":["core/interview-rubric"]}},"core/keep-it-alive":{"id":"core/keep-it-alive","kind":"kata","title":"Keep it alive","access":"anon","difficulty":"easy","estMinutes":8,"concepts":{"practices":[],"references":["core/load-balancer","core/server-capacity","core/horizontal-scaling"],"teaches":[]},"blurb":"Pixel’s one server dies at second 35"},"core/latency-percentiles-lesson":{"id":"core/latency-percentiles-lesson","kind":"lesson","title":"Latency & percentiles","access":"anon","difficulty":"easy","estMinutes":8,"concepts":{"practices":[],"references":["core/server-capacity"],"teaches":["core/latency-and-percentiles"]},"art":{"alt":"A row of short bars with one tall bar at the end","image":"latency-percentiles"}},"core/launch-day":{"id":"core/launch-day","kind":"kata","title":"Launch day","access":"free","difficulty":"medium","estMinutes":20,"concepts":{"practices":["core/server-capacity","core/tier-separation","core/load-balancer","core/horizontal-scaling","core/cache-aside"],"references":["core/latency-and-percentiles"],"teaches":[]},"blurb":"Traffic jumps to 400 a second, then Pixel’s server dies"},"core/littles-law-lesson":{"id":"core/littles-law-lesson","kind":"lesson","title":"Little's law — how many are inside","access":"anon","difficulty":"easy","estMinutes":12,"concepts":{"practices":[],"references":["core/latency-and-percentiles","core/async-queue","core/connection-pools"],"teaches":["core/littles-law"]},"art":{"alt":"A long platform with circles lined up along it","image":"littles-law"}},"core/load-balancer-lesson":{"id":"core/load-balancer-lesson","kind":"lesson","title":"Load balancer","access":"free","difficulty":"easy","estMinutes":10,"concepts":{"practices":[],"references":["core/server-capacity","core/horizontal-scaling"],"teaches":["core/load-balancer"]},"art":{"alt":"One dot sending lines out to several boxes","image":"load-balancer"}},"core/load-leveling-lesson":{"id":"core/load-leveling-lesson","kind":"lesson","title":"Load leveling","access":"premium","difficulty":"medium","estMinutes":14,"concepts":{"practices":[],"references":["core/async-queue","core/rate-limiting","core/backpressure","core/failure-modes","core/competing-consumers"],"teaches":["core/load-leveling"]}},"core/load-shedding-lesson":{"id":"core/load-shedding-lesson","kind":"lesson","title":"Load shedding — turning the excess away","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/bulkhead","core/timeouts","core/retries","core/server-capacity","core/autoscaling","core/load-balancer"],"teaches":["core/load-shedding"]}},"core/memory-disk-network-lesson":{"id":"core/memory-disk-network-lesson","kind":"lesson","title":"Memory vs disk vs network — the latency ladder","access":"anon","difficulty":"easy","estMinutes":11,"concepts":{"practices":[],"references":["core/latency-and-percentiles","core/tier-separation","core/cache-basics"],"teaches":["core/memory-disk-network"]},"art":{"alt":"Three towers of very different heights beside a small block","image":"memory-disk-network"}},"core/microservices-lesson":{"id":"core/microservices-lesson","kind":"lesson","title":"Microservices: what the network costs","access":"premium","difficulty":"medium","estMinutes":17,"concepts":{"practices":[],"references":["core/service-boundaries","core/modular-monolith","core/monolith","core/circuit-breaker","core/timeouts","core/async-queue"],"teaches":["core/microservices"]}},"core/modular-monolith-lesson":{"id":"core/modular-monolith-lesson","kind":"lesson","title":"Modular monolith: boundaries inside one deploy","access":"premium","difficulty":"medium","estMinutes":15,"concepts":{"practices":[],"references":["core/monolith"],"teaches":["core/modular-monolith"]}},"core/monolith-lesson":{"id":"core/monolith-lesson","kind":"lesson","title":"Monolith: one deployable","access":"anon","difficulty":"easy","estMinutes":14,"concepts":{"practices":[],"references":["core/tier-separation"],"teaches":["core/monolith"]}},"core/multi-az-lesson":{"id":"core/multi-az-lesson","kind":"lesson","title":"Multi-AZ redundancy","access":"premium","difficulty":"medium","estMinutes":15,"concepts":{"practices":[],"references":["core/health-checks","core/horizontal-scaling","core/multi-region","core/autoscaling"],"teaches":["core/multi-az"]}},"core/multi-region-lesson":{"id":"core/multi-region-lesson","kind":"lesson","title":"Multi-region","access":"premium","difficulty":"medium","estMinutes":14,"concepts":{"practices":[],"references":["core/sharding","core/cdn","core/read-replicas","core/failure-modes","core/load-balancer"],"teaches":["core/multi-region"]}},"core/nosql-families-lesson":{"id":"core/nosql-families-lesson","kind":"lesson","title":"NoSQL families","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/relational-indexes"],"teaches":["core/nosql-families"]}},"core/object-storage-lesson":{"id":"core/object-storage-lesson","kind":"lesson","title":"Object storage for user files","access":"premium","difficulty":"easy","estMinutes":10,"concepts":{"practices":[],"references":["core/horizontal-scaling","core/load-balancer","core/server-capacity"],"teaches":["core/object-storage"]}},"core/orient-break-it":{"id":"core/orient-break-it","kind":"guide","title":"Break it","access":"anon","difficulty":"intro","estMinutes":3,"concepts":{"practices":[],"references":["core/load-balancer","core/horizontal-scaling"],"teaches":[]}},"core/orient-dashboard":{"id":"core/orient-dashboard","kind":"guide","title":"Read the dashboard","access":"anon","difficulty":"intro","estMinutes":3,"concepts":{"practices":[],"references":["core/server-capacity","core/latency-and-percentiles"],"teaches":[]}},"core/orient-first-system":{"id":"core/orient-first-system","kind":"guide","title":"Your first system","access":"anon","difficulty":"intro","estMinutes":3,"concepts":{"practices":[],"references":["core/server-capacity","core/load-balancer"],"teaches":[]}},"core/orient-traffic":{"id":"core/orient-traffic","kind":"guide","title":"Traffic over time","access":"anon","difficulty":"intro","estMinutes":3,"concepts":{"practices":[],"references":["core/server-capacity","core/load-balancer"],"teaches":[]}},"core/pixel-goes-viral":{"id":"core/pixel-goes-viral","kind":"kata","title":"Pixel goes viral","access":"premium","difficulty":"hard","estMinutes":30,"concepts":{"practices":["core/object-storage","core/read-replicas","core/async-queue","core/autoscaling"],"references":["core/cdn","core/horizontal-scaling","core/load-balancer","core/cache-aside"],"teaches":[]},"blurb":"A Pixel Moments photo takes off: traffic climbs eightfold"},"core/prime-video-monitoring":{"id":"core/prime-video-monitoring","kind":"story","title":"Prime Video: redrawing a stream monitor","access":"premium","difficulty":"medium","estMinutes":10,"concepts":{"practices":[],"references":["core/microservices","core/service-boundaries","core/monolith","core/modular-monolith"],"teaches":[]}},"core/pub-sub-lesson":{"id":"core/pub-sub-lesson","kind":"lesson","title":"Pub/sub fan-out","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/competing-consumers","core/async-queue","core/load-leveling"],"teaches":["core/pub-sub"]}},"core/quorums-lesson":{"id":"core/quorums-lesson","kind":"lesson","title":"Quorums: N, W, R","access":"premium","difficulty":"medium","estMinutes":15,"concepts":{"practices":[],"references":["core/cap-pacelc","core/consistency-models"],"teaches":["core/quorums"]}},"core/rate-limiting-lesson":{"id":"core/rate-limiting-lesson","kind":"lesson","title":"Rate limiting — a budget for each caller","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/backpressure","core/load-shedding","core/retries","core/bulkhead","core/server-capacity"],"teaches":["core/rate-limiting"]}},"core/read-replicas-lesson":{"id":"core/read-replicas-lesson","kind":"lesson","title":"Read replicas for a read-heavy app","access":"premium","difficulty":"medium","estMinutes":11,"concepts":{"practices":[],"references":["core/tier-separation","core/load-balancer","core/horizontal-scaling"],"teaches":["core/read-replicas"]}},"core/read-your-own-writes":{"id":"core/read-your-own-writes","kind":"kata","title":"Read your own writes","access":"premium","difficulty":"medium","estMinutes":20,"concepts":{"practices":["core/read-replicas","core/replication-lag"],"references":["core/relational-indexes"],"teaches":[]},"blurb":"Ledger’s group pages jump to 1000 reads a second on one database"},"core/relational-indexes-lesson":{"id":"core/relational-indexes-lesson","kind":"lesson","title":"Relational databases & indexes","access":"anon","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/database-basics","core/connection-pools"],"teaches":["core/relational-indexes"]}},"core/replication-lag-lesson":{"id":"core/replication-lag-lesson","kind":"lesson","title":"Replication lag & read-your-writes","access":"premium","difficulty":"medium","estMinutes":15,"concepts":{"practices":[],"references":["core/read-replicas","core/connection-pools"],"teaches":["core/replication-lag"]}},"core/requirements-lesson":{"id":"core/requirements-lesson","kind":"lesson","title":"Requirements: ask what changes the design","access":"premium","difficulty":"easy","estMinutes":12,"concepts":{"practices":[],"references":["core/interview-rubric"],"teaches":["core/requirements"]}},"core/retries-lesson":{"id":"core/retries-lesson","kind":"lesson","title":"Retries — with backoff and jitter","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/timeouts","core/failure-modes","core/circuit-breaker"],"teaches":["core/retries"]},"art":{"alt":"A dot looping back toward a wide panel","image":"retries"}},"core/right-sizing-lesson":{"id":"core/right-sizing-lesson","kind":"lesson","title":"Right-sizing","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/cloud-billing","core/server-capacity"],"teaches":["core/right-sizing"]}},"core/sale-day":{"id":"core/sale-day","kind":"kata","title":"Sale day","access":"premium","difficulty":"medium","estMinutes":20,"concepts":{"practices":["core/bulkhead","core/load-shedding","core/rate-limiting"],"references":["core/backpressure","core/server-capacity"],"teaches":[]},"blurb":"A looping partner app floods Checkout’s shop server"},"core/same-slo-half-the-bill":{"id":"core/same-slo-half-the-bill","kind":"kata","title":"Same SLO, half the bill","access":"premium","difficulty":"medium","estMinutes":20,"concepts":{"practices":["core/right-sizing","core/autoscale-economics"],"references":["core/cloud-billing","core/autoscaling","core/server-capacity"],"teaches":[]},"blurb":"Clip’s bill says $672 a month for the same speed — halve it"},"core/segment-exactly-once":{"id":"core/segment-exactly-once","kind":"story","title":"Segment: delivering billions of messages exactly once","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":[],"references":["core/delivery-semantics","core/idempotent-consumer","core/competing-consumers"],"teaches":[]}},"core/server-capacity-lesson":{"id":"core/server-capacity-lesson","kind":"lesson","title":"Server capacity & scaling up","access":"free","difficulty":"easy","estMinutes":10,"concepts":{"practices":[],"references":["core/latency-and-percentiles","core/horizontal-scaling"],"teaches":["core/server-capacity"]},"art":{"alt":"A tray stacked high with identical blocks","image":"server-capacity"}},"core/serverless-vs-always-on-lesson":{"id":"core/serverless-vs-always-on-lesson","kind":"lesson","title":"Serverless vs always-on","access":"premium","difficulty":"medium","estMinutes":14,"concepts":{"practices":[],"references":["core/cloud-billing","core/autoscale-economics","core/littles-law"],"teaches":["core/serverless-vs-always-on"]}},"core/service-boundaries-lesson":{"id":"core/service-boundaries-lesson","kind":"lesson","title":"Service boundaries: where to cut","access":"premium","difficulty":"medium","estMinutes":14,"concepts":{"practices":[],"references":["core/modular-monolith","core/monolith"],"teaches":["core/service-boundaries"]}},"core/sharding-lesson":{"id":"core/sharding-lesson","kind":"lesson","title":"Sharding a database","access":"premium","difficulty":"medium","estMinutes":13,"concepts":{"practices":[],"references":["core/read-replicas","core/horizontal-scaling","core/latency-and-percentiles"],"teaches":["core/sharding"]}},"core/stop-the-loop":{"id":"core/stop-the-loop","kind":"kata","title":"Stop the loop","access":"premium","difficulty":"medium","estMinutes":12,"concepts":{"practices":["core/cache-stampede"],"references":["core/cache-aside","core/circuit-breaker","core/rate-limiting"],"teaches":[]},"blurb":"Clients keep flushing the cache and the database goes down"},"core/tier-separation-lesson":{"id":"core/tier-separation-lesson","kind":"lesson","title":"Split app and database tiers","access":"free","difficulty":"easy","estMinutes":10,"concepts":{"practices":[],"references":["core/server-capacity","core/database-basics","core/horizontal-scaling"],"teaches":["core/tier-separation"]},"art":{"alt":"A single block apart from a database, joined by a dashed line","image":"tier-separation"}},"core/timeouts-lesson":{"id":"core/timeouts-lesson","kind":"lesson","title":"Timeouts — capping the wait","access":"premium","difficulty":"medium","estMinutes":9,"concepts":{"practices":[],"references":["core/failure-modes","core/latency-and-percentiles","core/circuit-breaker"],"teaches":["core/timeouts"]}},"core/write-through-lesson":{"id":"core/write-through-lesson","kind":"lesson","title":"Read-through & write-through","access":"premium","difficulty":"medium","estMinutes":11,"concepts":{"practices":[],"references":["core/cache-aside","core/cache-basics","core/cache-invalidation"],"teaches":["core/write-through"]},"art":{"alt":"A block with an arrow through a tray and on to a database","image":"write-through"}}},"lines":{"core/architecture-line":{"id":"core/architecture-line","title":"Architecture Line","tagline":"Split decisions","color":"#283593","protagonist":{"name":"Checkout"},"legs":[{"id":"split-decisions","stops":[{"id":"core/monolith","kind":"concept","title":"Monolith"},{"id":"core/modular-monolith","kind":"concept","title":"Modular monolith"},{"id":"core/service-boundaries","kind":"concept","title":"Service boundaries"},{"id":"core/microservices","kind":"concept","title":"Microservices"}],"title":"Split decisions"}],"editions":[{"checkpoints":[],"id":"2026.1","stops":[{"id":"core/monolith","kind":"concept","title":"Monolith"},{"id":"core/modular-monolith","kind":"concept","title":"Modular monolith"},{"id":"core/service-boundaries","kind":"concept","title":"Service boundaries"},{"id":"core/microservices","kind":"concept","title":"Microservices"}]}]},"core/async-line":{"id":"core/async-line","title":"Async Line","tagline":"Decouple","color":"#d68910","protagonist":{"name":"Notify"},"legs":[{"checkpoint":{"id":"core/big-night","kind":"kata","title":"Notify’s big night"},"id":"decouple","stops":[{"id":"core/async-queue","kind":"concept","title":"Async work with a queue"},{"id":"core/load-leveling","kind":"concept","title":"Load leveling"},{"id":"core/competing-consumers","kind":"concept","title":"Competing consumers"},{"id":"core/pub-sub","kind":"concept","title":"Pub/sub fan-out"}],"title":"Decouple"},{"checkpoint":{"id":"core/deliver-once","kind":"kata","title":"Deliver once"},"id":"deliver-once","stops":[{"id":"core/delivery-semantics","kind":"concept","title":"Delivery guarantees: at most, at least, exactly once"},{"id":"core/idempotent-consumer","kind":"concept","title":"Idempotent consumer"},{"id":"core/dead-letter-queue","kind":"concept","title":"Poison messages & dead-letter queues"}],"title":"Deliver once"}],"editions":[{"checkpoints":[{"id":"core/big-night","kind":"kata","title":"Notify’s big night"}],"id":"2026.1","stops":[{"id":"core/async-queue","kind":"concept","title":"Async work with a queue"},{"id":"core/load-leveling","kind":"concept","title":"Load leveling"},{"id":"core/competing-consumers","kind":"concept","title":"Competing consumers"},{"id":"core/pub-sub","kind":"concept","title":"Pub/sub fan-out"}]},{"checkpoints":[{"id":"core/big-night","kind":"kata","title":"Notify’s big night"},{"id":"core/deliver-once","kind":"kata","title":"Deliver once"}],"id":"2026.2","stops":[{"id":"core/async-queue","kind":"concept","title":"Async work with a queue"},{"id":"core/load-leveling","kind":"concept","title":"Load leveling"},{"id":"core/competing-consumers","kind":"concept","title":"Competing consumers"},{"id":"core/pub-sub","kind":"concept","title":"Pub/sub fan-out"},{"id":"core/delivery-semantics","kind":"concept","title":"Delivery guarantees: at most, at least, exactly once"},{"id":"core/idempotent-consumer","kind":"concept","title":"Idempotent consumer"},{"id":"core/dead-letter-queue","kind":"concept","title":"Poison messages & dead-letter queues"}]}]},"core/cache-line":{"id":"core/cache-line","title":"Cache Line","tagline":"Speed of memory","color":"#00a884","protagonist":{"name":"Pixel"},"legs":[{"checkpoint":{"id":"core/stop-the-loop","kind":"kata","title":"Stop the loop"},"id":"speed-of-memory","stops":[{"id":"core/memory-disk-network","kind":"concept","title":"Memory vs disk vs network"},{"id":"core/cache-basics","kind":"concept","title":"Cache basics: hit ratio, TTL, eviction"},{"id":"core/cache-aside","kind":"concept","title":"Cache-aside"},{"id":"core/write-through","kind":"concept","title":"Read-through & write-through"},{"id":"core/cache-invalidation","kind":"concept","title":"Cache invalidation"},{"id":"core/cache-stampede","kind":"concept","title":"Cache stampede"}],"title":"Speed of memory"}],"editions":[{"checkpoints":[{"id":"core/stop-the-loop","kind":"kata","title":"Stop the loop"}],"id":"2026.1","stops":[{"id":"core/memory-disk-network","kind":"concept","title":"Memory vs disk vs network"},{"id":"core/cache-basics","kind":"concept","title":"Cache basics: hit ratio, TTL, eviction"},{"id":"core/cache-aside","kind":"concept","title":"Cache-aside"},{"id":"core/write-through","kind":"concept","title":"Read-through & write-through"},{"id":"core/cache-invalidation","kind":"concept","title":"Cache invalidation"},{"id":"core/cache-stampede","kind":"concept","title":"Cache stampede"}]}]},"core/consistency-line":{"id":"core/consistency-line","title":"Consistency Line","tagline":"Agree to disagree","color":"#8d5524","protagonist":{"name":"Ledger"},"legs":[{"checkpoint":{"id":"core/agree-on-the-balance","kind":"kata","title":"Agree on the balance"},"id":"agree-to-disagree","stops":[{"id":"core/consistency-models","kind":"concept","title":"Consistency models: strong to eventual"},{"id":"core/cap-pacelc","kind":"concept","title":"CAP & PACELC"},{"id":"core/quorums","kind":"concept","title":"Quorums: N, W, R"}],"title":"Agree to disagree"}],"editions":[{"checkpoints":[{"id":"core/agree-on-the-balance","kind":"kata","title":"Agree on the balance"}],"id":"2026.1","stops":[{"id":"core/consistency-models","kind":"concept","title":"Consistency models: strong to eventual"},{"id":"core/cap-pacelc","kind":"concept","title":"CAP & PACELC"},{"id":"core/quorums","kind":"concept","title":"Quorums: N, W, R"}]}]},"core/cost-line":{"id":"core/cost-line","title":"Cost Line","tagline":"Every dollar","color":"#c2185b","protagonist":{"name":"Pixel"},"legs":[{"checkpoint":{"id":"core/same-slo-half-the-bill","kind":"kata","title":"Same SLO, half the bill"},"id":"every-dollar","stops":[{"id":"core/cloud-billing","kind":"concept","title":"How cloud billing works"},{"id":"core/right-sizing","kind":"concept","title":"Right-sizing"},{"id":"core/autoscale-economics","kind":"concept","title":"Autoscale economics"},{"id":"core/serverless-vs-always-on","kind":"concept","title":"Serverless vs always-on"}],"title":"Every dollar"}],"editions":[{"checkpoints":[{"id":"core/same-slo-half-the-bill","kind":"kata","title":"Same SLO, half the bill"}],"id":"2026.1","stops":[{"id":"core/cloud-billing","kind":"concept","title":"How cloud billing works"},{"id":"core/right-sizing","kind":"concept","title":"Right-sizing"},{"id":"core/autoscale-economics","kind":"concept","title":"Autoscale economics"},{"id":"core/serverless-vs-always-on","kind":"concept","title":"Serverless vs always-on"}]}]},"core/data-line":{"id":"core/data-line","title":"Data Line","tagline":"Truth at scale","color":"#5c7c2a","protagonist":{"name":"Ledger"},"legs":[{"checkpoint":{"id":"core/read-your-own-writes","kind":"kata","title":"Read your own writes"},"id":"truth-at-scale","stops":[{"id":"core/relational-indexes","kind":"concept","title":"Relational databases & indexes"},{"id":"core/nosql-families","kind":"concept","title":"NoSQL families"},{"id":"core/access-patterns","kind":"concept","title":"Access patterns & denormalization"},{"id":"core/read-replicas","kind":"concept","title":"Read replicas"},{"id":"core/replication-lag","kind":"concept","title":"Replication lag & read-your-writes"}],"title":"Truth at scale"}],"editions":[{"checkpoints":[{"id":"core/read-your-own-writes","kind":"kata","title":"Read your own writes"}],"id":"2026.1","stops":[{"id":"core/relational-indexes","kind":"concept","title":"Relational databases & indexes"},{"id":"core/nosql-families","kind":"concept","title":"NoSQL families"},{"id":"core/access-patterns","kind":"concept","title":"Access patterns & denormalization"},{"id":"core/read-replicas","kind":"concept","title":"Read replicas"},{"id":"core/replication-lag","kind":"concept","title":"Replication lag & read-your-writes"}]}]},"core/interview-line":{"id":"core/interview-line","title":"Interview Line","tagline":"45 minutes","color":"#37474f","protagonist":{"name":"you"},"legs":[{"id":"open-the-room","stops":[{"id":"core/interview-rubric","kind":"concept","title":"Interview & rubric"},{"id":"core/requirements","kind":"concept","title":"Requirements and scope"},{"id":"core/back-of-envelope","kind":"concept","title":"Back-of-the-envelope estimates"}],"title":"Open the room"},{"id":"draw-it","stops":[{"id":"core/api-design","kind":"concept","title":"API design"},{"id":"core/data-model","kind":"concept","title":"Data model"},{"id":"core/high-level-design","kind":"concept","title":"High-level design"},{"id":"core/case-url-shortener","kind":"case","title":"Design it: a URL shortener"},{"id":"core/case-rate-limiter","kind":"case","title":"Design it: a rate limiter"},{"id":"core/case-payments","kind":"case","title":"Design it: payments"}],"title":"Draw it"}],"editions":[{"checkpoints":[],"id":"2026.1","stops":[{"id":"core/interview-rubric","kind":"concept","title":"Interview & rubric"},{"id":"core/requirements","kind":"concept","title":"Requirements and scope"},{"id":"core/back-of-envelope","kind":"concept","title":"Back-of-the-envelope estimates"},{"id":"core/api-design","kind":"concept","title":"API design"},{"id":"core/data-model","kind":"concept","title":"Data model"},{"id":"core/high-level-design","kind":"concept","title":"High-level design"},{"id":"core/case-url-shortener","kind":"case","title":"Design it: a URL shortener"},{"id":"core/case-rate-limiter","kind":"case","title":"Design it: a rate limiter"},{"id":"core/case-payments","kind":"case","title":"Design it: payments"}]}]},"core/machine-line":{"id":"core/machine-line","title":"Machine Line","tagline":"Inside the server","color":"#6c5ce7","protagonist":{"name":"Timetable"},"legs":[{"checkpoint":{"id":"core/find-the-bottleneck","kind":"kata","title":"Find the bottleneck"},"id":"queueing","stops":[{"id":"core/littles-law","kind":"concept","title":"Queueing & Little's law"},{"id":"core/connection-pools","kind":"concept","title":"Connection pools"},{"id":"core/server-capacity","kind":"concept","title":"Server capacity & scaling up"},{"id":"core/capacity-math","kind":"concept","title":"Capacity math"}],"title":"Queueing"}],"editions":[{"checkpoints":[{"id":"core/find-the-bottleneck","kind":"kata","title":"Find the bottleneck"}],"id":"2026.1","stops":[{"id":"core/littles-law","kind":"concept","title":"Queueing & Little's law"},{"id":"core/connection-pools","kind":"concept","title":"Connection pools"},{"id":"core/server-capacity","kind":"concept","title":"Server capacity & scaling up"},{"id":"core/capacity-math","kind":"concept","title":"Capacity math"}]}]},"core/orientation-line":{"id":"core/orientation-line","title":"Orientation Line","tagline":"First ride","color":"#7b8794","legs":[{"checkpoint":{"id":"core/keep-it-alive","kind":"kata","title":"Keep it alive"},"id":"first-ride","stops":[{"id":"core/orient-first-system","kind":"guide","title":"Your first system"},{"id":"core/orient-dashboard","kind":"guide","title":"Read the dashboard"},{"id":"core/orient-traffic","kind":"guide","title":"Traffic over time"},{"id":"core/orient-break-it","kind":"guide","title":"Break it"}],"title":"First ride"}],"editions":[{"checkpoints":[{"id":"core/keep-it-alive","kind":"kata","title":"Keep it alive"}],"id":"2026.1","stops":[{"id":"core/orient-first-system","kind":"guide","title":"Your first system"},{"id":"core/orient-dashboard","kind":"guide","title":"Read the dashboard"},{"id":"core/orient-traffic","kind":"guide","title":"Traffic over time"},{"id":"core/orient-break-it","kind":"guide","title":"Break it"}]}]},"core/resilience-line":{"id":"core/resilience-line","title":"Resilience Line","tagline":"Survive the storm","color":"#2e86ab","protagonist":{"name":"Checkout"},"legs":[{"checkpoint":{"id":"core/flaky-payments","kind":"kata","title":"Flaky payments"},"id":"fail-well","stops":[{"id":"core/failure-modes","kind":"concept","title":"Failure modes & availability"},{"id":"core/timeouts","kind":"concept","title":"Timeouts"},{"id":"core/retries","kind":"concept","title":"Retries with backoff and jitter"},{"id":"core/circuit-breaker","kind":"concept","title":"Circuit breaker"}],"title":"Fail well"},{"checkpoint":{"id":"core/sale-day","kind":"kata","title":"Sale day"},"id":"hold-the-line","stops":[{"id":"core/bulkhead","kind":"concept","title":"Bulkhead"},{"id":"core/load-shedding","kind":"concept","title":"Load shedding"},{"id":"core/backpressure","kind":"concept","title":"Backpressure"},{"id":"core/rate-limiting","kind":"concept","title":"Rate limiting"}],"title":"Hold the line"},{"checkpoint":{"id":"core/black-friday","kind":"kata","title":"Black Friday"},"id":"stay-up","stops":[{"id":"core/health-checks","kind":"concept","title":"Health checks and failover"},{"id":"core/multi-az","kind":"concept","title":"Multi-AZ redundancy"},{"id":"core/graceful-degradation","kind":"concept","title":"Graceful degradation"}],"title":"Stay up"}],"editions":[{"checkpoints":[{"id":"core/flaky-payments","kind":"kata","title":"Flaky payments"},{"id":"core/sale-day","kind":"kata","title":"Sale day"}],"id":"2026.1","stops":[{"id":"core/failure-modes","kind":"concept","title":"Failure modes & availability"},{"id":"core/timeouts","kind":"concept","title":"Timeouts"},{"id":"core/retries","kind":"concept","title":"Retries with backoff and jitter"},{"id":"core/circuit-breaker","kind":"concept","title":"Circuit breaker"},{"id":"core/bulkhead","kind":"concept","title":"Bulkhead"},{"id":"core/load-shedding","kind":"concept","title":"Load shedding"},{"id":"core/backpressure","kind":"concept","title":"Backpressure"},{"id":"core/rate-limiting","kind":"concept","title":"Rate limiting"}]}]},"core/scale-line":{"id":"core/scale-line","title":"Scale Line","tagline":"Zero to millions","color":"#e4572e","protagonist":{"name":"Pixel"},"legs":[{"checkpoint":{"id":"core/launch-day","kind":"kata","title":"Launch day"},"id":"going-live","stops":[{"id":"core/latency-and-percentiles","kind":"concept","title":"Latency & percentiles"},{"id":"core/server-capacity","kind":"concept","title":"Server capacity & scaling up"},{"id":"core/tier-separation","kind":"concept","title":"Split app and database tiers"},{"id":"core/load-balancer","kind":"concept","title":"Load balancer"},{"id":"core/horizontal-scaling","kind":"concept","title":"Horizontal scaling with a stateless tier"},{"id":"core/cache-aside","kind":"concept","title":"Cache-aside"}],"title":"Going live"},{"checkpoint":{"id":"core/pixel-goes-viral","kind":"kata","title":"Pixel goes viral"},"id":"growing-up","stops":[{"id":"core/object-storage","kind":"concept","title":"Object storage"},{"id":"core/cdn","kind":"concept","title":"CDN (content delivery network)"},{"id":"core/read-replicas","kind":"concept","title":"Read replicas"},{"id":"core/async-queue","kind":"concept","title":"Async work with a queue"},{"id":"core/autoscaling","kind":"concept","title":"Autoscaling"}],"title":"Growing up"},{"checkpoint":{"id":"core/celebrity-day","kind":"kata","title":"Celebrity day"},"id":"going-global","stops":[{"id":"core/sharding","kind":"concept","title":"Sharding"},{"id":"core/consistent-hashing","kind":"concept","title":"Consistent hashing"},{"id":"core/hot-keys","kind":"concept","title":"Hot keys"},{"id":"core/multi-region","kind":"concept","title":"Multi-region"}],"title":"Going global"}],"terminus":{"id":"core/case-photo-feed","kind":"case","title":"Design it: Pixel’s photo feed"},"editions":[{"checkpoints":[{"id":"core/launch-day","kind":"kata","title":"Launch day"}],"id":"2026.1","stops":[{"id":"core/latency-and-percentiles","kind":"concept","title":"Latency & percentiles"},{"id":"core/server-capacity","kind":"concept","title":"Server capacity & scaling up"},{"id":"core/tier-separation","kind":"concept","title":"Split app and database tiers"},{"id":"core/load-balancer","kind":"concept","title":"Load balancer"},{"id":"core/horizontal-scaling","kind":"concept","title":"Horizontal scaling with a stateless tier"},{"id":"core/cache-aside","kind":"concept","title":"Cache-aside"}]},{"checkpoints":[{"id":"core/launch-day","kind":"kata","title":"Launch day"},{"id":"core/pixel-goes-viral","kind":"kata","title":"Pixel goes viral"}],"id":"2026.2","stops":[{"id":"core/latency-and-percentiles","kind":"concept","title":"Latency & percentiles"},{"id":"core/server-capacity","kind":"concept","title":"Server capacity & scaling up"},{"id":"core/tier-separation","kind":"concept","title":"Split app and database tiers"},{"id":"core/load-balancer","kind":"concept","title":"Load balancer"},{"id":"core/horizontal-scaling","kind":"concept","title":"Horizontal scaling with a stateless tier"},{"id":"core/cache-aside","kind":"concept","title":"Cache-aside"},{"id":"core/object-storage","kind":"concept","title":"Object storage"},{"id":"core/cdn","kind":"concept","title":"CDN (content delivery network)"},{"id":"core/read-replicas","kind":"concept","title":"Read replicas"},{"id":"core/async-queue","kind":"concept","title":"Async work with a queue"},{"id":"core/autoscaling","kind":"concept","title":"Autoscaling"}]},{"checkpoints":[{"id":"core/launch-day","kind":"kata","title":"Launch day"},{"id":"core/pixel-goes-viral","kind":"kata","title":"Pixel goes viral"}],"id":"2026.3","stops":[{"id":"core/latency-and-percentiles","kind":"concept","title":"Latency & percentiles"},{"id":"core/server-capacity","kind":"concept","title":"Server capacity & scaling up"},{"id":"core/tier-separation","kind":"concept","title":"Split app and database tiers"},{"id":"core/load-balancer","kind":"concept","title":"Load balancer"},{"id":"core/horizontal-scaling","kind":"concept","title":"Horizontal scaling with a stateless tier"},{"id":"core/cache-aside","kind":"concept","title":"Cache-aside"},{"id":"core/object-storage","kind":"concept","title":"Object storage"},{"id":"core/cdn","kind":"concept","title":"CDN (content delivery network)"},{"id":"core/read-replicas","kind":"concept","title":"Read replicas"},{"id":"core/async-queue","kind":"concept","title":"Async work with a queue"},{"id":"core/autoscaling","kind":"concept","title":"Autoscaling"},{"id":"core/sharding","kind":"concept","title":"Sharding"},{"id":"core/consistent-hashing","kind":"concept","title":"Consistent hashing"},{"id":"core/hot-keys","kind":"concept","title":"Hot keys"},{"id":"core/multi-region","kind":"concept","title":"Multi-region"}],"terminus":{"id":"core/case-photo-feed","kind":"case","title":"Design it: Pixel’s photo feed"}},{"checkpoints":[{"id":"core/launch-day","kind":"kata","title":"Launch day"},{"id":"core/pixel-goes-viral","kind":"kata","title":"Pixel goes viral"},{"id":"core/celebrity-day","kind":"kata","title":"Celebrity day"}],"id":"2026.4","stops":[{"id":"core/latency-and-percentiles","kind":"concept","title":"Latency & percentiles"},{"id":"core/server-capacity","kind":"concept","title":"Server capacity & scaling up"},{"id":"core/tier-separation","kind":"concept","title":"Split app and database tiers"},{"id":"core/load-balancer","kind":"concept","title":"Load balancer"},{"id":"core/horizontal-scaling","kind":"concept","title":"Horizontal scaling with a stateless tier"},{"id":"core/cache-aside","kind":"concept","title":"Cache-aside"},{"id":"core/object-storage","kind":"concept","title":"Object storage"},{"id":"core/cdn","kind":"concept","title":"CDN (content delivery network)"},{"id":"core/read-replicas","kind":"concept","title":"Read replicas"},{"id":"core/async-queue","kind":"concept","title":"Async work with a queue"},{"id":"core/autoscaling","kind":"concept","title":"Autoscaling"},{"id":"core/sharding","kind":"concept","title":"Sharding"},{"id":"core/consistent-hashing","kind":"concept","title":"Consistent hashing"},{"id":"core/hot-keys","kind":"concept","title":"Hot keys"},{"id":"core/multi-region","kind":"concept","title":"Multi-region"}],"terminus":{"id":"core/case-photo-feed","kind":"case","title":"Design it: Pixel’s photo feed"}}]}},"goals":{"core/explorer":{"id":"core/explorer","title":"Explorer","summary":"No fixed route. Wander the map, follow what looks interesting, and open any lesson whenever they catch your eye.","persona":"explorer","targets":{"concepts":[],"lines":[],"objects":[]},"pacing":{"mode":"none"},"placement":"none","express":false},"core/scale-leg-1":{"id":"core/scale-leg-1","title":"Scale Line: going live","summary":"Take Pixel from one server to a cached, load-balanced app that survives launch day — then grow it up for going viral.","persona":"grad","targets":{"concepts":[],"lines":["core/scale-line"],"objects":[]},"pacing":{"minutesPerWeek":60,"mode":"weekly"},"placement":"optional","express":false}},"paths":{"core/main-path":{"id":"core/main-path","title":"The path","chapters":[{"id":"core/orientation-line#first-ride","legId":"first-ride","legTitle":"First ride","lineId":"core/orientation-line","metEarlier":[],"nodes":[{"id":"core/orient-first-system","kind":"guide","role":"stop"},{"id":"core/orient-dashboard","kind":"guide","role":"stop"},{"id":"core/orient-traffic","kind":"guide","role":"stop"},{"id":"core/orient-break-it","kind":"guide","role":"stop"},{"id":"core/keep-it-alive","kind":"kata","role":"checkpoint"}],"status":"beta","lineTitle":"Orientation Line","color":"#7b8794"},{"id":"core/scale-line#going-live","legId":"going-live","legTitle":"Going live","lineId":"core/scale-line","metEarlier":[],"nodes":[{"conceptId":"core/latency-and-percentiles","id":"core/latency-percentiles-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/server-capacity","id":"core/server-capacity-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/tier-separation","id":"core/tier-separation-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/load-balancer","id":"core/load-balancer-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/horizontal-scaling","id":"core/horizontal-scaling-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/memory-disk-network","id":"core/memory-disk-network-lesson","kind":"lesson","role":"pulled"},{"conceptId":"core/cache-basics","id":"core/cache-basics-lesson","kind":"lesson","role":"pulled"},{"conceptId":"core/cache-aside","id":"core/cache-aside-lesson","kind":"lesson","role":"stop"},{"id":"core/launch-day","kind":"kata","role":"checkpoint"},{"id":"core/instagram-14m","kind":"story","role":"landmark"},{"id":"core/case-pixel-launch","kind":"case","role":"landmark"}],"status":"beta","lineTitle":"Scale Line","color":"#e4572e","protagonist":"Pixel"},{"id":"core/machine-line#queueing","legId":"queueing","legTitle":"Queueing","lineId":"core/machine-line","metEarlier":["core/server-capacity-lesson"],"nodes":[{"conceptId":"core/littles-law","id":"core/littles-law-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/connection-pools","id":"core/connection-pools-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/capacity-math","id":"core/capacity-math-lesson","kind":"lesson","role":"stop"},{"id":"core/find-the-bottleneck","kind":"kata","role":"checkpoint"}],"status":"beta","lineTitle":"Machine Line","color":"#6c5ce7","protagonist":"Timetable"},{"id":"core/cache-line#speed-of-memory","legId":"speed-of-memory","legTitle":"Speed of memory","lineId":"core/cache-line","metEarlier":["core/memory-disk-network-lesson","core/cache-basics-lesson","core/cache-aside-lesson"],"nodes":[{"conceptId":"core/write-through","id":"core/write-through-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/cache-invalidation","id":"core/cache-invalidation-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/cache-stampede","id":"core/cache-stampede-lesson","kind":"lesson","role":"stop"},{"id":"core/stop-the-loop","kind":"kata","role":"checkpoint"},{"id":"core/facebook-2010","kind":"incident","role":"landmark"}],"status":"beta","lineTitle":"Cache Line","color":"#00a884","protagonist":"Pixel"},{"id":"core/scale-line#growing-up","legId":"growing-up","legTitle":"Growing up","lineId":"core/scale-line","metEarlier":[],"nodes":[{"conceptId":"core/object-storage","id":"core/object-storage-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/cdn","id":"core/cdn-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/read-replicas","id":"core/read-replicas-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/async-queue","id":"core/async-queue-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/autoscaling","id":"core/autoscaling-lesson","kind":"lesson","role":"stop"},{"id":"core/pixel-goes-viral","kind":"kata","role":"checkpoint"}],"status":"beta","lineTitle":"Scale Line","color":"#e4572e","protagonist":"Pixel"},{"id":"core/resilience-line#fail-well","legId":"fail-well","legTitle":"Fail well","lineId":"core/resilience-line","metEarlier":[],"nodes":[{"conceptId":"core/failure-modes","id":"core/failure-modes-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/timeouts","id":"core/timeouts-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/retries","id":"core/retries-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/circuit-breaker","id":"core/circuit-breaker-lesson","kind":"lesson","role":"stop"},{"id":"core/flaky-payments","kind":"kata","role":"checkpoint"}],"status":"beta","lineTitle":"Resilience Line","color":"#2e86ab","protagonist":"Checkout"},{"id":"core/async-line#decouple","legId":"decouple","legTitle":"Decouple","lineId":"core/async-line","metEarlier":["core/async-queue-lesson"],"nodes":[{"conceptId":"core/load-leveling","id":"core/load-leveling-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/competing-consumers","id":"core/competing-consumers-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/pub-sub","id":"core/pub-sub-lesson","kind":"lesson","role":"stop"},{"id":"core/big-night","kind":"kata","role":"checkpoint"}],"status":"beta","lineTitle":"Async Line","color":"#d68910","protagonist":"Notify"},{"id":"core/resilience-line#hold-the-line","legId":"hold-the-line","legTitle":"Hold the line","lineId":"core/resilience-line","metEarlier":[],"nodes":[{"conceptId":"core/bulkhead","id":"core/bulkhead-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/load-shedding","id":"core/load-shedding-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/backpressure","id":"core/backpressure-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/rate-limiting","id":"core/rate-limiting-lesson","kind":"lesson","role":"stop"},{"id":"core/sale-day","kind":"kata","role":"checkpoint"}],"status":"beta","lineTitle":"Resilience Line","color":"#2e86ab","protagonist":"Checkout"},{"id":"core/cost-line#every-dollar","legId":"every-dollar","legTitle":"Every dollar","lineId":"core/cost-line","metEarlier":[],"nodes":[{"conceptId":"core/cloud-billing","id":"core/cloud-billing-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/right-sizing","id":"core/right-sizing-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/autoscale-economics","id":"core/autoscale-economics-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/serverless-vs-always-on","id":"core/serverless-vs-always-on-lesson","kind":"lesson","role":"stop"},{"id":"core/same-slo-half-the-bill","kind":"kata","role":"checkpoint"}],"status":"beta","lineTitle":"Cost Line","color":"#c2185b","protagonist":"Pixel"},{"id":"core/scale-line#going-global","legId":"going-global","legTitle":"Going global","lineId":"core/scale-line","metEarlier":[],"nodes":[{"conceptId":"core/sharding","id":"core/sharding-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/consistent-hashing","id":"core/consistent-hashing-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/hot-keys","id":"core/hot-keys-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/multi-region","id":"core/multi-region-lesson","kind":"lesson","role":"stop"},{"id":"core/celebrity-day","kind":"kata","role":"checkpoint"},{"id":"core/case-photo-feed","kind":"case","role":"terminus"}],"status":"beta","lineTitle":"Scale Line","color":"#e4572e","protagonist":"Pixel"},{"id":"core/data-line#truth-at-scale","legId":"truth-at-scale","legTitle":"Truth at scale","lineId":"core/data-line","metEarlier":["core/read-replicas-lesson"],"nodes":[{"conceptId":"core/relational-indexes","id":"core/relational-indexes-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/nosql-families","id":"core/nosql-families-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/access-patterns","id":"core/access-patterns-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/replication-lag","id":"core/replication-lag-lesson","kind":"lesson","role":"stop"},{"id":"core/read-your-own-writes","kind":"kata","role":"checkpoint"},{"id":"core/discord-messages","kind":"story","role":"landmark"}],"status":"beta","lineTitle":"Data Line","color":"#5c7c2a","protagonist":"Ledger"},{"id":"core/async-line#deliver-once","legId":"deliver-once","legTitle":"Deliver once","lineId":"core/async-line","metEarlier":[],"nodes":[{"conceptId":"core/delivery-semantics","id":"core/delivery-semantics-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/idempotent-consumer","id":"core/idempotent-consumer-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/dead-letter-queue","id":"core/dead-letter-queue-lesson","kind":"lesson","role":"stop"},{"id":"core/deliver-once","kind":"kata","role":"checkpoint"},{"id":"core/segment-exactly-once","kind":"story","role":"landmark"}],"status":"beta","lineTitle":"Async Line","color":"#d68910","protagonist":"Notify"},{"id":"core/consistency-line#agree-to-disagree","legId":"agree-to-disagree","legTitle":"Agree to disagree","lineId":"core/consistency-line","metEarlier":[],"nodes":[{"conceptId":"core/consistency-models","id":"core/consistency-models-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/cap-pacelc","id":"core/cap-pacelc-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/quorums","id":"core/quorums-lesson","kind":"lesson","role":"stop"},{"id":"core/agree-on-the-balance","kind":"kata","role":"checkpoint"},{"id":"core/amazon-dynamo","kind":"story","role":"landmark"}],"status":"beta","lineTitle":"Consistency Line","color":"#8d5524","protagonist":"Ledger"},{"id":"core/architecture-line#split-decisions","legId":"split-decisions","legTitle":"Split decisions","lineId":"core/architecture-line","metEarlier":[],"nodes":[{"conceptId":"core/monolith","id":"core/monolith-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/modular-monolith","id":"core/modular-monolith-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/service-boundaries","id":"core/service-boundaries-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/microservices","id":"core/microservices-lesson","kind":"lesson","role":"stop"},{"id":"core/prime-video-monitoring","kind":"story","role":"landmark"}],"status":"beta","lineTitle":"Architecture Line","color":"#283593","protagonist":"Checkout"},{"id":"core/interview-line#open-the-room","legId":"open-the-room","legTitle":"Open the room","lineId":"core/interview-line","metEarlier":[],"nodes":[{"conceptId":"core/interview-rubric","id":"core/interview-rubric-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/requirements","id":"core/requirements-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/back-of-envelope","id":"core/back-of-envelope-lesson","kind":"lesson","role":"stop"}],"status":"beta","lineTitle":"Interview Line","color":"#37474f","protagonist":"you"},{"id":"core/interview-line#draw-it","legId":"draw-it","legTitle":"Draw it","lineId":"core/interview-line","metEarlier":[],"nodes":[{"conceptId":"core/api-design","id":"core/api-design-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/data-model","id":"core/data-model-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/high-level-design","id":"core/high-level-design-lesson","kind":"lesson","role":"stop"},{"id":"core/case-url-shortener","kind":"case","role":"stop"},{"id":"core/case-rate-limiter","kind":"case","role":"stop"},{"id":"core/case-payments","kind":"case","role":"stop"}],"status":"beta","lineTitle":"Interview Line","color":"#37474f","protagonist":"you"},{"id":"core/resilience-line#stay-up","legId":"stay-up","legTitle":"Stay up","lineId":"core/resilience-line","metEarlier":[],"nodes":[{"conceptId":"core/health-checks","id":"core/health-checks-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/multi-az","id":"core/multi-az-lesson","kind":"lesson","role":"stop"},{"conceptId":"core/graceful-degradation","id":"core/graceful-degradation-lesson","kind":"lesson","role":"stop"},{"id":"core/black-friday","kind":"kata","role":"checkpoint"},{"id":"core/aws-s3-2017","kind":"incident","role":"landmark"}],"status":"beta","lineTitle":"Resilience Line","color":"#2e86ab","protagonist":"Checkout"}]}},"lessons":{"core/access-patterns-lesson":{"concepts":{"teaches":["core/access-patterns"]},"check":["core/ap-normwins-single"]},"core/amazon-dynamo":{"concepts":{"teaches":[]},"check":["core/dy-era1-tune","core/dy-era1-predict","core/dy-era2-sloppy","core/dy-era3-merge","core/dy-era3-repair"]},"core/api-design-lesson":{"concepts":{"teaches":["core/api-design"]},"check":["core/api-version-single","core/api-refusal-single"]},"core/async-queue-lesson":{"concepts":{"teaches":["core/async-queue"]},"check":["core/q-later-two-tier","core/q-growth-numeric","core/q-fix-single","core/q-async-multi","core/q-reply-two-tier"]},"core/autoscale-economics-lesson":{"concepts":{"teaches":["core/autoscale-economics"]},"check":["core/ae-headroom-single"]},"core/autoscaling-lesson":{"concepts":{"teaches":["core/autoscaling"]},"check":["core/as-headroom-single","core/as-ratio-numeric","core/as-scaleout-order","core/as-lag-two-tier","core/as-metric-single","core/as-flap-two-tier","core/as-tier-two-tier"]},"core/aws-s3-2017":{"concepts":{"teaches":[]},"check":["core/s32017-why-dependents","core/s32017-predict-blast","core/s32017-contributors","core/s32017-restart-drill","core/s32017-status-fix"]},"core/back-of-envelope-lesson":{"concepts":{"teaches":["core/back-of-envelope"]},"check":["core/be-average-single","core/be-given-single"]},"core/backpressure-lesson":{"concepts":{"teaches":["core/backpressure"]},"check":["core/bp-upstream-single","core/bp-buffer-single","core/bp-orders-single"]},"core/bulkhead-lesson":{"concepts":{"teaches":["core/bulkhead"]},"check":["core/bh-tenants-single","core/bh-pools-multi","core/bh-breaker-single"]},"core/cache-aside-lesson":{"concepts":{"teaches":["core/cache-aside"]},"check":["core/aside-numeric-miss-load","core/aside-stale-profile","core/aside-predict-flush-peak"]},"core/cache-basics-lesson":{"concepts":{"teaches":["core/cache-basics"]},"check":["core/cbasics-setting-two-tier","core/cbasics-expire-two-tier","core/cbasics-ttl-single","core/cbasics-evict-multi"]},"core/cache-invalidation-lesson":{"concepts":{"teaches":["core/cache-invalidation"]},"check":["core/inv-guard-single","core/inv-lost-single","core/inv-scope-single"]},"core/cache-stampede-lesson":{"concepts":{"teaches":["core/cache-stampede"]},"check":["core/stampede-triggers-multi","core/fb-why-overwhelmed","core/stampede-fix-multi"]},"core/cap-pacelc-lesson":{"concepts":{"teaches":["core/cap-pacelc"]},"check":["core/pac-mixed-single"]},"core/capacity-math-lesson":{"concepts":{"teaches":["core/capacity-math"]},"check":["core/cm-servers-numeric","core/cm-pools-limit-single","core/cm-sizefor-multi"]},"core/cdn-lesson":{"concepts":{"teaches":["core/cdn"]},"check":["core/cdn-offload-numeric","core/cdn-purge-predict","core/cdn-which-views-single","core/cdn-stale-single","core/cdn-longcache-multi"]},"core/circuit-breaker-lesson":{"concepts":{"teaches":["core/circuit-breaker"]},"check":["core/cb-states-order","core/cb-predict-recovery","core/cb-failfast-threads","core/cb-fallback-payment"]},"core/cloud-billing-lesson":{"concepts":{"teaches":["core/cloud-billing"]},"check":["core/bill-month-numeric","core/bill-total-numeric"]},"core/competing-consumers-lesson":{"concepts":{"teaches":["core/competing-consumers"]},"check":["core/cc-senders-numeric","core/cc-twice-two-tier","core/cc-scale-two-tier"]},"core/connection-pools-lesson":{"concepts":{"teaches":["core/connection-pools"]},"check":["core/cp-cost-multi","core/cp-drain-numeric","core/cp-autoscale-single"]},"core/consistency-models-lesson":{"concepts":{"teaches":["core/consistency-models"]},"check":["core/con-mixed-single"]},"core/consistent-hashing-lesson":{"concepts":{"teaches":["core/consistent-hashing"]},"check":["core/ch-cache-single"]},"core/data-model-lesson":{"concepts":{"teaches":["core/data-model"]},"check":["core/dm-later-single"]},"core/dead-letter-queue-lesson":{"concepts":{"teaches":["core/dead-letter-queue"]},"check":["core/dlq-reason-multi","core/dlq-replay-multi","core/dlq-order-single"]},"core/delivery-semantics-lesson":{"concepts":{"teaches":["core/delivery-semantics"]},"check":["core/ds-sources-multi","core/ds-fifo-two-tier","core/ds-atmost-two-tier"]},"core/discord-messages":{"concepts":{"teaches":[]},"check":["core/dc-era1-move","core/dc-era2-key","core/dc-era2-load","core/dc-era3-more","core/dc-era3-move","core/dc-era3-merged"]},"core/drill-average-lies":{"concepts":{"teaches":[]},"check":["core/drill-alert-p99"]},"core/drill-day-one-services":{"concepts":{"teaches":[]},"check":["core/drill-dayone-start-single","core/drill-dayone-signal-single"]},"core/drill-fan-out":{"concepts":{"teaches":[]},"check":["core/drill-fanout-30"]},"core/drill-hot-database":{"concepts":{"teaches":[]},"check":[]},"core/drill-out-of-memory":{"concepts":{"teaches":[]},"check":[]},"core/drill-red-check":{"concepts":{"teaches":[]},"check":["core/drill-red-violation-multi","core/drill-red-split-single"]},"core/drill-split-the-mess":{"concepts":{"teaches":[]},"check":["core/drill-mess-split-single","core/drill-mess-move-single"]},"core/drill-tiny-services":{"concepts":{"teaches":[]},"check":["core/drill-tiny-avail-numeric","core/drill-tiny-merge-single"]},"core/facebook-2010":{"concepts":{"teaches":[]},"check":["core/fb-why-overwhelmed","core/fb-restart-predict","core/fb-contributors","core/fb-break-loop"]},"core/failure-modes-lesson":{"concepts":{"teaches":["core/failure-modes"]},"check":["core/fm-soft-single","core/fm-shared-single","core/fm-backup-two-tier","core/fm-slow-two-tier","core/fm-cascade-order"]},"core/graceful-degradation-lesson":{"concepts":{"teaches":["core/graceful-degradation"]},"check":["core/gd-choose-two-tier"]},"core/health-checks-lesson":{"concepts":{"teaches":["core/health-checks"]},"check":["core/hc-failover-order"]},"core/high-level-design-lesson":{"concepts":{"teaches":["core/high-level-design"]},"check":["core/hld-inline-single","core/hld-writes-single"]},"core/horizontal-scaling-lesson":{"concepts":{"teaches":["core/horizontal-scaling"]},"check":["core/hs-state-where","core/hs-plan-numeric","core/hs-db-diagnose","core/hs-sticky-two-tier"]},"core/hot-keys-lesson":{"concepts":{"teaches":["core/hot-keys"]},"check":["core/hk-big-single","core/hk-split-cost-single"]},"core/idempotent-consumer-lesson":{"concepts":{"teaches":["core/idempotent-consumer"]},"check":["core/ic-broker-two-tier","core/ic-window-multi"]},"core/instagram-14m":{"concepts":{"teaches":[]},"check":["core/ig-era1-move","core/ig-era1-state","core/ig-era2-move","core/ig-era2-db","core/ig-era3-down","core/ig-era3-move","core/ig-era3-math"]},"core/interview-rubric-lesson":{"concepts":{"teaches":["core/interview-rubric"]},"check":["core/ir-budget-single","core/ir-skip-estimate-single","core/ir-deep-pick-single"]},"core/latency-percentiles-lesson":{"concepts":{"teaches":["core/latency-and-percentiles"]},"check":["core/lat-read-median","core/lat-fanout-grow","core/lat-avg-alert"]},"core/littles-law-lesson":{"concepts":{"teaches":["core/littles-law"]},"check":["core/ll-conclude-multi","core/ll-loadtest-numeric","core/ll-busy-numeric"]},"core/load-balancer-lesson":{"concepts":{"teaches":["core/load-balancer"]},"check":["core/lb-spread-numeric","core/lb-spof","core/lb-detect-numeric","core/lb-algo-choose"]},"core/load-leveling-lesson":{"concepts":{"teaches":["core/load-leveling"]},"check":["core/lv-drain-numeric","core/lv-refuse-two-tier"]},"core/load-shedding-lesson":{"concepts":{"teaches":["core/load-shedding"]},"check":["core/ls-overload-multi","core/ls-cheap-single","core/ls-layers-single"]},"core/memory-disk-network-lesson":{"concepts":{"teaches":["core/memory-disk-network"]},"check":["core/mdn-ladder-order","core/mdn-dominant-two-tier","core/mdn-spill-single"]},"core/microservices-lesson":{"concepts":{"teaches":["core/microservices"]},"check":["core/ms-fit-single","core/ms-free-teams-single"]},"core/modular-monolith-lesson":{"concepts":{"teaches":["core/modular-monolith"]},"check":["core/mm-erode-single","core/mm-flag-single","core/mm-when-single"]},"core/monolith-lesson":{"concepts":{"teaches":["core/monolith"]},"check":["core/mono-signals-multi","core/mono-path-single"]},"core/multi-az-lesson":{"concepts":{"teaches":["core/multi-az"]},"check":["core/az-choose-two-tier"]},"core/multi-region-lesson":{"concepts":{"teaches":["core/multi-region"]},"check":["core/mr-room-two-tier"]},"core/nosql-families-lesson":{"concepts":{"teaches":["core/nosql-families"]},"check":["core/nsq-wide-gives-multi","core/nsq-readmodel-single"]},"core/object-storage-lesson":{"concepts":{"teaches":["core/object-storage"]},"check":["core/os-where-single","core/os-where-two-tier","core/os-db-keeps-single","core/os-upload-order","core/os-scaled-two-tier","core/os-direct-numeric"]},"core/orient-break-it":{"concepts":{"teaches":[]},"check":[]},"core/orient-dashboard":{"concepts":{"teaches":[]},"check":[]},"core/orient-first-system":{"concepts":{"teaches":[]},"check":[]},"core/orient-traffic":{"concepts":{"teaches":[]},"check":[]},"core/prime-video-monitoring":{"concepts":{"teaches":[]},"check":["core/pv-era1-grow","core/pv-era2-signs","core/pv-era2-fix","core/pv-era3-scale","core/pv-lesson-single"]},"core/pub-sub-lesson":{"concepts":{"teaches":["core/pub-sub"]},"check":["core/ps-add-two-tier","core/ps-choose-single"]},"core/quorums-lesson":{"concepts":{"teaches":["core/quorums"]},"check":["core/quo-readheavy-single","core/quo-mixed-single"]},"core/rate-limiting-lesson":{"concepts":{"teaches":["core/rate-limiting"]},"check":["core/rl-bucket-numeric","core/rl-tenant-single","core/rl-key-single"]},"core/read-replicas-lesson":{"concepts":{"teaches":["core/read-replicas"]},"check":["core/rr-split-numeric","core/rr-writes-two-tier","core/rr-lag-order","core/rr-lag-two-tier","core/rr-route-multi","core/rr-route-two-tier"]},"core/relational-indexes-lesson":{"concepts":{"teaches":["core/relational-indexes"]},"check":["core/idx-join-single"]},"core/replication-lag-lesson":{"concepts":{"teaches":["core/replication-lag"]},"check":["core/lag-mixed-single"]},"core/requirements-lesson":{"concepts":{"teaches":["core/requirements"]},"check":["core/rq-change-single","core/rq-adjectives-single"]},"core/retries-lesson":{"concepts":{"teaches":["core/retries"]},"check":["core/rt-backoff-numeric","core/rt-layers-single","core/rt-limit-single"]},"core/right-sizing-lesson":{"concepts":{"teaches":["core/right-sizing"]},"check":["core/rs-recommend-single"]},"core/segment-exactly-once":{"concepts":{"teaches":[]},"check":["core/sg-era1-count","core/sg-era1-choose","core/sg-era2-key","core/sg-era2-route","core/sg-era3-window","core/sg-era3-order"]},"core/server-capacity-lesson":{"concepts":{"teaches":["core/server-capacity"]},"check":["core/cap-knee-mm1","core/cap-find-pool","core/cap-ceiling-predict","core/cap-ceiling-when"]},"core/serverless-vs-always-on-lesson":{"concepts":{"teaches":["core/serverless-vs-always-on"]},"check":["core/sv-pick-multi"]},"core/service-boundaries-lesson":{"concepts":{"teaches":["core/service-boundaries"]},"check":["core/sb-plan-single","core/sb-owners-single"]},"core/sharding-lesson":{"concepts":{"teaches":["core/sharding"]},"check":["core/sh-cross-multi","core/sh-replica-single"]},"core/tier-separation-lesson":{"concepts":{"teaches":["core/tier-separation"]},"check":["core/tier-size-mix","core/tier-cost","core/tier-net-chatty","core/tier-net-worth"]},"core/timeouts-lesson":{"concepts":{"teaches":["core/timeouts"]},"check":["core/to-false-numeric","core/to-deadline-single","core/to-short-two-tier","core/to-long-two-tier"]},"core/write-through-lesson":{"concepts":{"teaches":["core/write-through"]},"check":["core/wt-dbload-numeric","core/wt-lazy-two-tier","core/wt-failure-order"]}},"tours":{"core/tour-outgrew-servers":{"id":"core/tour-outgrew-servers","title":"Heritage tour: when the web outgrew its servers","summary":"Two real launches that hit the wall — and what the teams did next.","editions":[{"id":"2026.1","items":["core/instagram-14m","core/facebook-2010"]}]}},"review":{"objectives":{"core/access-patterns":["list-patterns","denorm-cost","embed-or-reference"],"core/api-design":["resources-methods","paging-retries","sync-async-style"],"core/async-queue":["off-the-path","absorb-bursts","what-can-wait"],"core/autoscale-economics":["peak-vs-curve","safety-costs","base-and-burst"],"core/autoscaling":["follow-traffic","reaction-lag","scaling-metric"],"core/back-of-envelope":["daily-to-rate","latency-orders","number-that-matters"],"core/backpressure":["push-back","backlog","full-policy"],"core/bulkhead":["contain-failure","blast-radius","choose-partitions"],"core/cache-aside":["read-path","staleness","cold-start"],"core/cache-basics":["hit-ratio","ttl-staleness","eviction"],"core/cache-invalidation":["delete-or-update","every-copy","scope"],"core/cache-stampede":["trigger","mitigations"],"core/cap-pacelc":["partition-choice","else-branch","classify-store"],"core/capacity-math":["servers-for-peak","first-limit","size-for"],"core/cdn":["origin-offload","edge-latency","what-to-cache"],"core/circuit-breaker":["states","fail-fast","fallback"],"core/client-server":[],"core/cloud-billing":["name-the-meter","project-month","hidden-lines"],"core/competing-consumers":["scale-until","crash-comes-back","scale-and-order"],"core/connection-pools":["why-pool","pool-drain","size-pool"],"core/consistency-models":["name-the-rung","spot-the-anomaly","pick-the-level"],"core/consistent-hashing":["modulo-moves","ring-lookup","vnodes"],"core/data-model":["entities-from-api","store-by-access","keys-for-queries"],"core/database-basics":[],"core/dead-letter-queue":["poison-loops","set-the-limit","run-the-dlq"],"core/delivery-semantics":["when-you-confirm","where-duplicates","loss-or-repeat"],"core/failure-modes":["serial-availability","slow-vs-dead","redundancy-math"],"core/graceful-degradation":["critical-vs-optional","degraded-outcome","choose-degradation"],"core/health-checks":["what-to-check","detection-window","choose-failover"],"core/high-level-design":["walk-read-write","box-per-requirement","first-to-break"],"core/horizontal-scaling":["stateless","capacity-planning","shared-bottleneck"],"core/hot-keys":["one-key-one-shard","hot-shard-load","cool-the-key"],"core/idempotent-consumer":["key-and-record","natural-or-keyed","window-misses"],"core/interview-rubric":["rubric-dims","time-budget","no-answer-key"],"core/latency-and-percentiles":["read-percentiles","fan-out-tail","averages-mislead"],"core/littles-law":["rate-times-time","solve-third","stable-queue"],"core/load-balancer":["spread-load","health-checks","algorithms"],"core/load-leveling":["steady-rate","drain-time","level-or-refuse"],"core/load-shedding":["why-shed","goodput","where-when"],"core/memory-disk-network":["ladder","dominant-step","local-or-shared"],"core/microservices":["hop-cost","prerequisites","when-not","contain-slow"],"core/modular-monolith":["module-rules","spot-violation","modular-vs-split"],"core/monolith":["monolith-gives","monolith-pain","monolith-first"],"core/multi-az":["spread-zones","static-capacity","zone-design"],"core/multi-region":["near-users","region-failover","data-across-regions"],"core/nosql-families":["name-family","what-you-give-up","off-pattern"],"core/object-storage":["where-files-go","stateless-uploads","direct-access"],"core/pub-sub":["copy-each","fan-out-volume","topic-or-queue"],"core/quorums":["overlap-rule","tune-w-r","quorum-gaps"],"core/rate-limiting":["token-bucket","per-client","set-limits"],"core/read-replicas":["split-reads","replication-lag","route-reads"],"core/relational-indexes":["scan-vs-index","index-cost","pick-index"],"core/replication-lag":["when-stale","ryw-routing","sync-async"],"core/requirements":["fr-vs-nfr","ask-what-changes","nfr-moves-design"],"core/retries":["when-to-retry","backoff-jitter","retry-amplification"],"core/right-sizing":["utilization-vs-size","measure-first","resize-or-remove"],"core/server-capacity":["utilization-knee","find-bottleneck","scale-up-ceiling"],"core/serverless-vs-always-on":["break-even","hidden-behaviour","pick-the-model"],"core/service-boundaries":["cut-by-domain","wrong-cut-signs","conway"],"core/sharding":["writes-scale","shard-load","shard-key"],"core/tier-separation":["independent-sizing","network-cost"],"core/timeouts":["set-timeout","resource-exhaustion"],"core/write-through":["write-path","when-through","through-gaps"]},"items":{"core/ae-base-multi":["core/autoscale-economics#base-and-burst"],"core/ae-commit-single":["core/autoscale-economics#base-and-burst"],"core/ae-floor-numeric":["core/autoscale-economics#safety-costs"],"core/ae-headroom-single":["core/autoscale-economics#safety-costs"],"core/ae-launch-single":["core/autoscale-economics#safety-costs"],"core/ae-predict-flat":["core/autoscale-economics#peak-vs-curve"],"core/ae-predict-follow":["core/autoscale-economics#peak-vs-curve"],"core/ae-predict-max":["core/autoscale-economics#safety-costs"],"core/ae-saving-numeric":["core/autoscale-economics#peak-vs-curve"],"core/ae-scalein-single":["core/autoscale-economics#safety-costs"],"core/ae-schedule-single":["core/autoscale-economics#base-and-burst"],"core/ae-spot-single":["core/autoscale-economics#base-and-burst"],"core/ap-bucket-single":["core/access-patterns#list-patterns"],"core/ap-copystorage-numeric":["core/access-patterns#denorm-cost"],"core/ap-embed-multi":["core/access-patterns#embed-or-reference"],"core/ap-first-two-tier":["core/access-patterns#list-patterns"],"core/ap-indexcopy-single":["core/access-patterns#denorm-cost"],"core/ap-latest-single":["core/access-patterns#list-patterns"],"core/ap-normwins-single":["core/access-patterns#embed-or-reference"],"core/ap-pick-single":["core/access-patterns#embed-or-reference"],"core/ap-predict-copied":["core/access-patterns#embed-or-reference"],"core/ap-predict-evening":["core/access-patterns#embed-or-reference"],"core/ap-predict-rename":["core/access-patterns#denorm-cost"],"core/ap-singletable-single":["core/access-patterns#list-patterns"],"core/api-async-single":["core/api-design#sync-async-style"],"core/api-cursor-twotier":["core/api-design#paging-retries"],"core/api-endpoints-match":["core/api-design#resources-methods"],"core/api-hook-single":["core/api-design#resources-methods"],"core/api-key-order":["core/api-design#paging-retries"],"core/api-key-single":["core/api-design#paging-retries"],"core/api-methods-multi":["core/api-design#resources-methods"],"core/api-offset-single":["core/api-design#paging-retries"],"core/api-refusal-single":["core/api-design#paging-retries"],"core/api-retry-single":["core/api-design#paging-retries"],"core/api-rpc-single":["core/api-design#sync-async-style"],"core/api-sketch-multi":["core/api-design#resources-methods"],"core/api-upload-single":["core/api-design#sync-async-style"],"core/api-verbs-single":["core/api-design#resources-methods"],"core/api-version-single":["core/api-design#resources-methods"],"core/as-db-single":["core/autoscaling#scaling-metric"],"core/as-flap-two-tier":["core/autoscaling#scaling-metric"],"core/as-headroom-single":["core/autoscaling#reaction-lag"],"core/as-lag-two-tier":["core/autoscaling#reaction-lag"],"core/as-metric-single":["core/autoscaling#scaling-metric"],"core/as-night-predict":["core/autoscaling#follow-traffic"],"core/as-ratio-numeric":["core/autoscaling#follow-traffic"],"core/as-scaleout-order":["core/autoscaling#follow-traffic"],"core/as-spike-predict":["core/autoscaling#reaction-lag"],"core/as-tier-two-tier":["core/autoscaling#scaling-metric"],"core/aside-context-hit-ratio":["core/cache-aside#read-path"],"core/aside-numeric-miss-load":["core/cache-aside#read-path"],"core/aside-order-recovery":["core/cache-aside#cold-start"],"core/aside-predict-db-load":["core/cache-aside#read-path"],"core/aside-predict-flush-peak":["core/cache-aside#cold-start"],"core/aside-restart-risk":["core/cache-aside#cold-start"],"core/aside-stale-fixes":["core/cache-aside#staleness"],"core/aside-stale-profile":["core/cache-aside#staleness"],"core/aside-ttl-vs-invalidate":["core/cache-aside#staleness"],"core/az-choose-two-tier":["core/multi-az#zone-design"],"core/az-cost-single":["core/multi-az#zone-design"],"core/az-crosszone-numeric":["core/multi-az#zone-design"],"core/az-four-numeric":["core/multi-az#static-capacity"],"core/az-odds-numeric":["core/multi-az#zone-design"],"core/az-predict-autoscale":["core/multi-az#static-capacity"],"core/az-predict-db":["core/multi-az#spread-zones"],"core/az-predict-two":["core/multi-az#static-capacity"],"core/az-regions-single":["core/multi-az#spread-zones"],"core/az-sizing-numeric":["core/multi-az#static-capacity"],"core/az-slow-single":["core/multi-az#spread-zones"],"core/az-spare-single":["core/multi-az#static-capacity"],"core/az-standby-single":["core/multi-az#zone-design"],"core/az-static-two-tier":["core/multi-az#static-capacity"],"core/az-what-single":["core/multi-az#spread-zones"],"core/az-zonal-multi":["core/multi-az#zone-design"],"core/be-average-single":["core/back-of-envelope#daily-to-rate"],"core/be-bandwidth-numeric":["core/back-of-envelope#daily-to-rate"],"core/be-cancel-single":["core/back-of-envelope#daily-to-rate"],"core/be-day-numeric":["core/back-of-envelope#daily-to-rate"],"core/be-given-single":["core/back-of-envelope#number-that-matters"],"core/be-hook-single":["core/back-of-envelope#number-that-matters"],"core/be-hops-single":["core/back-of-envelope#latency-orders"],"core/be-ladder-match":["core/back-of-envelope#latency-orders"],"core/be-ocean-single":["core/back-of-envelope#latency-orders"],"core/be-peak-numeric":["core/back-of-envelope#daily-to-rate"],"core/be-pow2-numeric":["core/back-of-envelope#daily-to-rate"],"core/be-ratio-numeric":["core/back-of-envelope#daily-to-rate"],"core/be-sanity-multi":["core/back-of-envelope#number-that-matters"],"core/be-split-single":["core/back-of-envelope#number-that-matters"],"core/be-storage-numeric":["core/back-of-envelope#daily-to-rate"],"core/be-tenfold-single":["core/back-of-envelope#daily-to-rate"],"core/bh-bigger-single":["core/bulkhead#contain-failure"],"core/bh-breaker-single":["core/bulkhead#contain-failure"],"core/bh-cost-numeric":["core/bulkhead#choose-partitions"],"core/bh-pool-two-tier":["core/bulkhead#contain-failure"],"core/bh-pools-multi":["core/bulkhead#blast-radius"],"core/bh-predict-bump":["core/bulkhead#choose-partitions"],"core/bh-predict-shared":["core/bulkhead#blast-radius"],"core/bh-predict-split":["core/bulkhead#blast-radius"],"core/bh-servers-single":["core/bulkhead#choose-partitions"],"core/bh-tenants-single":["core/bulkhead#choose-partitions"],"core/bh-where-single":["core/bulkhead#choose-partitions"],"core/bill-double-multi":["core/cloud-billing#project-month"],"core/bill-function-two-tier":["core/cloud-billing#name-the-meter"],"core/bill-gbs-numeric":["core/cloud-billing#project-month"],"core/bill-idle-single":["core/cloud-billing#name-the-meter"],"core/bill-leftover-multi":["core/cloud-billing#hidden-lines"],"core/bill-meters-match":["core/cloud-billing#name-the-meter"],"core/bill-month-numeric":["core/cloud-billing#project-month"],"core/bill-predict-bucket":["core/cloud-billing#name-the-meter"],"core/bill-predict-crash":["core/cloud-billing#name-the-meter"],"core/bill-predict-night":["core/cloud-billing#name-the-meter"],"core/bill-stopped-single":["core/cloud-billing#hidden-lines"],"core/bill-total-numeric":["core/cloud-billing#project-month"],"core/bill-transfer-single":["core/cloud-billing#hidden-lines"],"core/bill-unit-single":["core/cloud-billing#project-month"],"core/bp-buffer-single":["core/backpressure#backlog"],"core/bp-drain-numeric":["core/backpressure#backlog"],"core/bp-hide-two-tier":["core/backpressure#push-back"],"core/bp-orders-single":["core/backpressure#full-policy"],"core/bp-policy-single":["core/backpressure#full-policy"],"core/bp-predict-drop":["core/backpressure#full-policy"],"core/bp-predict-indexed":["core/backpressure#push-back"],"core/bp-predict-wait":["core/backpressure#backlog"],"core/bp-stale-single":["core/backpressure#full-policy"],"core/bp-upstream-single":["core/backpressure#push-back"],"core/cap-ceiling-predict":["core/server-capacity#scale-up-ceiling"],"core/cap-ceiling-resize":["core/server-capacity#scale-up-ceiling"],"core/cap-ceiling-size":["core/server-capacity#scale-up-ceiling"],"core/cap-ceiling-when":["core/server-capacity#scale-up-ceiling"],"core/cap-find-memory":["core/server-capacity#find-bottleneck"],"core/cap-find-pool":["core/server-capacity#find-bottleneck"],"core/cap-find-predict":["core/server-capacity#find-bottleneck"],"core/cap-knee-mm1":["core/server-capacity#utilization-knee"],"core/cap-knee-predict":["core/server-capacity#utilization-knee"],"core/cap-knee-shape":["core/server-capacity#utilization-knee"],"core/cap-knee-target":["core/server-capacity#utilization-knee"],"core/cb-failfast-threads":["core/circuit-breaker#fail-fast"],"core/cb-fallback-needed":["core/circuit-breaker#fallback"],"core/cb-fallback-payment":["core/circuit-breaker#fallback"],"core/cb-fallback-recs":["core/circuit-breaker#fallback"],"core/cb-halfopen-fail":["core/circuit-breaker#states"],"core/cb-halfopen-why":["core/circuit-breaker#states"],"core/cb-predict-load":["core/circuit-breaker#fail-fast"],"core/cb-predict-recovery":["core/circuit-breaker#states"],"core/cb-predict-slow":["core/circuit-breaker#fail-fast"],"core/cb-states-order":["core/circuit-breaker#states"],"core/cb-who-fixes":["core/circuit-breaker#fallback"],"core/cbasics-evict-multi":["core/cache-basics#eviction"],"core/cbasics-expire-two-tier":["core/cache-basics#ttl-staleness"],"core/cbasics-policy-single":["core/cache-basics#eviction"],"core/cbasics-predict-size":["core/cache-basics#eviction"],"core/cbasics-predict-ttl":["core/cache-basics#ttl-staleness"],"core/cbasics-ratio-numeric":["core/cache-basics#hit-ratio"],"core/cbasics-reuse-single":["core/cache-basics#hit-ratio"],"core/cbasics-setting-two-tier":["core/cache-basics#hit-ratio"],"core/cbasics-ttl-single":["core/cache-basics#ttl-staleness"],"core/cc-lost-single":["core/competing-consumers#crash-comes-back"],"core/cc-order-single":["core/competing-consumers#scale-and-order"],"core/cc-per-worker-numeric":["core/competing-consumers#scale-and-order"],"core/cc-predict-crash":["core/competing-consumers#crash-comes-back"],"core/cc-predict-five":["core/competing-consumers#scale-until"],"core/cc-predict-three":["core/competing-consumers#scale-until"],"core/cc-scale-two-tier":["core/competing-consumers#scale-and-order"],"core/cc-senders-numeric":["core/competing-consumers#scale-until"],"core/cc-share-multi":["core/competing-consumers#scale-and-order"],"core/cc-slow-single":["core/competing-consumers#crash-comes-back"],"core/cc-twice-two-tier":["core/competing-consumers#crash-comes-back"],"core/cdn-edge-why-single":["core/cdn#edge-latency"],"core/cdn-expire-order":["core/cdn#origin-offload"],"core/cdn-feed-single":["core/cdn#what-to-cache"],"core/cdn-longcache-multi":["core/cdn#what-to-cache"],"core/cdn-miss-two-tier":["core/cdn#edge-latency"],"core/cdn-offload-numeric":["core/cdn#origin-offload"],"core/cdn-offload-predict":["core/cdn#origin-offload"],"core/cdn-purge-predict":["core/cdn#origin-offload"],"core/cdn-stale-single":["core/cdn#what-to-cache"],"core/cdn-which-views-single":["core/cdn#edge-latency"],"core/ch-cache-single":["core/consistent-hashing#modulo-moves"],"core/ch-hot-single":["core/consistent-hashing#ring-lookup"],"core/ch-join-multi":["core/consistent-hashing#ring-lookup"],"core/ch-neighbour-single":["core/consistent-hashing#vnodes"],"core/ch-owner-single":["core/consistent-hashing#ring-lookup"],"core/ch-predict-mod":["core/consistent-hashing#modulo-moves"],"core/ch-predict-one-point":["core/consistent-hashing#vnodes"],"core/ch-predict-remove":["core/consistent-hashing#vnodes"],"core/ch-predict-ring":["core/consistent-hashing#modulo-moves"],"core/ch-slots-single":["core/consistent-hashing#ring-lookup"],"core/ch-uses-single":["core/consistent-hashing#ring-lookup"],"core/ch-vnodecost-single":["core/consistent-hashing#vnodes"],"core/ch-vnodes-two-tier":["core/consistent-hashing#vnodes"],"core/cm-burst-single":["core/capacity-math#size-for"],"core/cm-conns-numeric":["core/capacity-math#first-limit"],"core/cm-db-numeric":["core/capacity-math#first-limit"],"core/cm-firstlimit-single":["core/capacity-math#first-limit"],"core/cm-loadtest-single":["core/capacity-math#size-for"],"core/cm-pools-limit-single":["core/capacity-math#first-limit"],"core/cm-predict-average":["core/capacity-math#servers-for-peak"],"core/cm-predict-exact":["core/capacity-math#servers-for-peak"],"core/cm-roundup-single":["core/capacity-math#servers-for-peak"],"core/cm-servers-numeric":["core/capacity-math#servers-for-peak"],"core/cm-sizefor-multi":["core/capacity-math#size-for"],"core/con-back-single":["core/consistency-models#spot-the-anomaly"],"core/con-cosmos-single":["core/consistency-models#pick-the-level"],"core/con-dynamo-single":["core/consistency-models#pick-the-level"],"core/con-eventual-single":["core/consistency-models#name-the-rung"],"core/con-hook-single":["core/consistency-models#spot-the-anomaly"],"core/con-likes-single":["core/consistency-models#pick-the-level"],"core/con-linear-single":["core/consistency-models#name-the-rung"],"core/con-match-multi":["core/consistency-models#spot-the-anomaly"],"core/con-mixed-single":["core/consistency-models#pick-the-level"],"core/con-predict-eventual":["core/consistency-models#name-the-rung"],"core/con-predict-screens":["core/consistency-models#pick-the-level"],"core/con-reply-single":["core/consistency-models#spot-the-anomaly"],"core/con-ryw-two-tier":["core/consistency-models#name-the-rung"],"core/con-settle-two-tier":["core/consistency-models#pick-the-level"],"core/cp-autoscale-single":["core/connection-pools#size-pool"],"core/cp-bigger-two-tier":["core/connection-pools#size-pool"],"core/cp-cost-multi":["core/connection-pools#why-pool"],"core/cp-drain-numeric":["core/connection-pools#pool-drain"],"core/cp-instances-numeric":["core/connection-pools#size-pool"],"core/cp-predict-bigger":["core/connection-pools#size-pool"],"core/cp-predict-drain":["core/connection-pools#pool-drain"],"core/cp-reuse-order":["core/connection-pools#why-pool"],"core/cp-wait-single":["core/connection-pools#pool-drain"],"core/cp-why-single":["core/connection-pools#why-pool"],"core/dc-era1-move":["core/sharding#writes-scale"],"core/dc-era2-key":["core/access-patterns#list-patterns"],"core/dc-era2-load":["core/sharding#shard-load"],"core/dc-era3-merged":["core/hot-keys#cool-the-key"],"core/dc-era3-more":["core/hot-keys#one-key-one-shard"],"core/dc-era3-move":["core/hot-keys#cool-the-key"],"core/dlq-alarm-single":["core/dead-letter-queue#run-the-dlq"],"core/dlq-attempts-numeric":["core/dead-letter-queue#poison-loops"],"core/dlq-explicit-single":["core/dead-letter-queue#set-the-limit"],"core/dlq-limit-one-two-tier":["core/dead-letter-queue#set-the-limit"],"core/dlq-loop-two-tier":["core/dead-letter-queue#poison-loops"],"core/dlq-order-single":["core/dead-letter-queue#run-the-dlq"],"core/dlq-poison-single":["core/dead-letter-queue#poison-loops"],"core/dlq-predict-limit":["core/dead-letter-queue#poison-loops"],"core/dlq-predict-outage":["core/dead-letter-queue#set-the-limit"],"core/dlq-reason-multi":["core/dead-letter-queue#run-the-dlq"],"core/dlq-replay-multi":["core/dead-letter-queue#run-the-dlq"],"core/dlq-retention-single":["core/dead-letter-queue#set-the-limit"],"core/dm-access-match":["core/data-model#store-by-access"],"core/dm-bounded-single":["core/data-model#entities-from-api"],"core/dm-cardinality-match":["core/data-model#entities-from-api"],"core/dm-copy-single":["core/data-model#keys-for-queries"],"core/dm-cross-single":["core/data-model#keys-for-queries"],"core/dm-hook-single":["core/data-model#store-by-access"],"core/dm-index-single":["core/data-model#keys-for-queries"],"core/dm-later-single":["core/data-model#keys-for-queries"],"core/dm-membership-single":["core/data-model#entities-from-api"],"core/dm-nosql-single":["core/data-model#store-by-access"],"core/dm-partition-twotier":["core/data-model#keys-for-queries"],"core/dm-paths-multi":["core/data-model#keys-for-queries"],"core/dm-reason-single":["core/data-model#store-by-access"],"core/dm-scan-single":["core/data-model#keys-for-queries"],"core/dm-stores-multi":["core/data-model#store-by-access"],"core/drill-alert-p99":["core/latency-and-percentiles#averages-mislead"],"core/drill-dayone-signal-single":["core/monolith#monolith-first"],"core/drill-dayone-start-single":["core/microservices#when-not"],"core/drill-fanout-30":["core/latency-and-percentiles#fan-out-tail"],"core/drill-hot-db-spot":["core/cache-aside#read-path"],"core/drill-mess-move-single":["core/modular-monolith#modular-vs-split"],"core/drill-mess-split-single":["core/monolith#monolith-pain"],"core/drill-red-split-single":["core/service-boundaries#wrong-cut-signs"],"core/drill-red-violation-multi":["core/modular-monolith#spot-violation"],"core/drill-tiny-avail-numeric":["core/microservices#hop-cost"],"core/drill-tiny-merge-single":["core/service-boundaries#cut-by-domain"],"core/ds-atmost-two-tier":["core/delivery-semantics#loss-or-repeat"],"core/ds-choose-multi":["core/delivery-semantics#loss-or-repeat"],"core/ds-confirm-single":["core/delivery-semantics#when-you-confirm"],"core/ds-copies-numeric":["core/delivery-semantics#where-duplicates"],"core/ds-exactly-single":["core/delivery-semantics#loss-or-repeat"],"core/ds-fifo-two-tier":["core/delivery-semantics#loss-or-repeat"],"core/ds-kafka-two-tier":["core/delivery-semantics#when-you-confirm"],"core/ds-predict-atmost":["core/delivery-semantics#when-you-confirm"],"core/ds-predict-lostack":["core/delivery-semantics#where-duplicates"],"core/ds-redeliver-single":["core/delivery-semantics#where-duplicates"],"core/ds-resend-single":["core/delivery-semantics#where-duplicates"],"core/ds-sources-multi":["core/delivery-semantics#where-duplicates"],"core/dy-era1-predict":["core/quorums#overlap-rule"],"core/dy-era1-tune":["core/quorums#tune-w-r"],"core/dy-era2-sloppy":["core/quorums#quorum-gaps"],"core/dy-era3-merge":["core/quorums#quorum-gaps"],"core/dy-era3-repair":["core/quorums#quorum-gaps"],"core/fb-break-loop":["core/cache-stampede#mitigations"],"core/fb-contributors":["core/cache-stampede#trigger","core/cache-stampede#mitigations"],"core/fb-restart-predict":["core/cache-stampede#trigger","core/cache-aside#cold-start"],"core/fb-why-overwhelmed":["core/cache-stampede#trigger"],"core/fm-add-dep-single":["core/failure-modes#serial-availability"],"core/fm-backup-two-tier":["core/failure-modes#redundancy-math"],"core/fm-cascade-order":["core/failure-modes#slow-vs-dead"],"core/fm-chain-numeric":["core/failure-modes#serial-availability"],"core/fm-downtime-numeric":["core/failure-modes#serial-availability"],"core/fm-pair-numeric":["core/failure-modes#redundancy-math"],"core/fm-shared-single":["core/failure-modes#redundancy-math"],"core/fm-slow-single":["core/failure-modes#slow-vs-dead"],"core/fm-slow-two-tier":["core/failure-modes#slow-vs-dead"],"core/fm-soft-single":["core/failure-modes#serial-availability"],"core/gd-breaker-single":["core/graceful-degradation#degraded-outcome"],"core/gd-cachefallback-single":["core/graceful-degradation#choose-degradation"],"core/gd-choose-two-tier":["core/graceful-degradation#choose-degradation"],"core/gd-classify-multi":["core/graceful-degradation#critical-vs-optional"],"core/gd-config-single":["core/graceful-degradation#choose-degradation"],"core/gd-exercise-single":["core/graceful-degradation#choose-degradation"],"core/gd-fallback-single":["core/graceful-degradation#choose-degradation"],"core/gd-instead-single":["core/graceful-degradation#choose-degradation"],"core/gd-killswitch-single":["core/graceful-degradation#choose-degradation"],"core/gd-mode-multi":["core/graceful-degradation#degraded-outcome"],"core/gd-payment-two-tier":["core/graceful-degradation#choose-degradation"],"core/gd-predict-optional":["core/graceful-degradation#degraded-outcome"],"core/gd-predict-trap":["core/graceful-degradation#degraded-outcome"],"core/gd-predict-waits":["core/graceful-degradation#critical-vs-optional"],"core/gd-shed-vs-degrade-single":["core/graceful-degradation#choose-degradation"],"core/gd-soft-single":["core/graceful-degradation#critical-vs-optional"],"core/gd-stale-single":["core/graceful-degradation#degraded-outcome"],"core/gd-waiting-single":["core/graceful-degradation#critical-vs-optional"],"core/hc-alb-numeric":["core/health-checks#detection-window"],"core/hc-blackhole-single":["core/health-checks#detection-window"],"core/hc-deep-multi":["core/health-checks#what-to-check"],"core/hc-failopen-single":["core/health-checks#choose-failover"],"core/hc-failover-order":["core/health-checks#choose-failover"],"core/hc-faster-single":["core/health-checks#detection-window"],"core/hc-gcp-numeric":["core/health-checks#detection-window"],"core/hc-levels-single":["core/health-checks#what-to-check"],"core/hc-overload-single":["core/health-checks#what-to-check"],"core/hc-predict-dead":["core/health-checks#detection-window"],"core/hc-predict-standby":["core/health-checks#choose-failover"],"core/hc-predict-trap":["core/health-checks#what-to-check"],"core/hc-restart-single":["core/health-checks#what-to-check"],"core/hc-running-two-tier":["core/health-checks#what-to-check"],"core/hc-split-single":["core/health-checks#choose-failover"],"core/hc-standby-reads-single":["core/health-checks#choose-failover"],"core/hc-twoprimaries-single":["core/health-checks#choose-failover"],"core/hk-adaptive-single":["core/hot-keys#cool-the-key"],"core/hk-big-single":["core/hot-keys#hot-shard-load"],"core/hk-ceiling-single":["core/hot-keys#one-key-one-shard"],"core/hk-fix-single":["core/hot-keys#cool-the-key"],"core/hk-frequency-single":["core/hot-keys#cool-the-key"],"core/hk-monotonic-single":["core/hot-keys#cool-the-key"],"core/hk-predict-celebrity":["core/hot-keys#hot-shard-load"],"core/hk-predict-six":["core/hot-keys#one-key-one-shard"],"core/hk-predict-split":["core/hot-keys#cool-the-key"],"core/hk-ring-two-tier":["core/hot-keys#one-key-one-shard"],"core/hk-room-single":["core/hot-keys#hot-shard-load"],"core/hk-split-cost-single":["core/hot-keys#cool-the-key"],"core/hk-stampede-single":["core/hot-keys#hot-shard-load"],"core/hld-break-single":["core/high-level-design#first-to-break"],"core/hld-bytes-single":["core/high-level-design#box-per-requirement"],"core/hld-cache-single":["core/high-level-design#box-per-requirement"],"core/hld-deep-single":["core/high-level-design#first-to-break"],"core/hld-earn-multi":["core/high-level-design#box-per-requirement"],"core/hld-hook-single":["core/high-level-design#box-per-requirement"],"core/hld-inline-single":["core/high-level-design#walk-read-write"],"core/hld-lb-twotier":["core/high-level-design#first-to-break"],"core/hld-open-match":["core/high-level-design#walk-read-write"],"core/hld-read-order":["core/high-level-design#walk-read-write"],"core/hld-spof-single":["core/high-level-design#box-per-requirement"],"core/hld-wait-multi":["core/high-level-design#walk-read-write"],"core/hld-why-match":["core/high-level-design#box-per-requirement"],"core/hld-write-order":["core/high-level-design#walk-read-write"],"core/hld-writes-single":["core/high-level-design#first-to-break"],"core/hs-db-diagnose":["core/horizontal-scaling#shared-bottleneck"],"core/hs-db-predict":["core/horizontal-scaling#shared-bottleneck"],"core/hs-linear-two-tier":["core/horizontal-scaling#shared-bottleneck"],"core/hs-n1-predict":["core/horizontal-scaling#capacity-planning"],"core/hs-plan-numeric":["core/horizontal-scaling#capacity-planning"],"core/hs-plan-survivors":["core/horizontal-scaling#capacity-planning"],"core/hs-state-fix":["core/horizontal-scaling#stateless"],"core/hs-state-where":["core/horizontal-scaling#stateless"],"core/hs-stateless-what":["core/horizontal-scaling#stateless"],"core/hs-sticky-two-tier":["core/horizontal-scaling#stateless"],"core/ic-broker-two-tier":["core/idempotent-consumer#window-misses"],"core/ic-copies-numeric":["core/idempotent-consumer#key-and-record"],"core/ic-inprogress-single":["core/idempotent-consumer#natural-or-keyed"],"core/ic-key-single":["core/idempotent-consumer#key-and-record"],"core/ic-natural-multi":["core/idempotent-consumer#natural-or-keyed"],"core/ic-natural-single":["core/idempotent-consumer#natural-or-keyed"],"core/ic-pass-key-two-tier":["core/idempotent-consumer#natural-or-keyed"],"core/ic-predict-keyed":["core/idempotent-consumer#key-and-record"],"core/ic-predict-late":["core/idempotent-consumer#natural-or-keyed"],"core/ic-race-single":["core/idempotent-consumer#key-and-record"],"core/ic-record-after-two-tier":["core/idempotent-consumer#key-and-record"],"core/ic-subscribers-single":["core/idempotent-consumer#key-and-record"],"core/ic-window-multi":["core/idempotent-consumer#window-misses"],"core/idx-btree-numeric":["core/relational-indexes#scan-vs-index"],"core/idx-drop-multi":["core/relational-indexes#index-cost"],"core/idx-explain-single":["core/relational-indexes#pick-index","core/relational-indexes#index-cost"],"core/idx-grow-single":["core/relational-indexes#scan-vs-index"],"core/idx-join-single":["core/relational-indexes#pick-index"],"core/idx-order-single":["core/relational-indexes#pick-index"],"core/idx-pick-single":["core/relational-indexes#pick-index"],"core/idx-predict-adds":["core/relational-indexes#scan-vs-index"],"core/idx-predict-indexed":["core/relational-indexes#scan-vs-index"],"core/idx-predict-rush":["core/relational-indexes#scan-vs-index"],"core/idx-wide-single":["core/relational-indexes#index-cost"],"core/idx-writecost-single":["core/relational-indexes#index-cost"],"core/ig-era1-move":["core/load-balancer#spread-load","core/server-capacity#scale-up-ceiling"],"core/ig-era1-state":["core/horizontal-scaling#stateless"],"core/ig-era2-db":["core/cache-aside#read-path"],"core/ig-era2-move":["core/horizontal-scaling#shared-bottleneck"],"core/ig-era3-down":["core/cache-aside#read-path"],"core/ig-era3-math":["core/failure-modes#redundancy-math"],"core/ig-era3-move":["core/failure-modes#redundancy-math","core/server-capacity#scale-up-ceiling"],"core/inv-delete-two-tier":["core/cache-invalidation#delete-or-update"],"core/inv-flush-two-tier":["core/cache-invalidation#scope"],"core/inv-guard-single":["core/cache-invalidation#delete-or-update"],"core/inv-local-single":["core/cache-invalidation#every-copy"],"core/inv-lost-single":["core/cache-invalidation#every-copy"],"core/inv-predict-flush":["core/cache-invalidation#scope"],"core/inv-race-order":["core/cache-invalidation#delete-or-update"],"core/inv-scope-single":["core/cache-invalidation#scope"],"core/inv-ttl-multi":["core/cache-invalidation#every-copy"],"core/ir-boxes-single":["core/interview-rubric#no-answer-key"],"core/ir-budget-single":["core/interview-rubric#time-budget"],"core/ir-clarify-long-single":["core/interview-rubric#time-budget"],"core/ir-comm-single":["core/interview-rubric#rubric-dims"],"core/ir-credit-multi":["core/interview-rubric#no-answer-key"],"core/ir-deep-pick-single":["core/interview-rubric#rubric-dims"],"core/ir-evidence-match":["core/interview-rubric#rubric-dims"],"core/ir-hook-single":["core/interview-rubric#rubric-dims"],"core/ir-overrun-single":["core/interview-rubric#time-budget"],"core/ir-quiet-single":["core/interview-rubric#rubric-dims"],"core/ir-silent-single":["core/interview-rubric#rubric-dims"],"core/ir-skip-estimate-single":["core/interview-rubric#time-budget"],"core/ir-two-designs-single":["core/interview-rubric#no-answer-key"],"core/lag-failover-single":["core/replication-lag#sync-async"],"core/lag-grows-multi":["core/replication-lag#when-stale"],"core/lag-mixed-single":["core/replication-lag#sync-async"],"core/lag-mono-single":["core/replication-lag#when-stale"],"core/lag-predict-burst":["core/replication-lag#ryw-routing"],"core/lag-predict-pinned":["core/replication-lag#ryw-routing"],"core/lag-predict-steps":["core/replication-lag#when-stale"],"core/lag-route-single":["core/replication-lag#ryw-routing"],"core/lag-ryw-single":["core/replication-lag#ryw-routing"],"core/lag-sync-two-tier":["core/replication-lag#sync-async"],"core/lag-token-two-tier":["core/replication-lag#ryw-routing"],"core/lag-vanish-single":["core/replication-lag#when-stale"],"core/lat-avg-alert":["core/latency-and-percentiles#averages-mislead"],"core/lat-avg-merge":["core/latency-and-percentiles#averages-mislead"],"core/lat-avg-predict-burst":["core/latency-and-percentiles#averages-mislead"],"core/lat-avg-targets":["core/latency-and-percentiles#averages-mislead"],"core/lat-fanout-fix":["core/latency-and-percentiles#fan-out-tail"],"core/lat-fanout-grow":["core/latency-and-percentiles#fan-out-tail"],"core/lat-fanout-numeric":["core/latency-and-percentiles#fan-out-tail"],"core/lat-read-median":["core/latency-and-percentiles#read-percentiles"],"core/lat-read-p99":["core/latency-and-percentiles#read-percentiles"],"core/lat-read-volume":["core/latency-and-percentiles#read-percentiles"],"core/lb-algo-choose":["core/load-balancer#algorithms"],"core/lb-algo-predict":["core/load-balancer#algorithms"],"core/lb-algo-same":["core/load-balancer#algorithms"],"core/lb-detect-numeric":["core/load-balancer#health-checks"],"core/lb-fail-predict":["core/load-balancer#health-checks"],"core/lb-health-what":["core/load-balancer#health-checks"],"core/lb-one-predict":["core/load-balancer#spread-load"],"core/lb-spof":["core/load-balancer#health-checks"],"core/lb-spread-numeric":["core/load-balancer#spread-load"],"core/lb-spread-predict":["core/load-balancer#spread-load"],"core/ll-boundary-single":["core/littles-law#rate-times-time"],"core/ll-busy-numeric":["core/littles-law#stable-queue"],"core/ll-conclude-multi":["core/littles-law#rate-times-time"],"core/ll-full-two-tier":["core/littles-law#stable-queue"],"core/ll-gauge-two-tier":["core/littles-law#rate-times-time"],"core/ll-levels-off-single":["core/littles-law#stable-queue"],"core/ll-loadtest-numeric":["core/littles-law#solve-third"],"core/ll-predict-normal":["core/littles-law#solve-third"],"core/ll-predict-slow":["core/littles-law#solve-third"],"core/ll-wait-numeric":["core/littles-law#solve-third"],"core/ls-autoscale-single":["core/load-shedding#why-shed"],"core/ls-cheap-single":["core/load-shedding#why-shed"],"core/ls-goodput-two-tier":["core/load-shedding#why-shed"],"core/ls-layers-single":["core/load-shedding#where-when"],"core/ls-median-single":["core/load-shedding#goodput"],"core/ls-overload-multi":["core/load-shedding#goodput"],"core/ls-predict-full":["core/load-shedding#goodput"],"core/ls-predict-none":["core/load-shedding#goodput"],"core/ls-priority-multi":["core/load-shedding#where-when"],"core/ls-when-single":["core/load-shedding#where-when"],"core/lv-backlog-numeric":["core/load-leveling#drain-time"],"core/lv-choose-single":["core/load-leveling#level-or-refuse"],"core/lv-drain-numeric":["core/load-leveling#drain-time"],"core/lv-drain-two-tier":["core/load-leveling#drain-time"],"core/lv-predict-down":["core/load-leveling#steady-rate"],"core/lv-predict-drain":["core/load-leveling#drain-time"],"core/lv-predict-overpaced":["core/load-leveling#steady-rate"],"core/lv-predict-wave":["core/load-leveling#steady-rate"],"core/lv-refuse-two-tier":["core/load-leveling#level-or-refuse"],"core/lv-size-single":["core/load-leveling#steady-rate"],"core/lv-when-multi":["core/load-leveling#level-or-refuse"],"core/mdn-copies-multi":["core/memory-disk-network#local-or-shared"],"core/mdn-disk-numeric":["core/memory-disk-network#ladder"],"core/mdn-dominant-two-tier":["core/memory-disk-network#dominant-step"],"core/mdn-far-single":["core/memory-disk-network#dominant-step"],"core/mdn-hop-single":["core/memory-disk-network#ladder"],"core/mdn-ladder-order":["core/memory-disk-network#ladder"],"core/mdn-page-numeric":["core/memory-disk-network#dominant-step"],"core/mdn-spill-single":["core/memory-disk-network#local-or-shared"],"core/mdn-ssd-two-tier":["core/memory-disk-network#ladder"],"core/mdn-where-single":["core/memory-disk-network#local-or-shared"],"core/mm-choose-single":["core/modular-monolith#modular-vs-split"],"core/mm-cost-two-tier":["core/modular-monolith#spot-violation"],"core/mm-data-two-tier":["core/modular-monolith#module-rules"],"core/mm-erode-single":["core/modular-monolith#module-rules"],"core/mm-flag-single":["core/modular-monolith#spot-violation"],"core/mm-hook-single":["core/modular-monolith#spot-violation"],"core/mm-layers-single":["core/modular-monolith#module-rules"],"core/mm-pr-multi":["core/modular-monolith#spot-violation"],"core/mm-rules-match":["core/modular-monolith#module-rules"],"core/mm-shopify-multi":["core/modular-monolith#modular-vs-split"],"core/mm-tool-single":["core/modular-monolith#module-rules"],"core/mm-when-single":["core/modular-monolith#modular-vs-split"],"core/mono-call-single":["core/monolith#monolith-gives"],"core/mono-define-single":["core/monolith#monolith-first"],"core/mono-gifts-match":["core/monolith#monolith-gives"],"core/mono-hook-single":["core/monolith#monolith-pain"],"core/mono-move-single":["core/monolith#monolith-gives"],"core/mono-mud-two-tier":["core/monolith#monolith-pain"],"core/mono-path-single":["core/monolith#monolith-first"],"core/mono-relieve-multi":["core/monolith#monolith-pain"],"core/mono-scale-single":["core/monolith#monolith-pain"],"core/mono-signals-multi":["core/monolith#monolith-first"],"core/mono-start-single":["core/monolith#monolith-first"],"core/mono-tx-two-tier":["core/monolith#monolith-gives"],"core/mr-cdn-single":["core/multi-region#near-users"],"core/mr-conflict-two-tier":["core/multi-region#data-across-regions"],"core/mr-cost-single":["core/multi-region#region-failover"],"core/mr-home-single":["core/multi-region#data-across-regions"],"core/mr-predict-down":["core/multi-region#region-failover"],"core/mr-predict-home":["core/multi-region#near-users"],"core/mr-predict-servers":["core/multi-region#near-users"],"core/mr-room-two-tier":["core/multi-region#region-failover"],"core/mr-servers-single":["core/multi-region#near-users"],"core/mr-stale-single":["core/multi-region#data-across-regions"],"core/mr-sync-single":["core/multi-region#data-across-regions"],"core/mr-window-single":["core/multi-region#region-failover"],"core/mr-zones-single":["core/multi-region#region-failover"],"core/ms-avail-numeric":["core/microservices#hop-cost"],"core/ms-chain-single":["core/microservices#hop-cost"],"core/ms-compat-single":["core/microservices#prerequisites"],"core/ms-contain-match":["core/microservices#contain-slow"],"core/ms-fallacies-multi":["core/microservices#hop-cost"],"core/ms-faster-single":["core/microservices#hop-cost"],"core/ms-fit-single":["core/microservices#when-not"],"core/ms-free-teams-single":["core/microservices#when-not"],"core/ms-more-available-two-tier":["core/microservices#hop-cost"],"core/ms-premium-single":["core/microservices#prerequisites"],"core/ms-prereq-multi":["core/microservices#prerequisites"],"core/ms-queue-two-tier":["core/microservices#contain-slow"],"core/ms-slow-inventory-single":["core/microservices#contain-slow"],"core/nsq-chat-single":["core/nosql-families#name-family"],"core/nsq-city-single":["core/nosql-families#off-pattern"],"core/nsq-expenses-single":["core/nosql-families#name-family"],"core/nsq-family-match":["core/nosql-families#name-family"],"core/nsq-filter-two-tier":["core/nosql-families#off-pattern"],"core/nsq-fraud-single":["core/nosql-families#name-family"],"core/nsq-readmodel-single":["core/nosql-families#off-pattern"],"core/nsq-rent-single":["core/nosql-families#off-pattern"],"core/nsq-schema-single":["core/nosql-families#what-you-give-up"],"core/nsq-session-single":["core/nosql-families#name-family"],"core/nsq-tx-two-tier":["core/nosql-families#what-you-give-up"],"core/nsq-wide-gives-multi":["core/nosql-families#what-you-give-up"],"core/os-db-keeps-single":["core/object-storage#where-files-go"],"core/os-direct-numeric":["core/object-storage#direct-access"],"core/os-direct-predict":["core/object-storage#direct-access"],"core/os-disk-single":["core/object-storage#stateless-uploads"],"core/os-scaled-two-tier":["core/object-storage#stateless-uploads"],"core/os-upload-order":["core/object-storage#stateless-uploads"],"core/os-valet-single":["core/object-storage#direct-access"],"core/os-where-single":["core/object-storage#where-files-go"],"core/os-where-two-tier":["core/object-storage#where-files-go"],"core/pac-ap-single":["core/cap-pacelc#else-branch"],"core/pac-ca-two-tier":["core/cap-pacelc#partition-choice"],"core/pac-classify-single":["core/cap-pacelc#classify-store"],"core/pac-cosmos-single":["core/cap-pacelc#classify-store"],"core/pac-daily-single":["core/cap-pacelc#else-branch"],"core/pac-hook-single":["core/cap-pacelc#partition-choice"],"core/pac-letters-single":["core/cap-pacelc#partition-choice"],"core/pac-mixed-single":["core/cap-pacelc#classify-store"],"core/pac-neither-two-tier":["core/cap-pacelc#classify-store"],"core/pac-ops-multi":["core/cap-pacelc#classify-store"],"core/pac-predict-else":["core/cap-pacelc#else-branch"],"core/pac-spanner-single":["core/cap-pacelc#classify-store"],"core/pac-timeout-single":["core/cap-pacelc#partition-choice"],"core/pay-api-key-single":["core/api-design#paging-retries","core/idempotent-consumer#key-and-record"],"core/pay-clarify-moves-multi":["core/requirements#ask-what-changes"],"core/pay-clarify-strict-single":["core/requirements#nfr-moves-design","core/consistency-models#pick-the-level"],"core/pay-data-amount-single":["core/payment-ledger#model-money"],"core/pay-data-entries-numeric":["core/payment-ledger#model-money"],"core/pay-data-ledger-single":["core/payment-ledger#model-money"],"core/pay-dd-ambiguous-multi":["core/delivery-semantics#where-duplicates"],"core/pay-dd-outbox-single":["core/payment-ledger#charge-once"],"core/pay-dd-recon-single":["core/payment-ledger#hold-the-truth"],"core/pay-dd-timeout-single":["core/payment-ledger#charge-once"],"core/pay-dd-webhook-single":["core/payment-ledger#charge-once","core/idempotent-consumer#key-and-record"],"core/pay-dd-window-single":["core/idempotent-consumer#window-misses","core/payment-ledger#charge-once"],"core/pay-est-meaning-single":["core/back-of-envelope#number-that-matters","core/data-model#store-by-access"],"core/pay-est-rate-numeric":["core/back-of-envelope#daily-to-rate"],"core/pay-est-storage-numeric":["core/back-of-envelope#number-that-matters"],"core/pay-hl-break-single":["core/high-level-design#first-to-break"],"core/pay-hl-double-single":["core/idempotent-consumer#key-and-record","core/relational-indexes#pick-index"],"core/pay-hl-store-single":["core/data-model#store-by-access","core/payment-ledger#model-money"],"core/pay-hl-walk-order":["core/high-level-design#walk-read-write","core/payment-ledger#charge-once"],"core/pay-to-exactly-two-tier":["core/delivery-semantics#loss-or-repeat"],"core/pay-to-strong-two-tier":["core/consistency-models#pick-the-level"],"core/pay-twist-hot-single":["core/payment-ledger#hold-the-truth","core/hot-keys#cool-the-key"],"core/pf-celeb-single":["core/pub-sub#fan-out-volume"],"core/pf-clarify-fresh-single":["core/async-queue#what-can-wait"],"core/pf-clarify-scope-multi":["core/pub-sub#fan-out-volume"],"core/pf-est-celeb-numeric":["core/pub-sub#fan-out-volume"],"core/pf-est-pull-numeric":["core/sharding#shard-load"],"core/pf-est-push-numeric":["core/pub-sub#fan-out-volume"],"core/pf-feed-ids-single":["core/pub-sub#copy-each"],"core/pf-feed-key-single":["core/sharding#shard-key"],"core/pf-hybrid-two-tier":["core/pub-sub#fan-out-volume"],"core/pf-likes-hot-single":["core/hot-keys#hot-shard-load"],"core/pf-pull-tail-single":["core/latency-and-percentiles#fan-out-tail"],"core/pf-push-two-tier":["core/pub-sub#fan-out-volume","core/latency-and-percentiles#fan-out-tail"],"core/ps-add-two-tier":["core/pub-sub#copy-each"],"core/ps-choose-single":["core/pub-sub#topic-or-queue"],"core/ps-combine-single":["core/pub-sub#topic-or-queue"],"core/ps-copy-single":["core/pub-sub#copy-each"],"core/ps-down-single":["core/pub-sub#fan-out-volume"],"core/ps-kind-multi":["core/pub-sub#topic-or-queue"],"core/ps-predict-publisher":["core/pub-sub#copy-each"],"core/ps-predict-slow":["core/pub-sub#fan-out-volume"],"core/ps-quota-single":["core/pub-sub#fan-out-volume"],"core/ps-shared-queue-single":["core/pub-sub#copy-each"],"core/ps-volume-numeric":["core/pub-sub#fan-out-volume"],"core/pv-era1-grow":["core/microservices#hop-cost"],"core/pv-era2-fix":["core/monolith#monolith-gives"],"core/pv-era2-signs":["core/service-boundaries#wrong-cut-signs"],"core/pv-era3-scale":["core/monolith#monolith-pain"],"core/pv-lesson-single":["core/microservices#when-not"],"core/q-async-multi":["core/async-queue#what-can-wait"],"core/q-backlog-predict":["core/async-queue#absorb-bursts"],"core/q-burst-order":["core/async-queue#absorb-bursts"],"core/q-fix-single":["core/async-queue#absorb-bursts"],"core/q-growth-numeric":["core/async-queue#absorb-bursts"],"core/q-later-two-tier":["core/async-queue#off-the-path"],"core/q-open-at-once-single":["core/async-queue#off-the-path"],"core/q-reply-two-tier":["core/async-queue#what-can-wait"],"core/q-stay-single":["core/async-queue#what-can-wait"],"core/q-upload-predict":["core/async-queue#off-the-path"],"core/quo-cosmos-single":["core/quorums#tune-w-r"],"core/quo-failedwrite-single":["core/quorums#quorum-gaps"],"core/quo-hook-single":["core/quorums#overlap-rule"],"core/quo-levels-single":["core/quorums#tune-w-r"],"core/quo-linear-two-tier":["core/quorums#quorum-gaps"],"core/quo-mixed-single":["core/quorums#tune-w-r"],"core/quo-morecopies-single":["core/quorums#overlap-rule"],"core/quo-overlap-two-tier":["core/quorums#overlap-rule"],"core/quo-predict-down":["core/quorums#overlap-rule"],"core/quo-predict-tune":["core/quorums#overlap-rule"],"core/quo-readheavy-single":["core/quorums#tune-w-r"],"core/quo-repair-single":["core/quorums#quorum-gaps"],"core/quo-sloppy-single":["core/quorums#quorum-gaps"],"core/quo-tolerate-numeric":["core/quorums#overlap-rule"],"core/rl-algo-match":["core/distributed-rate-limiting#pick-algorithm"],"core/rl-api-refuse-single":["core/rate-limiting#set-limits"],"core/rl-bucket-numeric":["core/rate-limiting#token-bucket"],"core/rl-bucket-order":["core/rate-limiting#token-bucket"],"core/rl-burst-two-tier":["core/rate-limiting#token-bucket"],"core/rl-clarify-exact-single":["core/requirements#nfr-moves-design","core/distributed-rate-limiting#count-safely"],"core/rl-clarify-moves-multi":["core/requirements#ask-what-changes"],"core/rl-clock-single":["core/distributed-rate-limiting#count-safely"],"core/rl-data-key-single":["core/data-model#keys-for-queries","core/distributed-rate-limiting#where-to-count"],"core/rl-est-memory-numeric":["core/back-of-envelope#number-that-matters"],"core/rl-est-server-numeric":["core/back-of-envelope#number-that-matters"],"core/rl-est-store-numeric":["core/back-of-envelope#number-that-matters"],"core/rl-fail-single":["core/distributed-rate-limiting#count-safely"],"core/rl-fixed-edge-numeric":["core/distributed-rate-limiting#pick-algorithm"],"core/rl-hl-check-order":["core/high-level-design#walk-read-write","core/distributed-rate-limiting#where-to-count"],"core/rl-hl-flood-single":["core/rate-limiting#per-client"],"core/rl-hl-race-single":["core/distributed-rate-limiting#count-safely"],"core/rl-hl-split-numeric":["core/distributed-rate-limiting#where-to-count"],"core/rl-key-single":["core/rate-limiting#set-limits"],"core/rl-pace-single":["core/rate-limiting#set-limits"],"core/rl-predict-global":["core/rate-limiting#per-client"],"core/rl-predict-oversold":["core/rate-limiting#set-limits"],"core/rl-predict-per-client":["core/rate-limiting#per-client"],"core/rl-retry-single":["core/rate-limiting#set-limits"],"core/rl-sliding-numeric":["core/distributed-rate-limiting#pick-algorithm"],"core/rl-tenant-single":["core/rate-limiting#per-client"],"core/rl-to-approx-two-tier":["core/distributed-rate-limiting#where-to-count","core/consistency-models#pick-the-level"],"core/rl-to-store-two-tier":["core/distributed-rate-limiting#where-to-count","core/rate-limiting#per-client"],"core/rl-twist-hot-single":["core/hot-keys#cool-the-key","core/distributed-rate-limiting#where-to-count"],"core/rq-adjectives-single":["core/requirements#fr-vs-nfr"],"core/rq-change-single":["core/requirements#nfr-moves-design"],"core/rq-checkable-multi":["core/requirements#nfr-moves-design"],"core/rq-four-nines-single":["core/requirements#nfr-moves-design"],"core/rq-hook-single":["core/requirements#ask-what-changes"],"core/rq-kinds-multi":["core/requirements#fr-vs-nfr"],"core/rq-nines-numeric":["core/requirements#nfr-moves-design"],"core/rq-perflow-single":["core/requirements#nfr-moves-design"],"core/rq-scope-single":["core/requirements#ask-what-changes"],"core/rq-stale-single":["core/requirements#nfr-moves-design"],"core/rq-twins-single":["core/requirements#nfr-moves-design","core/requirements#fr-vs-nfr"],"core/rq-worth-multi":["core/requirements#ask-what-changes"],"core/rq-you-decide-single":["core/requirements#ask-what-changes"],"core/rr-lag-order":["core/read-replicas#replication-lag"],"core/rr-lag-single":["core/read-replicas#replication-lag"],"core/rr-lag-two-tier":["core/read-replicas#replication-lag"],"core/rr-primary-predict":["core/read-replicas#split-reads"],"core/rr-route-multi":["core/read-replicas#route-reads"],"core/rr-route-single":["core/read-replicas#route-reads"],"core/rr-route-two-tier":["core/read-replicas#route-reads"],"core/rr-split-numeric":["core/read-replicas#split-reads"],"core/rr-writes-two-tier":["core/read-replicas#split-reads"],"core/rs-average-single":["core/right-sizing#measure-first"],"core/rs-function-single":["core/right-sizing#resize-or-remove"],"core/rs-idle-single":["core/right-sizing#resize-or-remove"],"core/rs-keep-single":["core/right-sizing#resize-or-remove"],"core/rs-predict-large":["core/right-sizing#utilization-vs-size"],"core/rs-predict-medium":["core/right-sizing#measure-first","core/right-sizing#utilization-vs-size"],"core/rs-predict-memory":["core/right-sizing#measure-first"],"core/rs-recommend-single":["core/right-sizing#resize-or-remove"],"core/rs-repeat-multi":["core/right-sizing#resize-or-remove"],"core/rs-resize-single":["core/right-sizing#resize-or-remove"],"core/rs-save-numeric":["core/right-sizing#utilization-vs-size"],"core/rs-target-single":["core/right-sizing#measure-first"],"core/rt-backoff-numeric":["core/retries#backoff-jitter"],"core/rt-idempotent-single":["core/retries#when-to-retry"],"core/rt-jitter-single":["core/retries#backoff-jitter"],"core/rt-layers-numeric":["core/retries#retry-amplification"],"core/rt-layers-single":["core/retries#retry-amplification"],"core/rt-limit-single":["core/retries#retry-amplification"],"core/rt-overload-two-tier":["core/retries#when-to-retry"],"core/rt-predict-backoff":["core/retries#backoff-jitter"],"core/rt-predict-glitch":["core/retries#when-to-retry"],"core/rt-predict-layers":["core/retries#retry-amplification"],"core/rt-predict-storm":["core/retries#retry-amplification"],"core/rt-retry-order":["core/retries#backoff-jitter"],"core/rt-when-single":["core/retries#backoff-jitter"],"core/rt-which-multi":["core/retries#when-to-retry"],"core/s32017-contributors":["core/bulkhead#blast-radius"],"core/s32017-predict-blast":["core/bulkhead#blast-radius"],"core/s32017-predict-degraded":["core/graceful-degradation#critical-vs-optional","core/graceful-degradation#degraded-outcome"],"core/s32017-predict-guarded":["core/multi-az#static-capacity"],"core/s32017-restart-drill":["core/graceful-degradation#choose-degradation"],"core/s32017-status-fix":["core/multi-az#zone-design"],"core/s32017-why-dependents":["core/bulkhead#blast-radius"],"core/sb-chatty-single":["core/service-boundaries#wrong-cut-signs"],"core/sb-coarse-two-tier":["core/service-boundaries#cut-by-domain"],"core/sb-conway-single":["core/service-boundaries#conway"],"core/sb-customer-single":["core/service-boundaries#cut-by-domain"],"core/sb-data-two-tier":["core/service-boundaries#cut-by-domain"],"core/sb-distmono-single":["core/service-boundaries#wrong-cut-signs"],"core/sb-layer-single":["core/service-boundaries#cut-by-domain"],"core/sb-owners-single":["core/service-boundaries#conway"],"core/sb-plan-single":["core/service-boundaries#cut-by-domain"],"core/sb-signs-multi":["core/service-boundaries#wrong-cut-signs"],"core/sb-teams-match":["core/service-boundaries#conway"],"core/sb-truth-single":["core/service-boundaries#cut-by-domain"],"core/sg-era1-choose":["core/delivery-semantics#loss-or-repeat"],"core/sg-era1-count":["core/delivery-semantics#where-duplicates"],"core/sg-era2-key":["core/idempotent-consumer#key-and-record"],"core/sg-era2-route":["core/idempotent-consumer#key-and-record"],"core/sg-era3-order":["core/idempotent-consumer#key-and-record"],"core/sg-era3-window":["core/idempotent-consumer#window-misses"],"core/sh-capacity-single":["core/sharding#writes-scale"],"core/sh-card-numeric":["core/sharding#shard-key"],"core/sh-change-single":["core/sharding#shard-key"],"core/sh-cross-multi":["core/sharding#shard-load"],"core/sh-early-two-tier":["core/sharding#writes-scale"],"core/sh-key-two-tier":["core/sharding#shard-key"],"core/sh-predict-down":["core/sharding#writes-scale"],"core/sh-predict-search":["core/sharding#shard-load"],"core/sh-predict-split":["core/sharding#writes-scale"],"core/sh-replica-single":["core/sharding#writes-scale"],"core/sh-search-numeric":["core/sharding#shard-load"],"core/sh-stable-single":["core/sharding#shard-key"],"core/stampede-fix-multi":["core/cache-stampede#mitigations"],"core/stampede-herd-numeric":["core/cache-stampede#trigger"],"core/stampede-jitter-single":["core/cache-stampede#mitigations"],"core/stampede-predict-coalesce":["core/cache-stampede#mitigations"],"core/stampede-predict-cold":["core/cache-stampede#trigger","core/cache-aside#cold-start"],"core/stampede-restart-two-tier":["core/cache-stampede#mitigations"],"core/stampede-triggers-multi":["core/cache-stampede#trigger"],"core/stampede-warm-single":["core/cache-stampede#mitigations"],"core/sv-breakeven-numeric":["core/serverless-vs-always-on#break-even"],"core/sv-coldshare-single":["core/serverless-vs-always-on#hidden-behaviour"],"core/sv-concurrency-numeric":["core/serverless-vs-always-on#hidden-behaviour"],"core/sv-mix-single":["core/serverless-vs-always-on#pick-the-model"],"core/sv-pick-multi":["core/serverless-vs-always-on#pick-the-model"],"core/sv-predict-apifn":["core/serverless-vs-always-on#break-even"],"core/sv-predict-cold":["core/serverless-vs-always-on#hidden-behaviour"],"core/sv-predict-fnbill":["core/serverless-vs-always-on#break-even"],"core/sv-predict-throttle":["core/serverless-vs-always-on#hidden-behaviour"],"core/sv-shift-single":["core/serverless-vs-always-on#break-even"],"core/sv-tickets-single":["core/serverless-vs-always-on#pick-the-model"],"core/sv-timeout-single":["core/serverless-vs-always-on#hidden-behaviour"],"core/sv-wait-single":["core/serverless-vs-always-on#hidden-behaviour"],"core/sv-warm-single":["core/serverless-vs-always-on#hidden-behaviour"],"core/tier-cost":["core/tier-separation#independent-sizing"],"core/tier-grow-web":["core/tier-separation#independent-sizing"],"core/tier-net-chatty":["core/tier-separation#network-cost"],"core/tier-net-numeric":["core/tier-separation#network-cost"],"core/tier-net-predict":["core/tier-separation#network-cost"],"core/tier-net-scale":["core/tier-separation#network-cost"],"core/tier-net-worth":["core/tier-separation#network-cost"],"core/tier-redundancy":["core/tier-separation#independent-sizing"],"core/tier-size-mix":["core/tier-separation#independent-sizing"],"core/tier-split-predict":["core/tier-separation#independent-sizing"],"core/to-deadline-single":["core/timeouts#set-timeout"],"core/to-diagnose-single":["core/timeouts#resource-exhaustion"],"core/to-exhaust-two-tier":["core/timeouts#resource-exhaustion"],"core/to-false-numeric":["core/timeouts#set-timeout"],"core/to-long-two-tier":["core/timeouts#set-timeout"],"core/to-percentile-single":["core/timeouts#set-timeout"],"core/to-short-two-tier":["core/timeouts#set-timeout"],"core/to-timeout-order":["core/timeouts#resource-exhaustion"],"core/us-api-create-single":["core/api-design#paging-retries"],"core/us-api-redirect-single":["core/api-design#resources-methods"],"core/us-clarify-guess-single":["core/requirements#nfr-moves-design","core/distributed-ids#pick-scheme"],"core/us-clarify-moves-multi":["core/requirements#ask-what-changes"],"core/us-data-key-single":["core/data-model#keys-for-queries","core/relational-indexes#index-cost"],"core/us-est-length-numeric":["core/distributed-ids#id-capacity"],"core/us-est-mint-numeric":["core/back-of-envelope#daily-to-rate"],"core/us-est-redirect-numeric":["core/back-of-envelope#daily-to-rate"],"core/us-hl-cache-numeric":["core/cache-basics#hit-ratio"],"core/us-hl-counter-single":["core/high-level-design#first-to-break","core/horizontal-scaling#shared-bottleneck","core/distributed-ids#why-coordination"],"core/us-hl-redirect-order":["core/high-level-design#walk-read-write","core/cache-aside#read-path","core/horizontal-scaling#stateless"],"core/us-ids-clock-single":["core/distributed-ids#pick-scheme"],"core/us-ids-random-single":["core/distributed-ids#id-capacity"],"core/us-ids-scheme-match":["core/distributed-ids#pick-scheme"],"core/us-ids-snowflake-numeric":["core/distributed-ids#id-capacity"],"core/us-to-302-two-tier":["core/cache-basics#ttl-staleness","core/cache-aside#read-path"],"core/us-to-random-two-tier":["core/distributed-ids#pick-scheme"],"core/us-twist-hot-single":["core/hot-keys#cool-the-key"],"core/us-viral-stampede-single":["core/cache-stampede#trigger","core/cache-stampede#mitigations"],"core/wt-around-reload-single":["core/write-through#write-path"],"core/wt-batch-single":["core/write-through#through-gaps"],"core/wt-cost-multi":["core/write-through#when-through"],"core/wt-dbload-numeric":["core/write-through#write-path"],"core/wt-failure-order":["core/write-through#through-gaps"],"core/wt-lazy-two-tier":["core/write-through#when-through"],"core/wt-newnode-single":["core/write-through#through-gaps"],"core/wt-predict-dbload":["core/write-through#write-path"],"core/wt-predict-edit":["core/write-through#write-path"],"core/wt-which-single":["core/write-through#when-through"]}},"tiers":{"anchors":[],"tiers":[{"id":"novice","requires":{},"title":"Novice"},{"id":"apprentice","requires":{"understood":3},"title":"Apprentice"},{"id":"practitioner","requires":{"applied":3,"appliedInZone":{"count":1,"zone":"Z3"}},"title":"Practitioner"},{"id":"engineer","requires":{"applied":6,"katas":{"count":2,"difficulty":"medium"},"mastered":2},"title":"Engineer"},{"id":"senior","requires":{"anchor":true,"applied":10,"katas":{"count":1,"difficulty":"hard"},"mastered":5},"title":"Senior"},{"id":"architect","requires":{"anchor":true,"applied":15,"cases":{"count":1,"debrief":"strong"},"mastered":8,"masteredInZone":{"count":3,"zone":"Z4"}},"title":"Architect"},{"id":"principal","requires":{"anchor":true,"applied":15,"cases":{"count":1,"mode":"interview"},"katas":{"count":2,"difficulty":"expert"},"mastered":8,"masteredInZone":{"count":3,"zone":"Z4"}},"title":"Principal"}],"titleBreadth":3,"version":1},"archive":{"concepts":{},"objects":{"demo-resilience":{"kind":"kata","title":"Survive a load spike and a server failure","difficulty":"medium","practices":[]}},"lines":{}}}