Detailed Design of Instagram
Add more components
We expand the design with the following components:
Load balancer: Distributes incoming user requests.
Application servers: Host the service logic for end users.
Relational database: Stores metadata and user information.
Blob storage: Stores media files (photos and videos).
Upload, view, and search a photo
Let’s discuss the upload, view, and search workflow:
Upload flow: The client sends a photo to the load balancer, which routes it to an application server. The ...