BM
Bashar ModallalSOFTWARE · AI · SYSTEMS
All courses

Distributed Backend Systems

Take an order from checkout to fulfillment while services, queues and replicas can fail independently.

Beginner

  1. 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 lesson
  2. Choose a Service Boundary

    Assign ownership of orders, payments and inventory, then decide which interactions need a synchronous response.

    Upcoming lesson
  3. Follow a Message Through a Queue

    Trace enqueue, delivery and acknowledgment to explain why a worker might receive the same order twice.

    Upcoming lesson

Intermediate

  1. Make a Payment Retry Safe

    Design an idempotency key, payload check and saved result that handle a lost payment response.

    Upcoming lesson
  2. Budget Deadlines and Retries

    Allocate one user deadline across services and bound retry amplification with backoff and jitter.

    Upcoming lesson
  3. Publish 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

  1. Compensate a Partly Completed Order

    Model a fulfillment saga and specify which effects can be reversed when inventory allocation fails.

    Upcoming lesson
  2. Reason About Event Ordering

    Use versions and sequence numbers to distinguish a delayed event, a duplicate and a genuine correction.

    Upcoming lesson
  3. Keep Overload from Spreading

    Bound worker concurrency and queues, then compare shedding work with admitting it past its deadline.

    Upcoming lesson

Expert

  1. Quorums, Leaders and Safe Failover

    Walk through a three-node election and identify which writes can be acknowledged during a partition.

    Upcoming lesson
  2. Choose a Multi-Region Write Policy

    Compare a home region with active-active writes using latency, conflict behavior and recovery objectives.

    Upcoming lesson
  3. Capstone — Reconcile an Interrupted Checkout

    Replay an outage timeline and prove that retries, compensation and reconciliation produce the correct final ledger.

    Upcoming lesson