{"id":5579,"date":"2021-04-07T12:21:11","date_gmt":"2021-04-07T12:21:11","guid":{"rendered":"https:\/\/ded9.com\/?p=5579"},"modified":"2026-02-08T12:10:07","modified_gmt":"2026-02-08T12:10:07","slug":"what-is-horizontal-scaling","status":"publish","type":"post","link":"https:\/\/ded9.com\/de\/what-is-horizontal-scaling\/","title":{"rendered":"What Is Horizontal Scaling? Benefits, Use Cases &#038; How It Works"},"content":{"rendered":"<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">When the software production process reaches the Production stage, and the application goes to the server, new challenges and risks come for its owners. We are in an age where the use of the Internet has become our way of life. Therefore, after the introduction of the application or website, its users increase rapidly. Of course, in most cases, increasing the number of users of a website promises the growth of a business and its success, but there comes a time when the system can no longer handle the volume of visitors. The scalability process is divided into two general categories: Vertical Scaling and Horizontal Scaling.<\/span><\/span><\/p>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">In some cases, the amount of data is so large that the system can not store it in its database. In such cases, it is time for the system to be scaled. If you are eager to learn about scaling and its variants, we have an article on this topic entitled &#8220;What is Scaling?&#8221; We have prepared.<br \/>\n<\/span><\/span><\/p>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">Companies tend to quickly scale their system vertically for ease of implementation. But in most cases, scaling costs can be significantly reduced by implementing horizontal <a href=\"https:\/\/en.wikipedia.org\/wiki\/Scalability\" target=\"_blank\" rel=\"noopener\">scalability<\/a>. In this article, we will introduce horizontal scalability.<\/span><\/span><\/p>\n<h2><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">What is horizontal scaling?<\/span><\/span><\/h2>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">Horizontal scaling is also an outward scalability. In this type of scalability, instead of increasing the power of a system, we increase the number of systems. These systems must operate in parallel so that the user is unaware of their multiplicity outside the system. One of the main complications of horizontal scalability is solving this problem! Therefore, adding the number of servers from one to two is much more complicated than converting their number to three, four, and so on. The challenge lies in the first step!<\/span><\/span><\/p>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">A set of <a href=\"https:\/\/ded9.com\/effective-ways-to-improve-speed-of-linux-and-windows-virtual-servers\/\">servers<\/a> that run on a system at the same time is a cluster. A load distribution server, also known as a load balancer, is responsible for dividing the processing load between these servers. Over time, new servers were purchased and added to the cluster. From now on, you will have a horizontal scale system!<\/span><\/span><\/p>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">The load balancer server has the task of deciding which server is responsible for responding to the request when the user submits the request. This hides the complexity of the process from the user and displays it seamlessly.<\/span><\/span><\/p>\n<h3><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">Advantages and disadvantages of using horizontal scalability<\/span><\/span><\/h3>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">Although scalability is a necessity compared to a non-scalable system, to choose between horizontal and vertical scalability, we need to know its advantages and disadvantages. Here are some of the benefits of using this scalability method:<\/span><\/span><\/p>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">It is much cheaper than the vertical scalability method.<\/span><\/span><\/p>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">Reduces the system&#8217;s load time and improves performance.<\/span><\/span><\/p>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">Reduces the likelihood of the system going down.<\/span><\/span><\/p>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">Provides the system with more flexibility.<\/span><\/span><\/p>\n<h3><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">In contrast, using the horizontal scalability method has the following disadvantages:<\/span><\/span><\/h3>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">Joining different tables can be challenging when large databases are shared across multiple servers.<\/span><\/span><\/p>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">Some servers may be disrupted in certain situations, making it almost inappropriate to use this method for banking processes or transactions due to their simultaneous nature.<\/span><\/span><\/p>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">An action cannot be easily assigned to a server. For example, the space required to store images due to their large size may be more than the storage space of a server.<\/span><\/span><\/p>\n<h3><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">What is scalable software?<\/span><\/span><\/h3>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">It is generally a scalable software or software system that can sustainably serve even on a larger scale. For example, suppose a website has 100 hits per day. If this website is scalable, it should be able to withstand 10,000 visits per day. Of course, this does not mean that we do not need to increase the power of the hardware (such as a server or site servers) when scaling scalable systems. It means the optimal use of servers or hardware. For example, with 100 times the number of visits, the system should be able to respond well to the extra volume by increasing the server power 5 times.<\/span><\/span><\/p>\n<h3><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">Conclusion<\/span><\/span><\/h3>\n<p><span class=\"VIiyi\" lang=\"en\"><span class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"fa\" data-phrase-index=\"0\">In this article, we introduced a standard method of scaling or scalability called horizontal scalability. In many companies, the vertical scalability method is used as soon as the system needs scalability. While the horizontal scalability method has valuable advantages over its vertical counterpart, it is often prioritized for use. Do you have experience working with this type of scalability? What do you think are the risks of using the horizontal scalability method?<\/span><\/span><\/p>\n<h2>FAQ<\/h2>\n<div id=\"rank-math-rich-snippet-wrapper\"><div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-1\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">What is horizontal scaling in computing?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Horizontal scaling (or scaling out) refers to adding more machines or nodes to a system to handle increased load, rather than upgrading the hardware of a single machine.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-2\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">How is horizontal scaling different from vertical scaling?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>While horizontal scaling adds more servers to distribute the load, vertical scaling increases the capacity (CPU, RAM, etc.) of an existing server. Horizontal scaling offers better fault tolerance and flexibility.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-3\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">What are the benefits of horizontal scaling?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Benefits include improved system availability, better load distribution, easier fault isolation, and enhanced scalability to accommodate growth without downtime.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>When the software production process reaches the Production stage, and the application goes to the server, new challenges and risks come for its owners. We are in an age where the use of the Internet has become our way of life. Therefore, after the introduction of the application or website, its users increase rapidly. Of [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":5581,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[92],"tags":[800,934],"class_list":["post-5579","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet","tag-database","tag-server"],"acf":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ded9.com\/de\/wp-json\/wp\/v2\/posts\/5579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ded9.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ded9.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ded9.com\/de\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/ded9.com\/de\/wp-json\/wp\/v2\/comments?post=5579"}],"version-history":[{"count":4,"href":"https:\/\/ded9.com\/de\/wp-json\/wp\/v2\/posts\/5579\/revisions"}],"predecessor-version":[{"id":246328,"href":"https:\/\/ded9.com\/de\/wp-json\/wp\/v2\/posts\/5579\/revisions\/246328"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ded9.com\/de\/wp-json\/wp\/v2\/media\/5581"}],"wp:attachment":[{"href":"https:\/\/ded9.com\/de\/wp-json\/wp\/v2\/media?parent=5579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ded9.com\/de\/wp-json\/wp\/v2\/categories?post=5579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ded9.com\/de\/wp-json\/wp\/v2\/tags?post=5579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}