Load Balancing algorithm types

Source: Internet
Author: User

Load Balancing algorithm types

Random--random distribution

Polling (Round Robin) --distributes the request sequentially to the server in sequence, starting from 1 to N and then restarting. This equalization algorithm is suitable for all servers in the server group with the same hardware and software configuration and the average service request is relatively balanced.

weights (Weighted Round Robin)-assigns different weights to each server depending on the processing power of the server, allowing it to accept service requests for the corresponding number of weights. This equalization algorithm ensures that the high-performance server gets more usage and avoids overloading the server with low performance.

Dynamic Ratio ( Dynamic Round Robin)--similar to weights, but the weight value varies with continuous monitoring of the server. This is a dynamic load balancing algorithm based on real-time analysis of server performance, such as the number of connections or response times.

Fastest mode (fastest )--pass-through connections to those servers that respond the most quickly. This algorithm can be particularly useful for situations where the server is in a different logical network. The Equalizer records the response time for each server and selects the fastest one. This is very straightforward, but can cause congestion, because the current response time is not necessarily 1s or 2s.

minimum number of connections (Least Connections )--The Least connection equalization algorithm has a data record for each server in the internal load, records the number of connections currently being processed by the server, and, when there is a new service connection request, assigns the current request to the server with the fewest number of connections, making the equalization more realistic. More balanced load. This equalization algorithm is suitable for long-time processing of request services, such as FTP.

observation Mode (observed)-Select the server for the new request based on the best balance between the number of connections and the response time.

Predictive Mode (predictive)-the prediction mode uses the same method as the observation mode, except that BIGIP uses the current performance metrics (connection number and response time) of the Collected servers for predictive analysis and selects a server on the next time slice, Its performance will reach the best server to respond to user requests. The predictive mode tries to fix an issue in observation mode, and if the server's response time has started to decline, it is unlikely to accept the next request.


This article is from the "humble Words" blog, please be sure to keep this source http://fhjx1234.blog.51cto.com/1022919/1713073

Load Balancing algorithm types

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.