Grokking Modern API Design Interview
Vote
0% completed
Interview Question: Design the API Behind a Messaging App
The interview question is:
Design the API behind a messaging application.
Chapter 6 already designed the chat service.
Its contract contains:
Conversation;Message;Receipt;- server-assigned per-conversation message sequence;
- newest-first cursor history;
POST /conversations/{conversation_id}/messages;POST /conversations/{conversation_id}/receipts;- WebSocket delivery with opaque event ids;
- a
10,000-event or10-minute replay buffer; 409 resync_required; and- deletion tombstones that preserve message sequence.
.....
.....
.....
Like the course? Get enrolled and start learning!