How would you design a service like Instagram? Estimate server and storage requirement for peak traffic.
+3 votes
1.1k views
in Technical by (15 points) | 1.1k views

1 Answer

–2 votes
Requirement:

1) A user can see real-time data of people with similar interest groups, region, people he has followed.

Solutions:

1) AI/ other decision making parameters to divide the complete audience into segments.
Creating clusters/ servers on the basis of segments and regions and sharing on the similar basis.
2) Keeping the data on the clients and storing an id of the client of the server.
Creating a hash map of each client and sharing the results accordingly.
3) Connecting the nodes in a tree-like structure where each node can get the data of the connected nodes on their upper side.
4) Storing the data on the server in a tree-like structure where each of the node can access the data of the relevant nodes on the server.
See less
by (28 points)
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please log in or register.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please log in or register.