You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimization, based on TreeMap to optimize ShortestResponseLoadBalance when there are multiple services with the same shortest response time and different weights
#6986
Open
2 tasks
xiaoheng1 opened this issue
Dec 6, 2020
· 0 comments
Environment
dubbo2.7.8 ShortestResponseLoadBalance source code:
I think we can use TreeMap to store the weight of the same shortest response time, and then directly select the invoker based on offsetWeight.
for example:
The text was updated successfully, but these errors were encountered: