Design Slack

Hard60 min
1 / 30
understanding3 min read

Problem framing: a multi-tenant workspace platform

What Slack is and why multi-tenancy organizes the whole design

Problem framing: a multi-tenant workspace platform

Slack is a workplace collaboration platform, and the single fact that organizes the whole design is multi-tenancy: every piece of data and traffic is scoped to a workspace, and workspaces range from a five-person startup to a half-million-seat enterprise on the same shared infrastructure. So the spine is not just chat — it is per-workspace isolation, channels (public and private) and DMs and threads, real-time fan-out with presence, full-text search across messages and files, and an app platform of slash-commands and bots. Unlike WhatsApp, Slack is deliberately server-readable: the workplace wants search, link previews, retention, and compliance export, so content lives in plaintext under strong access control, not end-to-end encryption.

State the multi-tenant framing up front. Every later decision — sharding by workspace, fan-out within a channel, a per-workspace search index, noisy-neighbor isolation, enterprise compliance and eDiscovery — follows from the unit of everything being the workspace. The hard parts are isolating wildly different-sized tenants on shared infrastructure, fanning a message to every channel member and their devices in real time, and making years of a workspace's history instantly searchable.

Key Highlights

  • Multi-tenancy is the organizing principle: everything is workspace-scoped
  • Workspaces span 5 to 500k seats on shared infrastructure
  • Server-readable by design (search, previews, compliance) vs WhatsApp E2EE
  • Hard parts: tenant isolation, channel fan-out, full-text search at scale
Interview move
Open with multi-tenancy. Saying the workspace is the unit of sharding, isolation, and search signals you understand Slack, not generic chat.
Avoid
Do not propose E2EE here. Slack is a workplace tool that needs server-readable search and compliance export; privacy is via access control, not encryption-from-the-server.

Section Rescue Kit

Buzzwords to use:

Multi-tenancyNoisy neighbor

Safe statements:

  • "Everything is workspace-scoped: data, routing, search, and quotas."
  • "Slack is server-readable by design so it can offer search and compliance; access control is the privacy boundary."
Design Slack - System Design | WinJob | WinJob