Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Configuration method of dubbo load balance in Cluster

Shulou Source: shulou.com Published: 2022-06-02 07:32:22 10月01日 Update

This article mainly introduces "the configuration method of dubbo load balancing under the cluster". In the daily operation, I believe that many people have doubts about the configuration method of dubbo load balancing under the cluster. The editor has consulted all kinds of materials and sorted out the simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about the configuration method of dubbo load balancing under the cluster. Next, please follow the editor to study!

Random LoadBalance

Random, set random probability by weight.

The probability of collision on a section is high, but the larger the amount of adjustment is, the more uniform the distribution is, and it is also more uniform after using the weight according to probability, which is beneficial to dynamically adjust the weight of the provider.

RoundRobin LoadBalance

The rate of rotation is set according to the weight after the convention.

There is a problem of slow provider accumulating requests, for example, the second machine is slow, but it doesn't hang up, it gets stuck when the request is transferred to the second machine, and over time, all requests are stuck on the second machine.

LeastActive LoadBalance

The minimum number of active calls, the random number of the same active number, and the active number refers to the difference in count before and after the call.

Causes slower providers to receive fewer requests, because the slower the provider, the greater the difference in count before and after invocation.

ConsistentHash LoadBalance

Consistent Hash, requests with the same parameters are always sent to the same provider.

When a provider hangs up, the request originally sent to that provider, based on the virtual node and spread equally to other providers, will not cause drastic changes.

At this point, the study on the "configuration method of dubbo load balancing under the cluster" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Provider method equilibrium cluster configuration weight learning probability two same more problem help practical consistent strenuous over time then consistency convention Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Shulou Tech Info Huawei Shulou Technology NVidia