Real-Time Message Jitter Buffer (2D)
Interactive 2D simulator of the jitter buffer that real-time mobile apps use to reorder WebSocket/chat messages: watch packets flow through a jittery, lossy network lane, queue in a playout buffer, and get replayed in order — drag to pan the pipeline and tune send rate, jitter, loss and buffer delay live.
Mobile real-time features — live chat, collaborative cursors, push feeds — all sit on top of a channel (WebSocket, Server-Sent Events, Firebase Realtime Database) that does not guarantee messages arrive in the order they were sent. This simulator renders that pipeline as a live 2D flow diagram: packets leave a source at a fixed rate, cross a jittery network lane that scrambles their arrival order and occasionally drops one, and land in a playout buffer that reorders them against a fixed delivery schedule. Two strip charts underneath replay the delivered/dropped history and the buffer occupancy over time. Tune the send rate, jitter spread, loss probability, buffer delay and playback speed to see the exact trade-off every real-time client makes — a larger buffer absorbs more jitter but adds latency, while a smaller one feels instant but starts skipping late arrivals as visible gaps.
Interactive 2D simulator of the jitter buffer that real-time mobile apps use to reorder WebSocket/chat messages: watch packets flow through a jittery, lossy network lane, queue in a playout buffer, and get replayed in order — drag to pan the pipeline and tune send rate, jitter, loss and buffer delay live.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install