-
Notifications
You must be signed in to change notification settings - Fork 23
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
Integration with MP fault tolerance for load balancers #147
Comments
A load balancer with circuit breaker should be relatively simple to implement and it's definitely worth it. I'm not sure Stork is a good place to implement automatic retry on a different endpoint, we'll think about it. |
isn't that what circuit breaker does it already? |
Usually circuit breaker is just about whether the communication with a remote endpoint should be allowed or not. It keeps With Stork we can have this state per each ServiceInstance. |
But stork provides load balancer and I think such checks (if endpoint is good or bad) should be handled by load balancer. So yes, requires some thinking on how to approach it :) |
Load balancers have important role to route traffic from client to service endpoints. These endpoints might be erroneous in a way that service discovery cannot handle. For example services themselves are not equipped with health checks so service providers cannot ensure their availability.
Utilising fault tolerance's circuit breaker can bring significant value to deal with failing server instances the can be made temporarily as failing.
At the same time load balancer can try different instances available before failing on the service call. This would make the client code less impacted as long as there are still some server instances that can handle the call.
@michalszynkiewicz
The text was updated successfully, but these errors were encountered: