Estimate the scale of the system you are going to design...
For the Global Content Distribution Network (CDN) system, several APIs would be essential to facilitate various operations and interactions within the system. Here are the key API endpoints required:
By providing these APIs, the CDN system enables content providers, administrators, and clients to efficiently manage content distribution, optimize performance, ensure security, and monitor system health and usage.
This below class diagram outlines the relationships between the main entities in the database for the CDN system. Each entity captures specific information crucial for the effective functioning of the content distribution network.
Database Type: SQL (Relational Database)
Database Type: NoSQL (Document Store)
Database Type: NoSQL (Key-Value Store)
Database Type: NoSQL (Wide-Column Store)
Database Type: NoSQL (Log Database)
Explain how the request flows from end to end in your high level design. Also you could draw a sequence diagram using the diagramming tool to enhance your explanation...
Dig deeper into 2-3 components and explain in detail how they work. For example, how well does each component scale? Any relevant algorithm or data structure you like to use for a component? Also you could draw a diagram using the diagramming tool to enhance your design...
Explain any trade offs you have made and why you made certain tech choices...
Try to discuss as many failure scenarios/bottlenecks as possible.
What are some future improvements you would make? How would you mitigate the failure scenario(s) you described above?