Weighted Load Balancing of Origin Servers helps to define the percentage of traffic sent to each website origin server, prioritized using a weighted method.
In Arvancloud CDN service, our servers are situated between your website’s origin hosting server and service/ website user. The users’ requests are received through Arvancloud edge servers. Now, in case you have multiple origin servers for your website, our edge servers will distribute the traffic between these servers to increase Redundancy and Reliability.
Load balancing is the traffic between multiple servers sharing the same resources and information. In this way, requests to access such resources are responded to by many servers instead of one.
In this case, rather than having one server, which is a single point of failure, different servers are active so that when one is out of service, the traffic is distributed onto others. In addition, employing multiple servers improves processing speed and makes it possible to benefit from all of the servers’ capacities fully.
Load balancing can be carried out through software or hardware. It can also happen through types of traffic such as HTTPS, HTTP, and UDP.
For this purpose, the easiest method is Round Robin, in which all servers containing the same resources and information are placed in an index and receive requests in order. When the last server on the list gets requests, the upcoming requests are then sent to the first one on the list. Although the method is quite simple, it has three significant problems:
The solution to these issues is the Weighted Round Robin method. In the Arvancloud user panel, you manually choose the weights assigned to your servers according to their resources and processing power. Therefore, Arvancloud edge servers distribute traffic between the origin servers according to the given weight. In case one server goes down, the weighted load is divided among the remaining ones.