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 [Consensus] {1}

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

Two-Phase Commit [2PC] {1}

Raft Leader Election [Raft] {1}

Paxos [Paxos] {1}

Reliability Patterns [Reliability] {1}

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

Saga (Choreography) [Saga] {1}

Outbox Pattern [Outbox] {1}

Circuit Breaker [Circuit Breaker] {1}

Rate Limiting — Token Bucket [Rate Limiting] {1}