Retaining Delivery Map Events for Reliable Recovery After Reconnects
A developer writeup argues that live delivery tracking maps need a short, durable event window so clients can recover missed location updates. The proposed design has delivery services publish immutable events with per-delivery sequence numbers, and clients reconnect by sending their last cursor. Based on that cursor, the gateway either replays missing events, returns a fresh snapshot, or sends nothing if the client is current. The author stresses that expiry should use server ingestion time rather than device time, since mobile clocks can drift. Recovery behavior is treated as a protocol the system must define, because transports like websockets do not provide history or replay on their own.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in