Practical System Design

Leave a rating for Practical System Design on Amazon. (opens in a new tab)
Adewale Obadimu introducing Practical System Design, beside a path from clients through a load balancer, API, cache, and database.
Practical System Design, introduced by Adewale Obadimu.
Cover of Practical System Design by Adewale Obadimu

Practical System Design

Building Reliable Systems Through Production Failures

Adewale Obadimu

Fourteen production incidents, and the design decisions behind reliable systems. Baodium, the company in these stories, is fictional. The failures and tradeoffs are teaching material, not claims about a real employer. Chapters 1–7 are free online; the full edition is available on Amazon.

Table of contents

  1. PrPreface
  2. AckAcknowledgements
  3. 01Resource Contention in ProductionFollow a feature rollout into connection-pool contention, and learn what actually bounds demand.The product page and the pool
  4. 02Modeling Requests, Latency, and ThroughputSeparate arrival rate, work in progress and request duration before choosing a capacity limit.Build the payload before the connection is acquired
  5. 03State, Identity, and the Cost of UncertaintyReason about retries, idempotency and ambiguous outcomes when a timed-out operation may have committed.One charge when the provider answers after the client has given up
  6. 04Service Communication and Cascading FailureCarry deadlines and cancellation across service boundaries to contain cascading failure.A child deadline and a permit on the fraud call
  7. 05Caching and Data FreshnessTrade freshness against latency and load, and reason about behavior when cached data misses.One catalog read when product metadata misses
  8. 06Containers and the Reproducible DeploymentMake deployment artifacts reproducible and understand the boundaries containers provide.Book
  9. 07Replicas, Partitions, and ShardsChoose replication, partitioning and sharding strategies around ownership and failure behavior.choose_read_target for the address just saved
  10. 08Observability and Path HealthUse metrics, logs and traces to explain the health of a request path.Full edition
  11. 09Guardrails and Failure ContainmentSet admission limits so one failure cannot take the shared pool.Full edition
  12. 10Deployments as Controlled ExperimentsTreat rollouts as controlled experiments with observable evidence and a recovery path.Full edition
  13. 11Service DecompositionFind service boundaries by examining state, ownership and the cost of coordination.Full edition
  14. 12Event-Driven Systems and Stream ProcessingReason about asynchronous processing, delivery semantics, lag and backpressure.Full edition
  15. 13Machine Learning Systems in ProductionOperate machine-learning systems with attention to data, model behavior and production feedback.Full edition
  16. 14Designing From Production ExperienceBring the tradeoffs together and build a design from explicit production constraints.Full edition
  17. EpEpilogueFull edition
  18. AAppendix A: Recovery Instrumentation and AuditingFull edition
  19. BAppendix B: Four Practical System DesignsFull edition
  20. CAppendix C: Security, Privacy, and Cost ReviewFull edition
  21. WsHidden Assumptions: A Blank WorksheetFull edition
  22. GlGlossaryFull edition
  23. FrFurther ReadingFull edition
  24. IxConcept GuideFull edition
  25. AuAbout the AuthorFull edition

Enjoying this? Rate it on Amazon (opens in a new tab)