MicroservicePatterns.com

Suggestions

  • PagePattern catalogAll patterns by category.
  • LabCircuit Breaker and Retries labCrash a dependency and tune the breaker.
  • LabSaga labFail a step and watch the compensations run.
  • PagePractice questionsScenario questions with explanations.
  • PageDesign reviewCheck your own architecture for anti-patterns.
Milestone · Labs

Every lab

Complete all 5 interactive labs by trying every guided experiment in each one.

What it covers

  • Circuit Breaker and Retries lab Crash, slow down or overload a dependency. Tune the breaker, timeouts, backoff and jitter, and see which settings contain the failure and which spread it.
  • Saga lab Run an order across inventory, payment and shipping. Fail a step and watch the compensations run, then add missing refunds, duplicate messages and failed compensations. Switch between orchestration and choreography.
  • Transactional Outbox lab Crash a service between its database write and its event publish, and count lost events, ghost shipments and duplicates. Then switch on the outbox and an idempotent consumer and compare.
  • Bulkhead lab Share a thread pool between a critical and a slow dependency, watch checkouts starve, then partition the pool, tune the timeout and size each pool from the load.
  • Rate Limiting lab Let one client flood a shared API and watch normal users suffer. Add a per-client token bucket, compare instant retries with honouring Retry-After, and see what a limit or burst that is too generous does.
Open the labs →

Milestones are free and need no account. Your progress is tracked in your own browser, so a milestone marks learning you did, not a certification. See the terms.