← Back to home

Interactive Simulation Labs

Single-file interactive HTML demos. Click anywhere to play.

System Design

Token Bucket Rate Limiter

Watch tokens refill and requests get accepted or rejected in real time. Tweak capacity and refill rate.

Audio

Audio Ring Buffer Underrun

See how producer/consumer rate mismatches cause underrun and overflow. Drag the speed sliders.

Video

Video ABR Ladder

Throughput-based vs buffer-based ABR algorithms playing the same network trace.

System Design

Consistent Hashing Ring

Add and remove nodes from the ring. Watch which keys remap.

Networking

TCP Slow Start & Congestion

Watch the congestion window grow and collapse on packet loss. Compare Reno vs Cubic.