Capacity Estimation
Before Moving to Design, It is good to further estimate the capacity on following ground:
- Daily/Monthly Active Users (DAU/MAU)
- Throughput: requests per second
- Storage: Gb, Tb [for 10 years]
- Network Bandwidth: Gbps
Capacity Estimation helps in the following:
- Number of Server and Databases required.
- Cost Management: Helps in Avoiding Over-provisioning and Under-provisioning.
- Decide type and specifications of hardware: Eg: Sql can handles 50K Queries/hr and No-Sql can handles 1M Queries/Hr
- Helps Us in determining Read-Heavy and Write-Heavy Operations Eg: For Read-Heavy Use- PostgresSql, and for Write-Heavy use CassandraDb
Definations:
- Daily Active Users (DAU): Number of unique users active per day.
- Monthly Active Users (MAU): Number of unique users active per month.
MAU != 4*DAU