ArchitectureLearning library

System design fundamentals

Build from requirements and measurements toward understandable distributed systems.

Intermediate20 chapters14 practice questions15 references
Start coursePractise questions

Get an in-app notice when new lessons or practice are added.

20 chapters across 5 modules

Course chapters

Explore all 20 chapters in any order. Each chapter has learning goals, a practice prompt, and a primary reference; expanded reading pages are linked from their chapter titles.

01 · Requirements and building blocks4 chapters
  1. Functional and quality requirements

    Turn an ambiguous product request into decisions that can be evaluated.

    • Translate an ambiguous product request into measurable constraints

    Practice: Write requirements for a link-sharing service.

    Read the primary referenceExpanded reading · Ready
  2. Latency, throughput, and capacity

    • Separate request rate, concurrent work, and response-time percentiles

    Practice: Estimate storage and peak request traffic with stated assumptions.

    Read the primary referenceLesson guide · Ready
  3. Request paths and API contracts

    • Trace client, service, and storage responsibilities

    Practice: Describe a create-and-read API with failure responses.

    Read the primary referenceLesson guide · Ready
  4. Data modeling and access patterns

    • Select keys and indexes based on actual reads and writes

    Practice: Model a reading-progress service and its common queries.

    Read the primary referenceLesson guide · Ready
02 · Scaling fundamentals4 chapters
  1. Load balancing and stateless services

    • Explain horizontal scaling and session-state placement

    Practice: Draw two application instances behind a load balancer.

    Read the primary referenceLesson guide · Ready
  2. Caching and invalidation

    • Compare cache placement, expiry, and stale-read consequences

    Practice: Choose a cache policy for public course content.

    Read the primary referenceLesson guide · Ready
  3. Replication and consistency

    • Describe replication lag and write coordination tradeoffs

    Practice: Trace a read after a write across replicas.

    Read the primary referenceLesson guide · Ready
  4. Partitioning and hot keys

    • Explain key distribution, skew, and repartitioning

    Practice: Choose a partition key for user progress and test its skew.

    Read the primary referenceLesson guide · Ready
03 · Reliability and coordination4 chapters
  1. Timeouts, retries, and idempotency

    Recover from uncertain network outcomes without multiplying side effects.

    • Prevent retries from multiplying side effects

    Practice: Design a retry-safe enrollment request.

    Read the primary referenceExpanded reading · Ready
  2. Queues and asynchronous work

    • Separate acceptance of work from its completion

    Practice: Model a document-processing queue with failure handling.

    Read the primary referenceLesson guide · Ready
  3. Availability and failure domains

    • Reason about component and dependency failures

    Practice: Identify single points of failure in a service diagram.

    Read the primary referenceLesson guide · Ready
  4. Observability and objectives

    • Choose user-facing indicators and actionable alerts

    Practice: Define an availability objective and investigation signals.

    Read the primary referenceLesson guide · Ready
04 · Design exercises4 chapters
  1. Design a URL shortener

    • Integrate identity, storage, redirects, and collision handling

    Practice: Write a small design with explicit abuse controls.

    Read the primary referenceLesson guide · Ready
  2. Design a news feed

    • Compare fanout strategies and freshness requirements

    Practice: Explain a hybrid approach for high-follower accounts.

    Read the primary referenceLesson guide · Ready
  3. Design a file-sharing service

    • Separate metadata, object storage, permissions, and delivery

    Practice: Trace upload, authorized download, and deletion.

    Read the primary referenceLesson guide · Ready
  4. Design review and tradeoffs

    • Communicate assumptions and unresolved risks concisely

    Practice: Review a learning-platform design with a failure scenario.

    Read the primary referenceLesson guide · Ready
05 · Deeper distributed-system tradeoffs4 chapters
  1. Consistency models and user expectations

    • Distinguish a user-visible guarantee from implementation vocabulary

    Practice: Define read-after-write behavior for cross-device progress.

    Read the primary referenceLesson guide · Ready
  2. Rate limiting and fairness

    • Compare enforcement scope, burst handling, and caller identity

    Practice: Design a rate-limit response for a public search API.

    Read the primary referenceLesson guide · Ready
  3. Schema evolution and compatibility

    • Plan changes that coexist with old clients and deployments

    Practice: Add a progress field without requiring an all-at-once rollout.

    Read the primary referenceLesson guide · Ready
  4. Disaster recovery review

    • Explain data-loss and recovery-time objectives with test evidence

    Practice: Produce a recovery exercise that includes application and storage dependencies.

    Read the primary referenceLesson guide · Ready

Learn it. Check it. Try again.

14 original questions with worked explanations and source references. Filter by difficulty, revisit mistakes, and save your attempt as you go.

Open System design fundamentals practice

In-depth study guide

Follow the subject from its foundations through worked examples and practice. Each guide includes its scope, version assumptions, solutions, and sources for further study.

OpenLearning study guideEdition 2026.12

System design you can reason about

A practical guide to requirements, estimation, APIs, databases, caching, queues, replication, partitioning, security, operations, and a complete local URL-service capstone.

pages
79
chapters
14
diagrams
9
exercises with solutions
28

7,091 words of explanations and practice · 24 worked examples · 14 review questions

Improve this guide on GitHubOriginal text · CC BY-SA 4.0

Browse all study guides

Books & references

Free reading at the publisher or author’s site. External materials keep their own licenses.