Question 8 of 10Pro Only
How would you design a real-time chat system like WhatsApp or Slack?
Sample answer preview
A real-time chat system requires instant message delivery, persistent storage, presence tracking, and support for billions of messages daily. Define requirements first. One-on-one and group messaging. Real-time delivery with offline support. Read receipts and typing indicators.
WebSocketconnection managementfan-outpresenceend-to-end encryptionmessage synchronization