-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Generic polling mechanism for discovery services (Consul, Eureka...) #1708
Comments
Gui, thanks for the new issue!
What about ServiceFabric? |
@raman-m it has been reopened. |
@raman-m yes, but should I add a new provider project? |
Oh, no! It should be discussed. I don't like the approach of multiple NuGet projects which are tiny! If your idea and solution will be solid, stable and helpful, we will extend this idea to ServiceFabric provider. But, as you see, it will be not easy to refactor the provider. How a long will it take to extract ServiceFabric provider to separate project? It will be massive PR, I guess... |
@raman-m We could keep it like that for now. I don't think polling has been foreseen for ServiceFabric. It's not that complicated to extract the provider though, but as you wrote, the issue is more the CD and the associated breaking changes. |
@ggnaegi Aha! |
@raman-m I will add some unit test and acceptance test and I will let you know when it's ready. |
Will you be on time by November 1st? |
As discussed, the PR has been closed. I will first create a new PR adressing the issues discussed here: #1910 |
@raman-m I'm on it, the feature is already implemented, I'm writing the test cases right now. I wouldn't put low, since it's a great feature and a feature that could help us winning some new users. |
Gui, I've unassigned the milestone and delivery-tag because I have no idea when will you deliver this feature and how. |
Expected Behavior / New Feature
The polling of discovery services is not specific to one type of discovery service. Therefore, polling management should not be specific to a service but generic.
So here we want to propose:
Obtaining destination addresses is specific to each discovery service and must be implemented accordingly.
Actual Behavior / Motivation for New Feature
The polling of discovery services at long intervals is motivated by performance problems. Obtaining the list of services for each request can have a negative impact on gateway performance.
Polling is already implemented for Consul, but also for Kubernetes. Unfortunately, the two providers are implemented in different ways.
So the aim here is to propose a generic implementation of polling so that it can be offered for any type of discovery service (eg. Eureka).
Specifications
The text was updated successfully, but these errors were encountered: