Discord High-Level Design (HLD) Interview Questions
Million-user guild presence, WebRTC voice SFUs & high-write chat storage. Practice each prompt in HLDArena's 60-second discrete-event simulator with p99 latency, availability, and cloud cost gates.
- Stateful WebSocket presence gateways & fanout storms in 500k-member servers
- Partitioned append-only message storage (ScyllaDB/Cassandra) avoiding hot partitions
- WebRTC Selective Forwarding Units (SFU) & low-latency gaming leaderboards
| Status | Code | Question | Difficulty | Max Pts |
|---|---|---|---|---|
| — | HLD-311 | 10M-Concurrent User Presence Heartbeat & Guild Fan-Out Design Discord / Slack’s real-time online/idle/DND presence system handling millions of WebSocket heartbeats and large-server member-list status subscriptions. | Hard | 1500 pts |
| — | HLD-305 | Real-Time Group Chat & Channel Persistence Design a persistent multi-device chat backend supporting direct messages and active group channels with ordered message history, read-after-write delivery, and automatic node failover. | Hard | 1500 pts |
| — | HLD-403 | 10M-Viewer Live Sports Broadcast Chat & Reactions Design a stadium-scale live video chat and emoji reaction pipeline surviving 300k+ RPS goal-moment spikes on a single championship broadcast. | Expert | 2000 pts |
| — | HLD-321 | Global Video Conferencing Room Signaling & SFU Topology Design Zoom / Google Meet’s room signaling, participant roster state, and regional Selective Forwarding Unit (SFU) relay allocation at 9:00 AM join storms. | Hard | 1500 pts |
| — | HLD-307 | Live Gaming Leaderboard & Rank Aggregator Design a global esports leaderboard handling tens of thousands of concurrent match score increments per second while serving real-time Top-100 and player percentile lookups. | Hard | 1500 pts |
| — | HLD-308 | Multiplayer Document Cursor & Operation Relay Design a real-time collaborative document backend persisting CRDT/OT edit operations and serving live document snapshots during large company all-hands sessions. | Hard | 1500 pts |
| — | HLD-317 | Multiplayer Infinite Canvas & CRDT Vector Sync (Figma/Miro) Design Figma / Miro’s real-time multiplayer board server synchronizing CRDT vector property deltas, viewport-culled cursors, and durable board snapshots. | Hard | 1500 pts |
| — | HLD-222 | Reddit-Style Nested Comment Tree & Hot-Rank Votes Design a threaded discussion and upvote/downvote backend serving materialized comment trees on frontpage AMA threads while coalescing vote bursts. | Medium | 1000 pts |
| — | HLD-219 | Collaborative Music Playlist & Synced Lyrics Store Design a music streaming playlist and time-synced lyrics backend serving album-drop surges while immediately reflecting track additions in shared playlists. | Medium | 1000 pts |
| — | HLD-117 | Live Webinar Poll & Audience Vote Tally Service Design an interactive live poll backend collecting tens of thousands of simultaneous audience votes when a keynote speaker launches a question on screen. | Easy | 500 pts |