Background
System Design Notes from System Design Interview By Alex Xu
Single Server Setup
Load Balancer
Database Replication
Advantages
Cache
Considerations
Content delivery network (CDN)
What is CDN?
A CDN (Content Delivery Network) is a network of distributed servers used to deliver static content such as images, videos, CSS, and JavaScript files.
How CDN works?
At a high level, when a user visits a website, the closest CDN server to the user delivers the static content. The farther the user is from the CDN server, the slower the website loads.
Source