Discord·Software Engineer·Onsite - System Design / Architecture
- Design a Slack-style messaging platform that supports workspaces, channels (public, private, and DMs), threaded messages, mentions, search, presence indicators, and notifications.
- How would you index messages to support fast channel scrolling, full-text search, and unread counts?
- Walk through your database choice for this system. Why would you pick relational, NoSQL, or a split approach using a log store plus a key-value store? How would you partition by workspace or channel?
- How does a sent message fan out to all channel members? Cover offline users and mobile push, large channels with many members, and how unread counts get updated.
“Big open-ended prompt and they let you run with it for a bit before steering toward the deep-dives.”