-
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
How to avoid calling down service in load balancer option #1041
Comments
Maybe you should use |
@catcherwong Is it possible without Service Discovery? |
Without Service Discovery, you should remove the down service from the configuration by yourself. Or you can set https://ocelot.readthedocs.io/en/latest/features/qualityofservice.html |
@catcherwong Thanks for your prompt reply but I don't think it will solved my problem. Do you know any other open source "API Gateway" which could help me with this situation? |
Do you want to start up a down service via Ocelot? Ocelot just forwards the requests to the downstream service. If a service is not working properly, Ocelot can stop calling or enable But Ocelot can not restore a down service to normal service. |
Have any way to skip DownstreamHostAndPorts is not work? I have 5 port in DownstreamHostAndPorts and port at index 4 or else is not work(service stop by any problem). I need to let it skip that index automatically. |
@uvcreation commented on Oct 17, 2019
Sorry! And this issue will be fixed as a part of #1513
You could try awesome lite .NET gateway with the name ProxyKit 😉 ...which is in Archive 🤣 |
@catcherwong commented on Oct 17, 2019:
Yes, Consul has health checks feature: Define health checks |
@uvcreation commented on Oct 17, 2019:
Impossible! What you need is Health Check feature. This feature is not implemented in Ocelot. |
Ocelot is a package that brings Gateway functionality to an asp.net core application. |
@ggnaegi Your opinion, Gui? |
Unpredictable delivery! Delivery after upgrade to NET 9 framework ❗There is no team capacity to develop the feature in 2024... |
Expected Behavior / New Feature
Load balancer should able to recognize the down service and stop calling service or up the service.
Actual Behavior / Motivation for New Feature
Load balancer is calling the service although the service is down and returning 500 internal server on every call.
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: