Related System Design
Design a Chat Application
Design a real-time chat application like WhatsApp or Facebook Messenger.
Design a low-latency voice chat system for gamers.
Design the backend for Discord's Voice Channels. Thousands of users in a server, hopping between voice rooms. What's the architecture?
Use this as one discussion aid, not a single correct answer. Your design should follow from the requirements, scale, and trade-offs you establish.
graph TD
A[Discord Client] -->|WebSocket Keep-Alive| B(WebSocket Gateway Cluster)
B --> C[Presence Service]
C --> D[(Redis: User Status)]
B -->|Publish Event| E[Kafka Message Bus]
E -->|Route to Consumers| B
E -->|Persist| F[(Cassandra: Message History)]Practice drawing this system component-by-component on a live whiteboard while the interviewer probes at your target level.
Continue to DashboardContinue preparing
Related System Design
Design a real-time chat application like WhatsApp or Facebook Messenger.
Related System Design
Design a shared tagging service that lets users apply tags to entities across multiple Atlassian products, with consistent search and deduplication.
Related System Design
Design a scalable notification service that sends emails, SMS, and push notifications to millions of users.
Related System Design
Design a system to detect and prevent political advertisements from unauthorized foreign actors from appearing on a social media platform.