Toolkit.
Interactive
Simulator

The CAP theorem, tangibly

Choose any two. Toggle the partition. Watch the third guarantee fail — and see, in the event log, exactly where.

Throughput
342/s
p99 latency
118 ms
Violations
0

Trilemma
CAPCONSISTENCYAVAILABILITYPARTITION TOLERANCECP · HBase, etcdAP · Cassandra, DynamoCA · single-node SQLyour system
Observation
Under a network partition, a system cannot be both consistent and available.
Pick two
Event log 6 events
t=0.02 write(k=x, v=1) → primary ✓
t=0.03 replicate → r2 ✓ r3 ✓
t=0.11 partition: r3 ⇍ r1
t=0.14 read(k=x) @ r3 → timeout
t=0.21 write(k=y) blocked (quorum)
t=0.44 heal → re-sync 2 keys