Sequence Numbers for Realtime Messages: An API Approach to Auction Gaps
A live-auction chat room should attach a monotonic sequence number to each committed event, keep ordering authority on the server, and replace local state from an authoritative snapshot whenever a client observes a gap. TL;DR: detect missing updates instead of promising perfect delivery. A narrow room token may let a browser connect and chat, but it must not let that browser decide event order,…
We haven't written up this one. Dev.to has the full story — the link below goes straight to it.
Source: dev.to