Ocelot icon indicating copy to clipboard operation
Ocelot copied to clipboard

[Feature Request] Add Health Check to Load Balancing

Open Cloudmersive opened this issue 4 years ago • 6 comments

For the load balancing feature to be useful in production, it really needs to have a configurable healthcheck:

  • Health Check Period
  • Health Check Endpoint
  • Health Check Response Code

Cloudmersive avatar Jan 24 '20 18:01 Cloudmersive

Service Discovery with Consul can helps you

gebiWangshushu avatar Mar 22 '20 06:03 gebiWangshushu

But why not just add Health Check like other load balancers?

https://docs.nginx.com/nginx/admin-guide/load-balancer/http-health-check/

Cloudmersive avatar Mar 26 '20 03:03 Cloudmersive

You are right.

gebiWangshushu avatar Mar 27 '20 11:03 gebiWangshushu

Any hope of this? I found the following project which seems to provide some basic functionality for this but it seems to be alpha & not updated in a while: https://github.com/sjefvanleeuwen/ocelot-graceful-load-balancer

mikoskinen avatar Feb 18 '22 10:02 mikoskinen

@Cloudmersive

But why not just add Health Check like other load balancers? https://docs.nginx.com/nginx/admin-guide/load-balancer/http-health-check/

:ok: Will you personally contribute to develop and deliver this feature for Ocelot?

raman-m avatar Mar 16 '24 15:03 raman-m

@sjefvanleeuwen @mikoskinen

Any hope of this? I found the following project which seems to provide some basic functionality for this but it seems to be alpha & not updated in a while: https://github.com/sjefvanleeuwen/ocelot-graceful-load-balancer

Sjef, Nice project! Are you still with Ocelot? I'm trying to figure out how to reuse it...

raman-m avatar Mar 23 '24 10:03 raman-m