Infrastructure
Millions of Users and Above image
Millions of Users and Above
Scaling a system is an iterative process. Iterating on what we have learned in this chapter could get us far. More fine-tuning and new…
Database Scaling image
Database Scaling
Vertical scaling Also known as scaling up, is the scaling done by adding more power to an existing machine (CPU, RAM, Disk, etc.). There…
Logging, Metric, and Automation image
Logging, Metric, and Automation
Logging Monitoring error logs are essential as they help to identify errors and problems in the system. You can monitor error logs at the…
Message Queue image
Message Queue
A message queue is a durable component stored in memory that supports asynchronous communication. It served as a buffer and distributed…
Data Centers image
Data Centers
In normal operations, users are geo DNS routed, also known as geo-routed, to the closest data center. GeoDNS is a DNS service that allows…
Stateless Web Tier image
Stateless Web Tier
Now it is time to consider scaling the web tier horizontally. For this, we need to move the state out of the web tier ( for instance, user…
Content Delivery Network image
Content Delivery Network
CDN is a network of geographically dispersed servers used to deliver static content. CDN servers cache static content like images, videos…
Cache image
Cache
A cache is a temporary storage area that stores the result of expensive responses or frequently access data in memory so that subsequent…
Data Replication image
Data Replication
According to Wikipedia: Database replication can be used in many database management systems. Usually with a master/slave relationship…
Load Balancer image
Load Balancer
If many users access the server simultaneously, the server reaches the web server load limit, and users will experience a slower response or…
Scaling image
Scaling
Scaling Scaling is of two types: Vertical Scaling Horizontal Scaling Vertical Scaling refers to scale-up , which means adding more power…