Distributed Backend Systems
Take an order from checkout to fulfillment while services, queues and replicas can fail independently.
Beginner
What Changes When a Call Crosses the Network?
Draw the checkout call path and classify a timeout where the server may already have committed.
Upcoming lessonChoose a Service Boundary
Assign ownership of orders, payments and inventory, then decide which interactions need a synchronous response.
Upcoming lessonFollow a Message Through a Queue
Trace enqueue, delivery and acknowledgment to explain why a worker might receive the same order twice.
Upcoming lesson
Intermediate
Make a Payment Retry Safe
Design an idempotency key, payload check and saved result that handle a lost payment response.
Upcoming lessonBudget Deadlines and Retries
Allocate one user deadline across services and bound retry amplification with backoff and jitter.
Upcoming lessonPublish Events with a Transactional Outbox
Write an order and its event atomically, then make a consumer tolerate delivery after a relay restart.
Upcoming lesson
Advanced
Compensate a Partly Completed Order
Model a fulfillment saga and specify which effects can be reversed when inventory allocation fails.
Upcoming lessonReason About Event Ordering
Use versions and sequence numbers to distinguish a delayed event, a duplicate and a genuine correction.
Upcoming lessonKeep Overload from Spreading
Bound worker concurrency and queues, then compare shedding work with admitting it past its deadline.
Upcoming lesson
Expert
Quorums, Leaders and Safe Failover
Walk through a three-node election and identify which writes can be acknowledged during a partition.
Upcoming lessonChoose a Multi-Region Write Policy
Compare a home region with active-active writes using latency, conflict behavior and recovery objectives.
Upcoming lessonCapstone — Reconcile an Interrupted Checkout
Replay an outage timeline and prove that retries, compensation and reconciliation produce the correct final ledger.
Upcoming lesson