Skip to content

Why Microsoft.Extensions.ServiceDiscovery P5 version removing several algorithms for load balancing, leaving only RoundRobinServiceEndpointSelector #3640

Answered by ReubenBond
vipwan asked this question in Q&A
Discussion options

You must be logged in to vote

We opted to remove the interfaces for now and wait until we found a stronger need to expose them. If there is a request from the community, we could make them public again and bring back some of the implementations (RoundRobin, PickFirst). If it's something you are interested in, please open an issue. The PowerOf2Choices implementation never worked as advertised because it relies on feedback from the endpoints and we don't have any defined way to get that feedback in HttpClient (backend servers need to report their load for us)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ReubenBond
Comment options

Answer selected by davidfowl
@ROMYIM
Comment options

@rem-coding
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
5 participants
Converted from issue

This discussion was converted from issue #3639 on April 12, 2024 06:17.