Horizontal vs Vertical Scaling

Nikhil Verma
3 min readSep 21, 2021

You are a computer programmer who like to solve real world problems with the help of coding knowledge. Amazingly you constructed something very meaningful and someone liked your code so much that she is ready to pay you for using your code.

Your code got popularised and slowly you had a large audience coming to you which started asking your codebase.

Its nearly impossible for you to ship your machine with code to each user who is requesting for your codebase, so you decided to create something called as “Application Programming Interface (APIs)” which others could use to access your codebase through internet passing required details.

Scalability

Till now you made your code available as an API for users, but a point occurs that your code on your machine is not able to handle all the incoming requests for which your think two ideas:-

  1. Buying a bigger machine
  2. Buying more machines

--

--

Nikhil Verma

Knowledge shared is knowledge squared | My Portfolio https://lihkinverma.github.io/portfolio/ | My blogs are living document, updated as I receive comments