tencent cloud

Load Balancing Methods

下载
聚焦模式
字号
最后更新时间: 2026-02-05 17:50:16
本文档由 AI 翻译
A load balancing method is an algorithm for GWLB to allocate traffic to backend target groups. Each method produces different load balancing effects.

Load Balancing Algorithm

Consistent hashing based on 5-tuple: consistent hashing based on the 5-tuple of source IP address, source port, destination IP address, destination port, and transport protocol. The balancing algorithm cannot be modified after creation.
Consistent hashing based on 3-tuple: consistent hashing based on the 3-tuple of source IP address, destination IP address, and transport protocol. The balancing algorithm cannot be modified after creation.
Consistent hashing based on 2-tuple: consistent hashing based on the source IP address and destination IP address. The balancing algorithm cannot be modified after creation.

Load Balancing Stickiness

Adding or removing an instance in the target group: All traffic will be rehashed.
If a certain healthy instance in the target group becomes unhealthy: The traffic of the faulty node will be rehashed to other healthy nodes.
If a certain unhealthy instance in the target group becomes healthy: The traffic belonging to the recovered node will be redirected back to it.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈