Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Enhancement]Smooth Round Robin selection #2647 #2706

Closed
kimmking opened this issue Oct 29, 2018 · 0 comments
Closed

[Enhancement]Smooth Round Robin selection #2647 #2706

kimmking opened this issue Oct 29, 2018 · 0 comments
Milestone

Comments

@kimmking
Copy link
Member

@jasonjoo2010 submit a new Smooth Round Robin for:

  1. smooth for all providers
  2. more better in concurrent cases

The Round Robin balancer is not smooth with weights, such as:

A:B:C = 1:2:3

Will be:
[A, B, B, C, C, C, A, B, B, C, C, C, A, B, B, C, C, C, ..........]

But we want it to be:
[A, B, C, B, C, C, A, B, C, B, C, C, A, B, C, B, C, C, ..........]

which has been discuss before for performance: #2578

Brief changelog
reimplement RoundRobinLoadBalance and its unit test.

More discussion here:
#2578

Also see:
#2647

@kimmking kimmking added this to the 2.6.5 milestone Oct 29, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant