Back-of-Envelope Capacity Estimation
Turn daily users and actions into peak request rate, memory demand and retention estimates; keep assumptions visible.
Draft · editorial review pending
Case studies and advanced architecture for readers who know the basic systems mechanisms.
In development. The blueprint chapters are drafts in editorial review. They are not yet a released case-study sequence.
Browse the chapters →69 draft chapters in 10 parts. Open a part to see chapter summaries and read the existing material. Draft status describes editorial readiness; the chapters themselves remain available.
Reading flags are saved in this browser and do not certify a finished case.
Turn daily users and actions into peak request rate, memory demand and retention estimates; keep assumptions visible.
Draft · editorial review pending
Follow connection setup, round trips and tail latency before assigning a network budget.
Draft · editorial review pending
Choose routing and health-check behavior; distinguish transport balancing from application-aware gateways.
Draft · editorial review pending
Match access patterns, transaction boundaries and growth requirements to a storage model.
Draft · editorial review pending
Trace an update through indexes, logs and compaction; compare read, write and space amplification.
Draft · editorial review pending
Choose cache ownership and invalidation rules, then examine stampedes and hot keys.
Draft · editorial review pending
Separate work queues from replayable event logs; reason about ordering and redelivery.
Draft · editorial review pending
Specify what reads can observe during partitions and replication lag, rather than relying on a label.
Draft · editorial review pending
Choose partition keys and plan data movement, verification and cutover when ownership changes.
Draft · editorial review pending
Trace replication lag, primary loss, promotion and fencing of a former writer.
Draft · editorial review pending
Compare token buckets and window policies, including shared-state contention and admission placement.
Draft · editorial review pending
Give repeated operations stable identities and resolve ambiguous outcomes without repeating effects.
Draft · editorial review pending
Compare a modular monolith with service boundaries, deployment independence and migration costs.
Draft · editorial review pending
Follow service lookup, identity and traffic policy through a changing fleet.
Draft · editorial review pending
Choose observable success criteria, budget failures and connect a request across service boundaries.
Draft · editorial review pending
Bound work with deadlines, concurrency limits and isolation before retries amplify overload.
Draft · editorial review pending
Follow leader election and replicated logs through message delay, split votes and recovery.
Draft · editorial review pending
Compare commit coordination with compensating workflows and transactional outbox publication.
Draft · editorial review pending
Separate an authoritative event history from query projections and plan schema evolution.
Draft · editorial review pending
Distinguish elapsed time, physical time and causal ordering; examine clock uncertainty.
Draft · editorial review pending
Trace an edge request to its origin and specify freshness, shielding and invalidation.
Draft · editorial review pending
Separate identity, authorization and tenant boundaries across request and storage layers.
Draft · editorial review pending
Design short-code allocation, redirects, withdrawal and analytics without confusing their authority.
Draft · editorial review pending
Separate durable message acceptance, live delivery, ordering and reconnect catch-up.
Draft · editorial review pending
Compare feed fan-out on write and read under uneven publisher popularity.
Draft · editorial review pending
Trace authorization, capture, ledger entries and reconciliation after an uncertain provider response.
Draft · editorial review pending
Separate upload, processing, publication and playback with versioned media manifests.
Draft · editorial review pending
Build retrieval and prefix suggestions with explicit freshness and ranking boundaries.
Draft · editorial review pending
Combine location freshness, nearby candidates and exclusive assignment for dispatch.
Draft · editorial review pending
Reason about concurrent edits, transformation or merge semantics, snapshots and presence.
Draft · editorial review pending
Trace ingestion, retrieval, authorization filtering and evidence assembly before generation.
Draft · editorial review pending
Budget model and KV memory, distinguish prefill from decode, and compare batching policies.
Draft · editorial review pending
Persist run state and tool identities so a resumed workflow does not repeat external effects.
Draft · editorial review pending
Separate offline evaluation, live monitoring and judge calibration with traceable evidence.
Draft · editorial review pending
Route model requests with tenant budgets, fallback policy and carefully scoped cache reuse.
Draft · editorial review pending
Compose retrieval, tools, streaming and evaluation into an organization-scoped assistant.
Draft · editorial review pending
Allocate time-ordered identifiers while handling clock rollback, worker identity and sequence exhaustion.
Draft · editorial review pending
Examine leases, pauses and fencing so an expired lock holder cannot corrupt protected state.
Draft · editorial review pending
Separate scheduled time, execution attempts and ownership when workers fail or run late.
Draft · editorial review pending
Separate object metadata from bytes; study multipart publication, placement and integrity checks.
Draft · editorial review pending
Trace metadata lookup and chunk transfer through large-file storage and replica recovery.
Draft · editorial review pending
Compare hash-slot routing, memory management, persistence and online key migration.
Draft · editorial review pending
Study timestamp/value compression, label indexing, retention and cardinality limits.
Draft · editorial review pending
Model relationship-based authorization and require permission reads fresh enough for the protected action.
Draft · editorial review pending
Move committed database changes into downstream systems with resumable positions and schema handling.
Draft · editorial review pending
Separate event time from arrival time and define watermarks, state recovery and late corrections.
Draft · editorial review pending
Choose columnar layouts and pre-aggregation for scan-heavy analytical queries.
Draft · editorial review pending
Coordinate table metadata, snapshots and file evolution over object storage.
Draft · editorial review pending
Design ingestion, indexing, search and retention for operational logs under bursty load.
Draft · editorial review pending
Keep training and online feature definitions aligned while enforcing freshness and entity keys.
Draft · editorial review pending
Compare approximate-neighbor structures, filtering and update visibility in vector retrieval.
Draft · editorial review pending
Coordinate a durable crawl frontier with host politeness, deduplication and changing destinations.
Draft · editorial review pending
Combine preferences, channel fan-out, provider limits and delivery evidence for notifications.
Draft · editorial review pending
Track chunk manifests, local changes and conflict history across intermittently connected devices.
Draft · editorial review pending
Protect scarce ticket inventory through queues, expiring holds and payment uncertainty.
Draft · editorial review pending
Separate demand admission from inventory authority during a short, intense buying window.
Draft · editorial review pending
Enforce availability across every requested night while managing holds and external reservations.
Draft · editorial review pending
Join impressions and clicks with explicit event-time windows, deduplication and billing corrections.
Draft · editorial review pending
Define rank, ties and neighborhood reads before choosing score or user partitioning.
Draft · editorial review pending
Choose a spatial index for mostly stationary places and filter candidates by product constraints.
Draft · editorial review pending
Coordinate preparation, courier assignment and delivery windows across three participants.
Draft · editorial review pending
Specify price-time ordering, cancellation, durable input and deterministic matching replay.
Draft · editorial review pending
Schedule dependency graphs and isolate untrusted jobs while streaming logs and reusing safe cache artifacts.
Draft · editorial review pending
Set recovery objectives and survivor capacity before selecting regional ownership and evacuation policy.
Draft · editorial review pending
Isolate slow destinations and combine signed payloads, retries, replay and safe outbound delivery.
Draft · editorial review pending
Budget voice latency across media transport, turn detection, generation and interruption handling.
Draft · editorial review pending
Index changing source trees with semantic chunks and scoped retrieval while preserving privacy boundaries.
Draft · editorial review pending
Map parallelism onto compute and network topology, then plan consistent checkpoints and recovery.
Draft · editorial review pending
Separate tenant configuration from serving; meter usage idempotently and reserve prepaid quota.
Draft · editorial review pending
These pages are available now. Use the preparation you need, then return to the chapter you chose.
Check each exercise's prerequisites before attempting it; linked preparation may still be in draft.
The draft chapters explain the problem and intuition, then develop architecture and worked calculations, production trade-offs and failure recovery. They include diagrams, explained questions, a design exercise, an interview rubric and primary-source reading. Editorial review is still pending.
Choose a case for the decision you want to understand. A released case will explain its required mechanisms and identify any course-local preparation. Fundamentals is a separate guided course, not a requirement to complete first.
Study a complete system, inspect its mechanisms and resource budgets, then revise the design when workload or failure assumptions change. Required preparation and the recommended case sequence will be confirmed as cases complete review.