Estimate the scale of the system you are going to design...
DB1:
DB2:
on a high level we will have client and database.
the client has two functions:
In order to avoid latency if multiple requests are coming, then we need to add load balancers in front of the webserver and perhaps increase the webservers and also partition the DBs so that balanced requests are managed accordingly. (for example if they are coming from different locations then they go to the server closest to their region and hits the right DB partition).
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?