The scheduling algorithm of LVS

Source: Internet
Author: User

LVS scheduling algorithm (scheduling method) A total of 10 kinds

one, static method: Only according to the algorithm itself scheduling

1. RR (Round Robin): Polling

2. WRR (werghted Round Robin): Weighted polling

3, SH (source Hashing): Source Address Hash

4, DH (DH): Target Address Hash

Ii. Dynamic Method: Based on the algorithm and the current load status of Rs

1, LC (Least Connection): Minimum connection

Algorithm: overhead=active*256+inactive

Overhead: Minimum load

Active: Active Connection

Inactive: Inactive Connections

The smallest winner in the result

2. WLC (werghted LC): Weighted minimum connection (default algorithm)

Algorithm: overhead= (active*256+inactive)/weight

Weight: Weight

3. SED (shortest Expect delay): Minimum expected latency (improved WLC)

Algorithm: overhead= (active+1) *256/weight

4, NQ (nerver queue): Never queue

5, LBLC (locality-based Least Connection): Minimum local connection based

6, LBLCR (Replicated and locality-based Least Connection): local-based minimum connection with replication

The scheduling algorithm of LVS

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.