Match a job Paths Subjects Questions Quizzes Pricing
Overview Read Practice

Practice — Design a Chat System (WhatsApp / Slack / Messenger) (5 questions)

Pro content

Sign up free, then start a 14-day Pro trial — no card needed.

Intermediate Open Free

Estimating the Connection Server Fleet Permalink →

A chat product has 300 million DAU. At peak, 25% of DAU are simultaneously connected via WebSocket. Each connection server can hold 600,000 concurrent idle connections.

  1. How many concurrent connections must the system support at peak?
  2. How many connection servers are needed (add a 30% safety margin)?
  3. What resource typically becomes the bottleneck per server before CPU does, and what is the practical fix?

Share this question

Advanced Open Pro

Choosing a Fan-out Strategy by Group Size

Unlock this question →
Advanced Open Pro

Idempotent Send and Delivery Acknowledgements

Unlock this question →
Advanced Open Pro

Designing the Message Storage Schema

Unlock this question →
Advanced Open Pro

Recovering from a Connection Server Crash

Unlock this question →

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.