Skip to content
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

loadbalancer-experimental: tighten up load balancing policy #2884

Conversation

bryce-anderson
Copy link
Contributor

Motivation:

The LoadBalancingPolicy interface suffers from the same problems that the OutlierDetectorFactory did, namely that it's more powerful than users need.

Modifications:

  • Make the LoadBalancingPolicy an abstract class with package private constructor to let us control its proliferation for now.

Result:

A more constrained API. We can always open it up more later if we want to.

Motivation:

The LoadBalancingPolicy interface suffers from the same problems
that the OutlierDetectorFactory did, namely that it's more powerful
than users need.

Modifications:

- Make the LoadBalancingPolicy an abstract class with package private
  constructor to let us control its proliferation for now.

Result:

A more constrained API. We can always open it up more later if we
want to.
@bryce-anderson
Copy link
Contributor Author

This is an alternative to #2883.

@bryce-anderson bryce-anderson merged commit 1aafb7a into apple:main Mar 28, 2024
15 checks passed
@bryce-anderson bryce-anderson deleted the bl_anderson/simplerLoadBalancingPolicy-try2 branch March 28, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants