Whatsapp design

Cghzqzd
May 18, 2021

--

READ MF!

Requirements

Functional

  • 1–1 chat
  • Group chat
  • user online status
  • read receipts

Non-functional

Estimation

Storage

  • 1 Billion users and 500 millions DAU and 10 msg per day. Each msg is 400 bytes. 500M * 10 * 400 = 2TB/day. 2TB* 400 = 800TB = 1PB

Write QPS

1B * 0.5/80,000 =6000 QPS

Read QPS

3x write 18000 QPS

API Spec

Database/Design

Database

Design

References

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response