LAB 01 / PROBABILISTIC DATA STRUCTURES

Bloom Filter Bit Array & Collision Dynamics

Test set membership, inspect bit flipping under independent hash functions, and observe how fill ratio drives the theoretical false positive rate: p ≈ (1 - e-kn/m)k. Connected to curriculum lesson: CORE-M08-001: Bloom Filters.

INTERACTIVE ISLAND

Bloom Filter Live Simulator

Explore bit arrays, hash function distribution, collision dynamics, and false positive rates.

BIT ARRAY STATE (0..m-1)
Inserted Items (Ground Truth):
LAB 02 / PARTITIONING & DATA DISTRIBUTION

Consistent Hashing Ring & Virtual Nodes (V)

Observe token allocation on a 32-bit ring, clockwise key ownership, and key rebalancing during node addition and removal. Connected to curriculum lessons: CORE-M08-002: Consistent Hashing and CORE-M19-001: Partitioning & Sharding.

INTERACTIVE ISLAND

Consistent Hashing Ring Simulator

Observe token distribution, virtual nodes (V), clockwise key routing, and minimal migration when cluster membership changes.

Higher V reduces partition variance across nodes.
PHYSICAL CLUSTER NODES
KEY ROUTING
LOAD BALANCE & KEY DISTRIBUTION
LAB 03 / CONSENSUS & FAULT TOLERANCE

Raft Consensus Algorithm & Split-Brain Resilience

Step through leader election timeouts, term increment monotonicity, write log replication, and simulate network partitions to witness why minority partitions cannot commit. Connected to curriculum lessons: INF-I02-001: Raft Consensus and CORE-M21-001: Distributed Consensus.

INTERACTIVE ISLAND

Raft Consensus Algorithm Live Simulator

Step through leader election, term monotonicity, log replication quorums, and network partition split-brain resilience.

RAFT CLUSTER EVENT & COMMIT LOG
LAB 04 / AI INFRASTRUCTURE & MEMORY

PagedAttention & GPU KV Cache Virtual Memory

Inspect how modern high-throughput LLM serving platforms (vLLM) solve GPU memory fragmentation by dividing the key-value cache into discrete physical memory blocks and implementing copy-on-write prefix caching. Connected to curriculum lessons: AI-C03-001: LLM Inference Foundations and AI-C05-001: High-Throughput LLM Serving.

INTERACTIVE ISLAND

GPU VRAM & PagedAttention KV Cache Simulator

Inspect how modern LLM inference engines (vLLM) eliminate memory fragmentation using OS-style virtual memory paging, block tables, and copy-on-write prefix caching.

PHYSICAL GPU VRAM BLOCK POOL (16 Blocks × 4 Tokens = 64 Max Tokens)
ACTIVE BATCH REQUESTS & LOGICAL-TO-PHYSICAL BLOCK TABLES
LAB 05 / RESILIENCE & TRAFFIC SHAPING

Adaptive Rate Limiter & Overload Protection

Test Token Bucket, Leaky Bucket (traffic shaping), and Sliding Window counter behavior in real time against synthetic bursty request arrivals and overload spikes. Connected to curriculum lessons: CORE-M23-001: Resilience Engineering and APP-A02-001: Distributed Notification Platform.

INTERACTIVE ISLAND

Adaptive Rate Limiter & Overload Protection Simulator

Compare Token Bucket, Leaky Bucket (Traffic Shaping), and Sliding Window algorithms under real-time bursty workloads and traffic spikes.

BUCKET RESERVOIR
15.0 / 15 Tokens
LIVE TRAFFIC INGRESS & ADMISSION LOG
LAB 06 / MULTI-REGION & CONSISTENCY

Vector Clocks & CRDT Conflict-Free Replication

Simulate multi-master geographical replication across New York, Frankfurt, and Tokyo. Inspect causality tracking via Vector Clocks, induce simulated network partitions, and observe mathematical state convergence through Join-Semilattices (⊔). Connected to curriculum lessons: APP-A10-001: Collaborative Editing & CRDTs and CORE-M18-001: Distributed Replication.

INTERACTIVE ISLAND

Vector Clocks & CRDT Conflict-Free Replication Simulator

Observe causality tracking with Vector Clocks ⟨vA, vB, vC⟩, test concurrent network partitions, and watch state-based OR-Sets mathematically converge via Join-Semilattice least upper bound (⊔).

● Strongly Consistent (Converged via LUB ⊔)
CAUSAL HISTORY & CONCURRENT EVENT ORDERING LOG
LAB 07 / FULL-CURRICULUM SIMULATOR

Interactive TypeScript Simulation Playground

Directly inspect, edit parameters, and execute the complete suite of 94 distributed algorithms, storage engines, and AI infrastructure simulations directly in the browser—or copy terminal commands to run them natively with Node.

94 Runnable Architecture Simulations

Full implementations covering Multi-Paxos, PBFT, Raft, TrueTime vs HLC, LSM-Trees, Continuous Batching, Ring All-Reduce, Flash Sale reservation, and distributed KV stores.

Launch Simulation Playground →