Static content scaling

The web layer of the architecture is mostly concerned about displaying and collecting data and passing it to the application layer for further processing. In the case of an e-commerce website, each product will have multiple images and maybe videos to show a product's texture and demos, which means the website will have lots of static content with read-heavy workload since, most of the time, users will be browsing products.

Storing static content in the web server means consuming lots of storage space, and as product listings grow you have to worry about scalability. The other problem is that static content (such as high-resolution images and videos) is heavy in size, which may cause significant load latency on the user's end. The web tier needs to utilize the Content Distribution Network (CDN) to solve this issue.

CDN providers (such as Akamai, Amazon CloudFront, Microsoft Azure CDN, and Google CDN) provide edge locations across the globe where static content can be cached from the web server to available videos and images near the user's location and reduce latency.

To scale the origin storage, it's recommended to use object storage such as Amazon S3 or an on-premise custom origin, which can grow independent of memory and compute capabilities. These storage solutions can hold static HTML pages to reduce the load of web servers and enhance user experience by reducing latency through the CDN network.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.15.135.63