<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Load Balancer Archives - ServerStadium</title>
	<atom:link href="https://serverstadium.com/knowledge-base/category/load-balancer/feed/" rel="self" type="application/rss+xml" />
	<link>https://serverstadium.com/knowledge-base/category/load-balancer/</link>
	<description>Public Cloud Solution by ServerStadium</description>
	<lastBuildDate>Thu, 27 Apr 2023 11:35:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://serverstadium.com/wp-content/uploads/2023/04/cropped-favicon-1-32x32.png</url>
	<title>Load Balancer Archives - ServerStadium</title>
	<link>https://serverstadium.com/knowledge-base/category/load-balancer/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>ServerStadium Load Balancer, Solution to Distribute Load Equally</title>
		<link>https://serverstadium.com/knowledge-base/serverstadium-load-balancer-solution-to-distribute-load-equally/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Wed, 12 Jan 2022 11:27:11 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=1710</guid>

					<description><![CDATA[<p>Introduction Load Balancer is a single point entry to distribute the load between servers and can act as a proxy for the backend server behind it. ServerStadium load balancer implements a TCP-level with three policies: round-robin, Least connection, and Source IP. Round-robin load balancing: Client requests are forwarded to each server in turn Least connection&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/serverstadium-load-balancer-solution-to-distribute-load-equally/">ServerStadium Load Balancer, Solution to Distribute Load Equally</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><span style="color: #3366ff;">Introduction</span></h2>
<p><strong>Load Balancer</strong> is a single point entry to distribute the load between servers and can act as a proxy for the backend server behind it. ServerStadium load balancer implements a TCP-level with three policies: <strong>round-robin</strong>, <strong>Least connection</strong>, and <strong>Source IP</strong>.</p>
<ul>
<li><strong>Round-robin</strong> load balancing: Client requests are forwarded to each server in turn</li>
<li><strong>Least connection</strong> load balancing: Client requests are distributed to the backend server with the least number of active connections at the time the client request is received.</li>
<li><strong>Source IP</strong> load balancing: This type of load balancing uses an algorithm that takes the source and destination IP addresses of the client and server to generate a unique hash key. This key is used to allocate the client to a particular server. As the key can be regenerated if the session is broken, this load-balancing method can ensure that the client is directed to the same server previously used.</li>
</ul>
<h2><span style="color: #3366ff;">Creating a Load Balancer</span></h2>
<ol>
<li>Login to your ServerStadium management portal</li>
<li>Navigate to <strong>Networking &gt; Load Balancer</strong></li>
<li>Click <strong>Add New Load Balancer</strong></li>
<li>Input the required value displayed by the dialog box</li>
</ol>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-1712" style="border: 3px; border-style: solid; border-color: #FF0000; padding: 1em;" src="https://serverstadium.com/wp-content/uploads/2021/12/1.png" alt="" width="411" height="566" srcset="https://serverstadium.com/wp-content/uploads/2021/12/1.png 509w, https://serverstadium.com/wp-content/uploads/2021/12/1-218x300.png 218w" sizes="(max-width: 411px) 100vw, 411px" /></p>
<ul>
<li style="list-style-type: none;">
<ul>
<li><strong>Location: </strong>Jakarta</li>
<li><strong>Load Balancer Name: </strong>the name of your load balancer rule</li>
<li><strong>Algorithm: </strong>Choose your desired load balancer algorithm (round-robin, least connection, and Source IP Hash)</li>
<li><strong>Public Port: </strong>Input your public-facing port</li>
<li><strong>Private Port: </strong>Input your private port (the listened port at your instances)</li>
<li><strong>Public IP for LoadBalancer</strong><strong>: </strong>Choose <strong>Acquire Automatically</strong> if you don&#8217;t have any Public IP or want to acquire new Public IP, otherwise please choose the available Public IP in your load balancer</li>
</ul>
</li>
</ul>
<ol start="5">
<li>Click <strong>Add Load Balancer</strong> and wait until the provisioning is completed</li>
</ol>
<h2><span style="color: #3366ff;">Assigning Backend Server</span></h2>
<ol>
<li>Click Configure on the newly created Load Balancer</li>
<li>Click <strong>Assign new VM</strong>, and choose the specific VMs as the backend servers for the load balancer</li>
<li>The final result should be like the below pictures</li>
</ol>
<p><img decoding="async" class="alignnone wp-image-1781" style="border: 3px; border-style: solid; border-color: #FF0000; padding: 1em;" src="https://serverstadium.com/wp-content/uploads/2022/01/5.png" alt="" width="724" height="312" /></p>
<ol start="4">
<li>No need to assign IP Public to the VM, because you only need the loadbalancer IP Public in front of your servers.</li>
</ol>
<h2><span style="color: #3366ff;">Testing the Load Balancer</span></h2>
<p>Let&#8217;s test the load balancer to see if this works. We are gonna use the <em>round-robin</em> as load balancer algorithm. The expected result is, the traffic will forwarded to one web server and another, everytime request been made.</p>
<pre>Here, we test using a curl command from <em>command line</em>. The syntax will be like <em>curl http://&lt;load balancer IP&gt;:8080/ 
</em><span style="color: #ff0000;">curl http://202.43.248.249:8080/

</span><img decoding="async" class="alignnone wp-image-1780" src="https://serverstadium.com/wp-content/uploads/2022/01/4.png" alt="" width="723" height="240" /></pre>
<h2>Conclusion</h2>
<p>If you plan deploy multiple VMs as Web workers or another app that required multiple computing machines, best to deploy the loadbalancer to distribute the load balancely.</p>
<p>To get more tips and tutorial article you can check on ServerStadiums&#8217;s <a href="https://ServerStadium.com/knowledge-base/"><strong>Knowledge base</strong></a><strong>.</strong> Or even better, you can <a href="https://cp.ServerStadium.com/regist-user"><strong>sign up</strong></a> now for <strong>free </strong>in ServerStadium to try our dashboard and feature.</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/serverstadium-load-balancer-solution-to-distribute-load-equally/">ServerStadium Load Balancer, Solution to Distribute Load Equally</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Load Balancing in ServerStadium</title>
		<link>https://serverstadium.com/knowledge-base/load-balancing-in-serverstadium/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Tue, 15 Sep 2020 07:27:11 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=232</guid>

					<description><![CDATA[<p>Load Balancing is a technique for distributing traffic loads on two or more connection lines in a balanced way so the traffic can run optimally, maximize throughput, minimize response time, and avoid overloading one of the connection lines. As your server is growing and your visitor/user is increasing, you will need a good load-balancing system.&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/load-balancing-in-serverstadium/">Load Balancing in ServerStadium</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Load Balancing is a technique for distributing traffic loads on two or more connection lines in a balanced way so the traffic can run optimally, maximize throughput, minimize response time, and avoid overloading one of the connection lines.</p>



<p class="wp-block-paragraph">As your server is growing and your visitor/user is increasing, you will need a good load-balancing system. You may know some popular load balancing systems such as Nginx, HAProxy, Balance, Pen, etc. However, you will need experience in setting up these systems. Of course, it is not easy to set up.</p>



<p class="wp-block-paragraph">Don&#8217;t worry; ServerStadium can do the magic.<br />Once you log into the control panel https://cp.serverstadium.com, there is a menu on the left side of the dashboard. You can click &#8220;Networking&#8221; and then choose &#8220;Load Balance&#8221;</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">How to Set Your Load Balancing System Up in ServerStadium</h2>



<div class="schema-how-to wp-block-yoast-how-to-block">
<p class="schema-how-to-description">Follow these seven easy and simple steps to load balance in ServerStadium.</p>
<ol class="schema-how-to-steps">
<li id="how-to-step-1599275194921" class="schema-how-to-step"><strong class="schema-how-to-step-name">Please click &#8220;Add New Load Balancer&#8221; to add your Loadbalance</strong>
<p class="schema-how-to-step-text"><img loading="lazy" decoding="async" width="1130" height="372" src="https://serverstadium.com/wp-content/uploads/2020/09/cr_lblist.png" class="attachment-full size-full" alt="" style="max-width: 100%; height: auto;" srcset="https://serverstadium.com/wp-content/uploads/2020/09/cr_lblist.png 1130w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lblist-300x99.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lblist-1024x337.png 1024w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lblist-768x253.png 768w" sizes="(max-width: 1130px) 100vw, 1130px" /></p>
</li>
<li id="how-to-step-1599275974547" class="schema-how-to-step"><strong class="schema-how-to-step-name">Please fill the box with your desired location and name</strong>
<p class="schema-how-to-step-text">For the Algorithm, there is three methods that you can choose:<br /><br />* <strong>Round Robin</strong> is a simple way to distribute the load to each server or virtual machine in turn. If you have 3 VMs or members in a load balancer group, the inbound request will be passed on to the 3 VMs in turn. VM-1 will first get the 1st request, then the 2nd request will be directed to VM-2, and the 3rd request will be directed to VM-3. Finally, VM-1 will get the 4th request, and so on.<br /><br />* <strong>Least Connection</strong> method uses or tracks the number of requests or connections to the VM and decides based on those numbers. The member who has the least connection is chosen to accept that request.</p>
<p class="schema-how-to-step-text"><br />* <strong>Source or source IP</strong> hash method in a way that the source and the destination IP addresses are hashed, which will make it sticky to that particular member or the VM that accepts the request.<br /><br /><img loading="lazy" decoding="async" width="444" height="553" src="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbcreate.png" class="attachment-full size-full" alt="" style="max-width: 100%; height: auto;" srcset="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbcreate.png 444w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbcreate-241x300.png 241w" sizes="(max-width: 444px) 100vw, 444px" /></p>
</li>
<li id="how-to-step-1599276180411" class="schema-how-to-step"><strong class="schema-how-to-step-name">After creating some Loadbalance rule, it will show like this</strong>
<p class="schema-how-to-step-text"><img loading="lazy" decoding="async" width="1141" height="405" src="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbmenu2.png" class="attachment-full size-full" alt="" style="max-width: 100%; height: auto;" srcset="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbmenu2.png 1141w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbmenu2-300x106.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbmenu2-1024x363.png 1024w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbmenu2-768x273.png 768w" sizes="(max-width: 1141px) 100vw, 1141px" /></p>
</li>
<li id="how-to-step-1599277202870" class="schema-how-to-step"><strong class="schema-how-to-step-name">To add the VM that you desire to loadbalance, please click &#8220;Configure&#8221;</strong>
<p class="schema-how-to-step-text"> </p>
</li>
<li id="how-to-step-1599277239410" class="schema-how-to-step"><strong class="schema-how-to-step-name">You will be redirected to the VM list; please click &#8220;Assign new VM&#8221;</strong>
<p class="schema-how-to-step-text"><img loading="lazy" decoding="async" width="1166" height="505" src="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm.png" class="attachment-full size-full" alt="" style="max-width: 100%; height: auto;" srcset="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm.png 1166w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm-300x130.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm-1024x443.png 1024w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm-768x333.png 768w" sizes="(max-width: 1166px) 100vw, 1166px" /></p>
</li>
<li id="how-to-step-1599277368196" class="schema-how-to-step"><strong class="schema-how-to-step-name">After assigning the VM, you will see it in the list of Assigned VM.</strong>
<p class="schema-how-to-step-text"><img loading="lazy" decoding="async" width="1171" height="511" src="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm2.png" class="attachment-full size-full" alt="" style="max-width: 100%; height: auto;" srcset="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm2.png 1171w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm2-300x131.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm2-1024x447.png 1024w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm2-768x335.png 768w" sizes="(max-width: 1171px) 100vw, 1171px" /></p>
</li>
<li id="how-to-step-1599277449579" class="schema-how-to-step"><strong class="schema-how-to-step-name">You can assign VM more than 2 for better performance in accordance with the visitors</strong>
<p class="schema-how-to-step-text"> </p>
</li>
</ol>
</div>



<p class="wp-block-paragraph">Done; you have your Loadbalance system on your VM in just 7 steps!</p>



<p class="wp-block-paragraph">&nbsp;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/load-balancing-in-serverstadium/">Load Balancing in ServerStadium</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
