The Question
Design
Scalable Real-time Chat Architecture
Design a distributed system capable of supporting millions of concurrent users for a real-time messaging application. The system must handle message persistence, user presence tracking, and reliable delivery to both online and offline users while maintaining low latency and high write throughput.
WebSockets
Cassandra
Redis
Kafka
Consistent Hashing
February 16, 2026