Scale calculations
To design a scalable file-sharing service, it is essential to estimate the storage, bandwidth, and processing requirements based on the expected user base and usage patterns. These calculations help in making informed decisions about the infrastructure and resources needed to support the service. Let’s perform some scale calculations.
Assumptions
Here are some initial assumptions that we will use in our design and scale calculations:
- Total number of users: 10 million
- Average number of documents per user: 100
- Average document size: 50 KB
- Average number of revisions per document: 10
- Average revision size: 50 KB
- Average number of collaborators per document: 5
- Average number of comments per document: 20
- Average comment size: 1 KB
- Average number of folders per user: 10
Storage requirements
Here are the storage requirements for the system based on our previous assumptions:
- The document storage requirements...