freenginx / nginx

Mirror of http://freenginx.org/hg/nginx/
90 stars 5 forks source link

Acceptable health check mechanism in ngx_stream_upstream_module. #2

Closed Maokaman1 closed 3 months ago

Maokaman1 commented 3 months ago

Do you have any plans to discard the "ngx_stream_upstream_module : upstream : server : max_fails+fail_timeout" parameters and implement an acceptable upstream health check mechanism?

mdounin commented 3 months ago

Certainly there are no plans to drop the max_fails/fail_timeout mechanism, it is quite reliable health checking mechanism, which is known to work very good in loaded setups, providing very fast issue detection. If it doesn't work for you for some reason, you can always disable it with max_fails=0.

As for other health checking mechanisms, I personally don't have any plans to work on these, at least in the near future. Still, contributions are welcome.

mdounin commented 3 months ago

Hope this answers the question.