-
Book Overview & Buying
-
Table Of Contents
System Design Guide for Software Professionals
By :
In this section, we will cover the low-level design of a subset of services in our system, namely the Photo Upload Service , News Feed Service, and the User Service. Let us first discuss the Photo Upload Service .
The Photo Upload Service is a critical component of the Instagram-like service, responsible for handling the upload, processing, and storage of photos. Let’s explore the low-level design of the Photo Upload Service in detail. Figure 12.3 illustrates the architecture of the Photo Upload Service showing its interactions with the database, object storage, message queue, background workers, and CDN for efficient photo handling and delivery.
Figure 12.3: Low-level design of the Photo Upload Service
Let us now look into the API endpoint exposed by the service and the photo upload and retrieval flow.
The Photo Upload Service will expose the following API endpoints:
POST /photos...
Change the font size
Change margin width
Change background colour