Skip to main content

Capacity Estimation

Given:

  1. DAU = 100 M users
  2. MAU = 400 M users

A. Throughput [requests per unit of time]

Now you start thinking:

Throughput can be further divided into write-throughput and read-throughput.

So, Let's start with what all operations user can perform:

  1. Retrieving search-results [Read Operation]
  2. No Write-requests

A.1: Read-Throughput

Assume every user performs an average of 5 searchees per day.

Total Read operations per day = DAU * 5 = 100 M * 5 = 500 M read-request per day.

B. Network Bandwidth

B: Egress Traffic

Traffic going out of the system i.e. read traffic Assume each search returns 10 tweets of 200 bytes on an average.


Egress = read per second
= (Total read requests per second) * (Average Search size)
= (500 M / 24/ 60/ 60) * (10 * 200 Bytes)
= (5.7 K/sec) * (2 Kb)
= 11.57 Mbps