Detailed Design of Instagram

Explore the design of Instagram in detail and understand the interaction of various components.

Add more components

Let’s add a few more components to our design:

  • Load balancer: To balance the load of the requests from the end users.

  • Application servers: To host our service to the end users.

  • Relational database: To store our data.

  • Blob storage: To store the photos and videos uploaded by the users.

Press + to interact
Adding components to design
Adding components to design

Upload, view, and search a photo

The client requests to upload the photo, load balancer passes the request to any of the application servers, which adds an entry to the database. An update that the photo is stored successfully is sent to the user. If an error is encountered, the user is communicated about it as well.

The photo viewing process is also similar to the above-mentioned flow. The client requests to view a photo, and an ...

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.