Click here to Skip to main content
15,887,434 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I am just a starter to MS Azure, while doing my regular studies i felt difficult to find the exact real time difference between 'scale up' ,'scale out' on azure, so can anybody answer this with an exact scenario.?

Kind Regards,
Nidhin.

What I have tried:

I have tried regular searching when i come across with this, but didn't find anything suits for my cup.
Posted
Updated 18-Feb-16 22:53pm

You found nothing on the internet about scaling up versus scaling out? I find that hard to believe.

Scaling up is when you make the hardware you have be able to handle more load by improve its performance, ie adding more memory, faster network cards, faster\more processors.

Scaling out is where you add more servers and distribute the load across them so each server only handles a fraction of the overall load.

Server A: Handles 1000 requests per second

Scaling up = Improve Server A's hardware so it can handle 1500/s
Scaling out = add a server identical to Server A to a farm and distribute the load, each server can still only handle 1000\s but your farm can handle 2000\s over all. Add a third server and you can handle 3000\s.
 
Share this answer
 
Comments
Nidhin T Balan 19-Feb-16 5:52am    
Hi ,

Thanks for your reply!

Understood that , what my question is like when we use scale up and when we use scale out? If possible could you please provide me with an example.I know exactly what scale up and scale out means , but just need a clarification on when/where we use this or that.

Kind Regards,
Nidhin.
F-ES Sitecore 19-Feb-16 6:13am    
Scaling up is easier and cheaper but is less effective. If you only want a little extra capacity and don't have much money then it's an option. Scaling out is far more effective but more expensive, and your codebase might not support working from a webfarm. If you have the money and your code will work from a farm then scale out.
In very basic terms, scale up means making your machine/process bigger and more powerful, whereas scale-out means adding more machines/instances to your system.

For example, if you have a system that calculates the prices of all the commodities on an exchange and you find it is not performing well you can scale-up by adding more RAM to the database and more processors and indeed by adding more threads to your software thread pool.

Or you can scale out by adding more instances and each one handles a subset of the total set of work.
 
Share this answer
 
Comments
Nidhin T Balan 19-Feb-16 5:53am    
Hi Duncan,

Thanks for your reply!
Understood that , what my question is like when we use scale up and when we use scale out? If possible could you please provide me with an example.I know exactly what scale up and scale out means , but just need a clarification on when/where we use this or that.

Kind Regards,
Nidhin.
Duncan Edwards Jones 19-Feb-16 6:22am    
In that case - I recommend you use scale out for new build from the start (unless there is a real non-parallel business situation) and use scale up when your architecture is already built around a monolithic design because it is really difficult to parallelise a design that wasn't built to be parrallelised.
Duncan Edwards Jones 11-Mar-16 6:12am    
As an analogy - compare a bus (scale up) with many taxis (scale out).

For a given load a bus is cheaper to run but everyone on the bus has to wait for everyone else on the bus.

Taxis are more expensive but everyone gets to their destination as quick as possible irregardless of other people's destinations.

Then consider the difference between adding an extra 10 seats to a bus vs adding an extra 5 taxis. That is where the real reason for scale-out comes from!
Nidhin T Balan 9-May-16 7:50am    
Hi Duncan,

Thanks . That makes me clear on this.

Nidhin.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900