MicroservicePatterns.com
Interactive labs

Break it to understand it

Each lab is a small simulator with a few dials. Change one setting at a time and read what the system does. The guided experiments tell you where to start.

Circuit Breaker and Retries

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.

Circuit BreakerRetry with Backoff

Saga Coming soon

Run an order across inventory, payment and shipping. Fail a step halfway and watch the compensations run, with orchestration and choreography side by side.

Saga

Transactional Outbox Coming soon

Crash a service between its database write and its message publish, and see the lost event. Then switch on the outbox and compare.

Transactional Outbox

Bulkhead Coming soon

Share a thread pool between a critical and a slow dependency, watch the critical path starve, then partition it.

Bulkhead