What is Scale-up vs Scale-out?

Everyone who works in IT knows (or should know) that the word “scale” means “to increase the size of” something so it can handle a bigger workload. If you have more demand hitting a server, you must “scale” it to serve that demand. Products get evaluated on their ability to scale.

So far, so good, but now take into consideration that there are two different kinds of scaling: scale-up and scale-out. What is the difference between scale-up versus scale-out? Simply put, scale-up refers to making the existing resource larger. Scale-out means adding more resources of similar size. [Figure 1]

For example, let’s say you have a two-slot toaster. That’s fine if you want two pieces of toast for yourself. But what if eight people want toast at the same time? You could buy an eight-slot toaster. Or, you could buy three more two-slot toasters.

Either way, you can make eight slices of toast at the same time. The eight-slot toaster represents scaling up. Having four two-slot toasters is scaling out. Does it matter? Yes. Each approach has its own reason for being the right choice under a given set of circumstances. People may want different kinds of bread toasted, for example. That would favor the scale-out approach to toast. What if all eight toast customers are crowding you and need the same kind of toast immediately? That would favor the scale-up, eight-slot toaster.

Scale Up Vs Scale Out

In IT, scale-up, also known as “vertical scaling,” meaning adding more capacity to an existing system. The results will be called a “scale-up architecture.” For example, with a database, building a scale-up architecture involves adding more processors to the database server CPU and/or adding data storage capacity to that server. The goal is usually to handle a higher load but do so in accordance with service level agreements (SLAs).

Scale-out for the database, in contrast, requires installing additional database server instances to meet the new load under existing SLA terms. If the load doubles, you get two database servers. If the load triples, you add a third database server, and so forth.

scale-up architecture

Figure 1

 

What are the advantages and disadvantages of a scale-up architecture?

Why would you choose scale-up versus scale-out? Each approach has its advantages and disadvantages. There’s a whole lot of “it depends” reasoning that goes into figuring out which way is best. In general, though, the main advantage of scale-up, especially for architecture, is its relative speed, simplicity, and low cost. All things being equal, it’s typically easier, faster and cheaper to buy a bigger box and install it.

A dual-processor replaces a single processor and voila, you’ve doubled your CPU throughput. And, if you’re simply making an existing machine bigger, then most of the software configuration and network connectivity stays the same. That alone saves a lot of hassle and time from the scaling process.

The question, then, is why not scale-up all the time? The answer is that scale-up has its drawbacks in certain situations. One issue is that the switch over to a new machine will cause downtime, which does not happen with scale-out. In scale-out, you are, by definition, adding a new instance that enables switchover.

More significantly, some use cases simply don’t favor the scale-up approach. A workload may not necessarily move faster when it’s on a higher capacity machine, for instance. Video processing is one example of a workload that may not run faster in a scale-up architecture. The scale-up architecture may result in higher latency, thus resulting in poorer application performance. Whereas, having multiple machines running in parallel will lead to better latency for end-users and thusly better application performance.

What are the advantages and disadvantages of a scale-out architecture?

Scale-out is not always the automatic answer for greater demand, either. You may run out of rack space, for one thing. And more than likely increase your power and cooling costs. Standing up new equipment and configuring a scale-out cluster also takes time and effort. The upfront costs tend to be higher in a scale-out, due to the person-hours and additional equipment involved. Scaling out using virtual machines (VMs) in the cloud is an option, but you may be adding latency and administrative overhead in the process. We’ll save that topic for a later blog.

Which architecture is better suited for private clouds: scaling up or scaling out?

Which architecture is better for a private cloud: scale-up or scale-out? Again, it depends. The choice will depend partly on how you have set up your private cloud. If it’s an on-premises data center or colocation facility that hosts your private cloud, then you will be facing all of scale-out’s space and cost issues. However, if the workload is best suited to scale-out, then it will still be the right choice, regardless.

Issues to consider when deciding on scale-up vs scale-out in a private cloud include:

  • What are your SLAs and how will the choice affect your ability to meet them?
  • How critical is latency? Will scale-up or scale-out have a negative impact on latency?
  • How will either choice affect your admin capacity? Will it overstretch the team? Do you have the skillsets you need?
  • Are you constrained by space, cost, or both?

How does NVMe/TCP integrate into a scale-out storage architecture?

The use NVMe-based SSDs, disaggregated storage, and scale-out software-defined architectures deliver very efficient infrastructure for private clouds. Disaggregated architecture is a form of scale-out, built with some number of shared storage devices that can be allocated to any server on the network over a very high performance network. NVMe over TCP (NVMe/TCP) networking is a critical part of this solution because it runs on industry-standard Ethernet and TCP/IP networks to enable high performance, high availability, low latency, high scalability, and better efficiency benefits. Anyone that runs iSCSI today can run NVMe/TCP using the same hardware.

The advantage of NVMe/TCP is that there are no special drivers, custom hardware, or additional expenses (over and above iSCSI), while it delivers an order of magnitude lower storage latencies. NVMe/TCP enables a move to disaggregated (i.e. scale out) shared storage.

Related Blogs:

About the Writer: