Practice and self-review
Chat across a gateway restart
Hypothetical scenario: design private conversation messaging with 200,000 concurrent devices and offline catch-up. Choose a message durability promise and…
Published date · Author's judgment
More
Prerequisites
Write your design before revealing the review
Hypothetical scenario: design private conversation messaging with 200,000 concurrent devices and offline catch-up. Choose a message durability promise and distinguish device delivery from read receipts.
Drafts and self-review are stored only in this browser. They are separate from reading completion.
Requirement change — reveal around minute 20
At minute 20, gateways restart after accepting messages, and devices reconnect from cursors older than normal live buffers. Some sends are retried.
Review after your attempt
Look for stable client message identity, conversation sequence, durable append, gateway routing, catch-up/live overlap and authorized membership checks. A socket acknowledgement is not the whole durability protocol.