Order the steps
Order a message send.
- Offline recipients get a push and sync after their last sequence
- Chat service assigns the next conversation sequence and stores it
- Sender gets an ack with the sequence
- Message is published to recipients' gateways
- Client sends message with its own id over the WebSocket
Choose an answer, then open Show answer below to check it.
Text version
Boxes on the board, in order:
- Client
- WS gateway
- Chat service
- Message store
- Pub/sub bus
- Push service
Show answer
Answer: E B C D A
- Client sends message with its own id over the WebSocket The id makes retries safe.
- Chat service assigns the next conversation sequence and stores it Durable before ack.
- Sender gets an ack with the sequence Client marks it sent.
- Message is published to recipients' gateways Online users receive it.
- Offline recipients get a push and sync after their last sequence Catch-up path.