Reconnect-resume with no flicker

Server ticks every second. Press Drop the connection - it severs the WebSocket for 10 seconds right here in the page (your browser's offline toggle works too). The counter freezes, then catches up to the latest value in one frame, and the newest ledger row is tagged with how many ticks the resume filled at once.

Server tick count
...
WebSocket: disconnected
offline for 0s - the reconnect will fill the gap in one frame

One counter for everyone: Reset affects every connected visitor.

Event ledger (newest first)

Each row is one received event. Rows marked replayed arrived after a sequence break (recovered via the replay buffer). Timestamps carry milliseconds: delivery jitter can land two once-per-second ticks in the same wall-clock second, and the milliseconds show they are still distinct events.

  • Waiting for first tick...