Capacity Estimation

We need to understand the scale of our system before we design it.

How many users?

500M
Daily Active Users (DAU)
2B
Monthly Active Users (MAU)

Our system serves a massive global audience across multiple regions.

Throughput

500M
DAU
×
100
Avg Req / Day
=
50B
Total Requests Per Day

We must process 50 billion requests daily with minimal latency.

Storage & Memory

Counter Data Parameters

  • User Entries500 Million
  • API Types50 per User
  • Avg Entry Size100 Bytes
Total Counter Storage
2.5TB

Manageable size for a high-speed caching solution.

Since we need very low latency, we can store the entire 2.5 TB counter dataset in a distributed cache.

Network Bandwidth

Avg Bandwidth Required
161MB/s
50 TB / Day
Total Data Transfer
579 GB / Hour
Hourly Throughput

Based on an average request/response size of 1 KB.

500M DAU
Users
2B MAU
50B
Throughput
Requests / Day
2.5 TB
Storage
Counter Cache
161 MB/s
Network
Avg Bandwidth