System Design, Infrastructure

Scaling

A corgi smiling happily

Scaling

Scaling is of two types:

  • Vertical Scaling
  • Horizontal Scaling

Vertical Scaling refers to scale-up, which means adding more power to your server (CPU, RAM, etc.).

Horizontal Scaling refers to scale-out, which allows you to scale by adding more servers to your pool of resources.

Vertical Scaling

  • When traffic is low, it’s a great option
  • Simplicity is its great advantage

Though vertical scaling has some hard limits

  • It’s impossible to add unlimited CPU and memory to a single server
  • Vertical scaling does not have failover and redundancy. If a server goes down, your product goes down with it completely.

Horizontal Scaling

It is more desirable for large-scale applications due to the limitation of vertical scaling.

🍅

Do you have any questions, or simply wish to contact me privately? Don't hesitate to shoot me a DM on Twitter.

Have a wonderful day.
Abhishek 🙏

Subscribe to my newsletter

Get email from me about my ideas, full-stack development resources, tricks and tips as well as exclusive previews of upcoming articles.

No spam. Just the highest quality ideas you’ll find on the web.