Software Engineering Architecture Lab

Microservices Lab: Interactive Simulations & Lessons

Failures, retries, circuit breakers, sagas and idempotency. A hands-on microservices lab with 6 interactive simulations and 6 lessons.

Failures, retries, circuit breakers, sagas and idempotency.

Every network call can be slow, fail, or succeed without you knowing. Kill services, inject latency and duplicate messages, then add the patterns that keep checkout alive.

Simulations

Lessons

  1. Why Microservices Exist — and When Not to Use Them — Level 9 · Microservices
  2. Synchronous vs Asynchronous Communication — Level 9 · Microservices
  3. Timeouts, Retries & Retry Storms — Level 9 · Microservices
  4. Circuit Breakers & Bulkheads — Level 9 · Microservices
  5. Idempotency: Making Retries Safe — Level 9 · Microservices
  6. Distributed Transactions: 2PC, Sagas & the Outbox — Level 9 · Microservices

Also explore

Other labs

  • Kafka Lab — Logs, partitions, keys, consumer groups and ordering.
  • Database Internals Lab — Storage engines, indexes, replication and partitioning.
  • Transactions Lab — Isolation anomalies, lost updates and distributed transactions.
  • Caching Lab — Hit rates, TTLs, invalidation, stampedes and CDNs.
  • Architecture Lab — Evolution, decisions, characteristics and fitness functions.