-
Notifications
You must be signed in to change notification settings - Fork 852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stash LoadBalancingPolicy on ClusterConfig #733
Comments
That's an interesting idea. @MihaZupan @alnikola has the load balancing policy lookup shown up in the CPU profiles at all? |
The same thing also could be done for
|
Triage: We should first prove it shows up on profiles to justify the complexity. |
A few Dictionary improvements I had in mind (looks like they all made it in 5.0): |
Triage: Closing - the work in #734 did not bring the expected gains. Not worth it. |
Currently the
ILoadBalancePolicy
is get from a dictionary on each request inLoadBalancingMiddleware
.reverse-proxy/src/ReverseProxy/Middleware/LoadBalancingMiddleware.cs
Line 54 in 5cfbc32
Can we stash a
ILoadBalancePolicy
onClusterConfig
when building a cluster to improve the performance?The text was updated successfully, but these errors were encountered: