Skip to content

How It Works — Resiliency

Failure is not exceptional — it is the default. These flows show how systems agree despite it, degrade gracefully around it, and recover from it.

Consensus

When several machines have to agree on one truth. These flows walk through commit, leader election, and the algorithm behind both.

Two-Phase Commit

Raft Leader Election

Paxos

Reliability Patterns

The patterns that keep a distributed system consistent — or at least eventually correct — when parts of it fail.

Saga (Choreography)

Outbox Pattern

Circuit Breaker

Rate Limiting — Token Bucket