Build a Discord-like TCP Chat Server with Slash Commands, Rooms, Reconnection, and Persistence
Asked at Discord · System Design for ML · Difficulty: Hard · Last asked Jul 15, 2026
Build a runnable multi-client TCP chat server with slash commands, chat rooms, per-room history, reconnection, and persistence across restarts.
Loading the problem…
More Discord interview questions
- Implement a Leader-Follower Distributed System with Membership, Failover Detection, and Leader Election (Practical pair-programming)
- Design a Chat Server
- Python Data Structure Design for Game Metadata and Related Discord Servers
- Chat Server
- SQL Windowed Aggregation: Past 7/14/30 Days per Day and Country
- SQL Aggregation: Video Calls per Country per Day