The Question
Design
Scalable Real-time Messaging System
Design a high-concurrency real-time chat platform capable of supporting 100M DAU. The system must handle persistent WebSocket connections, ensure ordered message delivery, provide online/offline presence status, and support efficient retrieval of message history for both 1-on-1 and group conversations.
WebSockets
Redis
Cassandra
Kafka
SnowflakeIDs
March 8, 2026