{"id":9264,"date":"2018-07-14T07:50:19","date_gmt":"2018-07-14T07:50:19","guid":{"rendered":"http:\/\/www.esds.co.in\/blog\/?p=9264"},"modified":"2021-02-25T07:43:29","modified_gmt":"2021-02-25T07:43:29","slug":"vertical-scaling-horizontal-scaling","status":"publish","type":"post","link":"https:\/\/www.esds.co.in\/blog\/vertical-scaling-horizontal-scaling\/","title":{"rendered":"What is Vertical Scaling &#038; Horizontal Scaling?"},"content":{"rendered":"\n<h3 class=\"has-text-align-center wp-block-heading\"><span class=\"ez-toc-section\" id=\"Difference_between_horizontally_scaling_and_vertically_scaling\"><\/span>Difference between horizontally scaling and vertically scaling<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed-youtube aligncenter wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"eNlight Cloud: India&#039;s First Auto-Scalable Cloud Hosting Platform\" width=\"960\" height=\"540\" src=\"https:\/\/www.youtube.com\/embed\/PGhzy61rwAQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p style=\"text-align: justify;\">For novice system administrators probably it will be probably unclear\u00a0what is the difference between Horizontal and Vertical Scaling. In the following article, we have tried to simplify the two terms.<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.esds.co.in\/blog\/vertical-scaling-horizontal-scaling\/#Difference_between_horizontally_scaling_and_vertically_scaling\" >Difference between horizontally scaling and vertically scaling<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.esds.co.in\/blog\/vertical-scaling-horizontal-scaling\/#Vertical_Scaling\" >Vertical Scaling<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.esds.co.in\/blog\/vertical-scaling-horizontal-scaling\/#Horizontal_Scaling\" >Horizontal Scaling<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.esds.co.in\/blog\/vertical-scaling-horizontal-scaling\/#The_Difference\" >The Difference<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.esds.co.in\/blog\/vertical-scaling-horizontal-scaling\/#Which_is_more_Feasible\" >Which is more Feasible?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<h2 class=\"has-text-align-center wp-block-heading\"><span class=\"ez-toc-section\" id=\"Vertical_Scaling\"><\/span><strong>Vertical Scaling<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p style=\"text-align: justify;\"><strong>Vertical scaling<\/strong> refers to adding more resources (CPU\/RAM\/DISK) to your server (database or application server is still remains one) as on demand.<\/p>\n\n\n\n<p style=\"text-align: justify;\">Vertical Scaling&nbsp;is most commonly used in applications and products of middle-range as well as small and middle-sized companies. One of the most common examples of <strong>Virtual Scaling<\/strong> is to buy an expensive hardware and use it as a&nbsp;Virtual Machine hypervisor (VMWare ESX).<\/p>\n\n\n\n<p style=\"text-align: justify;\"><strong>Vertical Scaling<\/strong> usually means upgrade of server hardware. Some of the reasons to scale vertically&nbsp;includes increasing IOPS (Input \/ Ouput Operations), amplifying CPU\/RAM capacity, as well as disk capacity.<\/p>\n\n\n\n<p style=\"text-align: justify;\">However, even after using virtualization, whenever an improved performance is targeted, the&nbsp;risk for downtimes with it is much higher than using horizontal scaling.<\/p>\n\n\n\n<h2 class=\"has-text-align-center wp-block-heading\"><span class=\"ez-toc-section\" id=\"Horizontal_Scaling\"><\/span><strong>Horizontal Scaling<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p style=\"text-align: justify;\"><strong>Horizontal Scaling<\/strong> is a must use technology \u2013 whenever a high availability of (server) services are required<\/p>\n\n\n\n<p style=\"text-align: justify;\"><strong>Scaling horizontally<\/strong> involves adding more processing units or phyiscal machines to your server or database. It involves growing&nbsp;the number of nodes in the cluster, reducing the responsibilities of each member node by spreading the key space wider and providing additional end-points for client connections. Horizontal Scaling&nbsp;has been historically much more used for high level of computing and for application and services.<\/p>\n\n\n\n<p style=\"text-align: justify;\">Although this does not alter the capacity of each individual node, the load is decreased due to the distribution between separate server nodes.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube aligncenter wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Multi-Dimensional Autoscaling- ESDS&#039; eNlight Cloud Platform\" width=\"960\" height=\"540\" src=\"https:\/\/www.youtube.com\/embed\/AmyUe-B5qm4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p style=\"text-align: justify;\">Some of the reasons why organizations should choose to scale horizontally&nbsp;include&nbsp;increasing I\/O concurrency, reducing the load on existing nodes, and increasing disk capacity.<\/p>\n\n\n\n<p style=\"text-align: justify;\">The Internet and particular&nbsp;<strong>web services<\/strong>&nbsp;have boosted the use of <strong>Horizontal Scaling<\/strong>. Most giant companies that provide well known web services like&nbsp;Google (Gmail, YouTube),&nbsp;Yahoo, Facebook, EBay, Amazon&nbsp;etc. are&nbsp;using heavily horizontal scaling.<\/p>\n\n\n\n<p style=\"text-align: justify;\">In a nut shell,<\/p>\n\n\n\n<h3 class=\"has-text-align-center wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Difference\"><\/span><strong>The Difference<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p style=\"text-align: justify;\">Horizontal-scaling is often based on partitioning of the data in which each node contains only part of the data. In the case of <strong>vertical-scaling<\/strong>, the data resides on a single node. Scaling here is done through multi-core by spreading the load between the CPU and RAM resources.<\/p>\n\n\n\n<h3 class=\"has-text-align-center wp-block-heading\"><span class=\"ez-toc-section\" id=\"Which_is_more_Feasible\"><\/span><strong>Which is more Feasible?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.esds.co.in\/enlight360\"><strong>Horizontal-scaling<\/strong><\/a> or scale dynamically is quite easy as you can add more machines into the existing pool. Vertical-scaling on the contrary is often limited to the capacity of a single machine. Scaling beyond that capacity results in downtime and comes with an upper limit.<\/p>\n\n\n\n<p style=\"text-align: justify;\">One of the good example of horizontal scaling is Cassandra, MongoDB and that of vertical scaling is MySQL. Scaling vertically can be achieved easily by switching from small to bigger machines. But this involves downtime.<\/p>\n\n\n\n<p style=\"text-align: justify;\">If you need to achieve superior performance issues you can use either <strong>vertical scaling<\/strong> or horizontal scaling or both in <strong>cloud environments<\/strong>. There are few auto scalable&nbsp;models that are comparatively far better than traditional scaling models and are known to offer best performances without any down time.<\/p>\n\n\n\n<p style=\"text-align: justify;\">ESDS offers <strong><a href=\"https:\/\/www.esds.co.in\/enlight-public-cloud-hosting\" target=\"_blank\" rel=\"noreferrer noopener\">enterprise application solutions<\/a><\/strong>, <a href=\"https:\/\/www.esds.co.in\/iot\"><strong>IoT solutions<\/strong><\/a> for businesses in India. It is among the top Indian Data center with Tier III certification.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Difference between horizontally scaling and vertically scaling For novice system administrators probably it will be probably unclear\u00a0what is the difference between Horizontal and Vertical Scaling. In the following article, we have tried to simplify the two terms. Vertical Scaling Vertical scaling refers to adding more resources (CPU\/RAM\/DISK) to your server (database or application server is&#8230; <\/p>\n<div class=\"clear\"><\/div>\n<p><a href=\"https:\/\/www.esds.co.in\/blog\/vertical-scaling-horizontal-scaling\/\" class=\"gdlr-button small excerpt-read-more\">Read More<\/a><\/p>\n","protected":false},"author":81,"featured_media":9265,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1737],"tags":[2522,1800,1788,1211,1801,2521,2523,1787,1212],"class_list":["post-9264","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enlight-cloud","tag-difference-between-vertical-scaling-and-horizontal-scaling","tag-enterprise-application-solutions","tag-horizontal-auto-scaling","tag-horizontal-scaling","tag-iot-solutions","tag-scaling-horizontally","tag-scaling-vertically","tag-vertical-auto-scaling","tag-vertical-scaling"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts\/9264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/comments?post=9264"}],"version-history":[{"count":2,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts\/9264\/revisions"}],"predecessor-version":[{"id":11752,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts\/9264\/revisions\/11752"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/media\/9265"}],"wp:attachment":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/media?parent=9264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/categories?post=9264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/tags?post=9264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}