#[qubyte]client-server (so not so similar) but interesting: EventSource provides just enough in its spec to know when stuff has been missed, and upon reconnection the browser automatically sends the last received event ID (so the server can immediately send stuff missed in the gap).