{"id":7978,"date":"2021-11-13T16:36:52","date_gmt":"2021-11-13T14:36:52","guid":{"rendered":"https:\/\/tekmart.co.za\/t-blog\/?p=7978"},"modified":"2021-11-13T16:36:53","modified_gmt":"2021-11-13T14:36:53","slug":"what-is-load-balancing-in-server-hardware-parlance-we-take-a-closer-look-at-how-it-works-and-its-methods","status":"publish","type":"post","link":"https:\/\/tekmart.co.za\/t-blog\/what-is-load-balancing-in-server-hardware-parlance-we-take-a-closer-look-at-how-it-works-and-its-methods\/","title":{"rendered":"What is load balancing in server hardware parlance?-we take a closer look at how it works and its methods."},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<h2 class=\"wp-block-heading\"><strong>Load balancing is a technique used to distribute workloads uniformly across\u00a0servers\u00a0or other compute resources to optimize network efficiency, reliability and capacity.\u00a0<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.ttgtmedia.com\/rms\/onlineImages\/irei_alissa.jpg\" alt=\"Alissa Irei\"\/><\/figure>\n\n\n\n<p>By <a href=\"https:\/\/www.techtarget.com\/contributor\/Alissa-Irei\">Alissa Irei<\/a><\/p>\n\n\n\n<p>Load balancing is performed by an\u00a0appliance\u00a0&#8212; either physical or virtual &#8212; that identifies in real time which server in a pool can best meet a given\u00a0client\u00a0request, while ensuring heavy network traffic doesn&#8217;t unduly overwhelm a single server.<\/p>\n\n\n\n<p>In addition to maximizing network capacity and performance, load balancing provides\u00a0failover. If one server fails, a load balancer immediately redirects its workloads to a backup server, thus mitigating the impact on end users.<\/p>\n\n\n\n<p>Load balancing is usually categorized as supporting either\u00a0Layer 4\u00a0or\u00a0Layer 7. Layer 4 load balancers distribute traffic based on transport data, such as IP addresses and Transmission Control Protocol (TCP)\u00a0port numbers. Layer 7 load-balancing devices make routing decisions based on application-level characteristics that include HTTP header information and the actual contents of the message, such as\u00a0URLs\u00a0and\u00a0cookies. <\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>Layer 7 load balancers are more common, but Layer 4 load balancers remain popular, particularly in edge deployments.<\/p><\/blockquote><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>How load balancing works<\/strong><\/h3>\n\n\n\n<p>Load balancers handle incoming requests from users for information and other services. They sit between the servers that handle those requests and the internet. Once a request is received, the load balancer first determines which server in a pool is available and online and then routes the request to that server. During times of heavy loads, a load balancer can dynamically add servers in response to spikes in traffic. Conversely, they can drop servers if demand is low.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>A load balancer can be a physical appliance, a software instance or a combination of both. Traditionally, vendors have loaded proprietary software onto dedicated hardware and sold them to users as stand-alone appliances &#8212; usually in pairs, to provide failover if one goes down. Growing networks require purchasing additional and\/or bigger appliances.<\/p><\/blockquote>\n\n\n\n<p>In contrast, software load balancing runs on virtual machines (VMs) or\u00a0white box servers, most likely as a function of an application delivery controller (ADC). ADCs typically offer additional features, like\u00a0caching,\u00a0compression,\u00a0traffic shaping, etc. Popular in cloud environments, virtual load balancing can offer a high degree of flexibility &#8212; for example, enabling users to automatically scale up or down to mirror traffic spikes or decreased network activity.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"666\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/06\/how-load-balancing-works-1024x666.png\" alt=\"how load balancing works\" class=\"wp-image-7079\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/06\/how-load-balancing-works-1024x666.png 1024w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/06\/how-load-balancing-works-300x195.png 300w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/06\/how-load-balancing-works-768x499.png 768w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/06\/how-load-balancing-works-800x520.png 800w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/06\/how-load-balancing-works.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption><strong>Load balancer<\/strong><\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Load-balancing methods<\/strong><\/h3>\n\n\n\n<p>Load-balancing\u00a0algorithms\u00a0determine which servers receive specific incoming client requests. Standard methods are as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The hash-based approach calculates a given client&#8217;s preferred server based on designated keys, such as HTTP headers or IP address information. This method supports session persistence, or\u00a0<em>stickiness<\/em>, which benefits applications that rely on user-specific stored\u00a0state\u00a0information, such as checkout carts on e-commerce sites.<\/li><li>The least-connections method favors servers with the fewest ongoing transactions, i.e., the &#8220;least busy.&#8221;<\/li><li>The least-time algorithm considers both server response times and active connections &#8212; sending new requests to the fastest servers with the fewest open requests.<\/li><li>The\u00a0round robin\u00a0method &#8212; historically, the load-balancing default &#8212; simply cycles through a list of available servers in sequential order.<\/li><\/ul>\n\n\n\n<p>Formulas can vary significantly in sophistication and complexity. Weighted load-balancing algorithms, for example, also take into account server hierarchies &#8212; with preferred, high-capacity servers receiving more traffic than those assigned lower weights.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>Load balancing is a technique used to distribute workloads uniformly across\u00a0servers\u00a0or other compute resources to optimize network efficiency, reliability and capacity.\u00a0 By Alissa Irei Load balancing is performed by an\u00a0appliance\u00a0&#8212; either physical or virtual &#8212; that identifies in real time which server in a pool can best meet a given\u00a0client\u00a0request, while ensuring heavy network traffic doesn&#8217;t unduly overwhelm a single<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/tekmart.co.za\/t-blog\/what-is-load-balancing-in-server-hardware-parlance-we-take-a-closer-look-at-how-it-works-and-its-methods\/\">Read More<\/a><\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[155,38,37,35,8,4,30,3,9,224],"tags":[],"class_list":["post-7978","post","type-post","status-publish","format-standard","hentry","category-batting-for-tech-in-the-covid-19-times","category-best-practices-for-data-center-operations","category-data-center-design-and-facilities","category-data-center-facilities","category-data-center-hardware","category-datacenter-news","category-expert-advise-and-opinion","category-industry-news-and-expert-advise","category-tech-definitions","category-technical-explanations"],"_links":{"self":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/7978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/comments?post=7978"}],"version-history":[{"count":1,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/7978\/revisions"}],"predecessor-version":[{"id":7979,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/7978\/revisions\/7979"}],"wp:attachment":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/media?parent=7978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/categories?post=7978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/tags?post=7978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}