Skip to content

Examples

78 runnable examples across 10 categories. Each example is a self-contained Python script in the examples/ directory.

Category Count Description
Queuing 7 M/M/1 queues, metastable state, GC collapse, retrying clients
Distributed Systems 12 Raft, Paxos, CRDT, SWIM, chain replication, TCP congestion
Industrial 20 Bank, hospital, manufacturing, coffee shop, and more
Infrastructure 7 CPU scheduling, disk I/O, event logs, stream processing
Storage 7 B-tree vs LSM, compaction, WAL, transactions
Deployment 7 Canary, rolling, saga, outbox, sidecar, GC cascade
Performance 7 Auto scaler, API gateway, cold start, work stealing
Behavior 2 Product adoption, opinion dynamics
Load Balancing 4 Consistent hashing, vnodes, fleet changes, Zipf
Visual Debugger 1 Browser-based debugger walkthrough

Running Examples

python examples/queuing/m_m_1_queue.py
python examples/visual/visual_debugger.py