Distributed Systems Visualizer

Learn distributed systems concepts through interactive visualizations, step-by-step execution, and scenario-driven exploration.

1

Pick a topic

Choose a visualizer and load a scenario or start exploring manually.

2

Run the simulation

Play, pause, step, and inject failures to see protocol behavior.

3

Ask and validate

Compare scenarios, inject failures, and validate your understanding.

Explore Concepts

๐Ÿ”บ

CAP Theorem

Explore trade-offs among Consistency, Availability, and Partition Tolerance with real systems.

Explore โ†’
โฑ๏ธ

Lamport Clocks

Understand logical clocks and total-order delivery using broadcasts and acknowledgements.

Explore โ†’
๐Ÿงญ

Vector Clocks

Track causality, detect concurrency, and compare event orderings with vector clocks.

Explore โ†’
๐Ÿ“ธ

Chandy-Lamport Snapshot

Trace marker messages to record local state and in-flight messages for a global snapshot.

Explore โ†’
๐ŸŒ

Eventual Consistency

Write with ONE/QUORUM/ALL and observe replication, conflict, and anti-entropy convergence.

Explore โ†’
๐Ÿงฎ

CRDTs

Explore G-Counter, OR-Set, and RGA to see conflict-free merges across replicas.

Explore โ†’
๐Ÿซง

Gossip & Anti-Entropy

Push, pull, and push-pull rounds spread updates across nodes without a central coordinator.

Explore โ†’
๐ŸŒณ

Merkle Anti-Entropy

Use Merkle trees to pinpoint divergence and sync only the necessary keys.

Explore โ†’
โš–๏ธ

Quorum Replication

Tune W/R quorums and watch read-repair fix stale replicas after failures.

Explore โ†’
๐Ÿ“œ

Replication Log

Track a leader and ISR followers, see high-watermarks advance, and observe lag.

Explore โ†’
๐Ÿšจ

Failure Detectors

Watch phi accrual and SWIM probes move nodes through alive, suspect, and failed.

Explore โ†’
๐Ÿงฟ

Consistent Hashing

Distribute keys across a ring and see how virtual nodes minimize reshuffling.

Explore โ†’
๐Ÿงฉ

Sharding + Rebalancing

Compare range vs hash sharding and watch shard movement as nodes join or leave.

Explore โ†’
๐Ÿšฆ

Load Balancing

Route requests across workers, trigger backpressure, and see drops under load.

Explore โ†’
๐Ÿ”’

Distributed Locking

Acquire a lease, renew via heartbeats, and see timeouts trigger failover.

Explore โ†’
๐Ÿ”—

Two-Phase Commit

Watch a coordinator drive prepare/commit across participants and see how failures force aborts.

Explore โ†’
๐Ÿงพ

Distributed Transactions

Compare 3PC commit flow with saga steps and compensations on failure.

Explore โ†’
๐Ÿ•ธ๏ธ

Network Partitions

Split the network, elect leaders per partition, then heal and resolve split-brain.

Explore โ†’
๐Ÿ—ณ๏ธ

Paxos

Follow proposers and acceptors through prepare/accept rounds to reach agreement despite competing proposals.

Explore โ†’
๐Ÿงญ

Raft Consensus

Pick a leader, replicate logs, and survive failures. See how Raft keeps nodes consistent during elections and recovery.

Explore โ†’
๐Ÿงช

Consensus Variants

Compare reconfiguration in Raft, stable leaders in Multi-Paxos, and EPaxos fast paths.

Explore โ†’
๐Ÿ›ก๏ธ

PBFT

Follow pre-prepare, prepare, and commit phases plus view changes under byzantine faults.

Explore โ†’