Load Balancing with NGINX 负载均衡算法 nignx 负载均衡的几种算法介绍 (2)

The  directive sets the number of consecutive unsuccessful attempts to communicate with the server that should happen during . By default,  is set to 1. When it is set to 0, health checks are disabled for this server. The  parameter also defines how long the server will be marked as failed. After  interval following the server failure, nginx will start to gracefully probe the server with the live client’s requests. If the probes have been successful, the server is marked as a live one.

Further reading

In addition, there are more directives and parameters that control server load balancing in nginx, e.g., , , and . For more information please check our reference documentation.

Last but not least, application load balancing, application health checks, activity monitoring and on-the-fly reconfiguration of server groups are available as part of our paid NGINX Plus subscriptions.

The following articles describe load balancing with NGINX Plus in more detail:

Load Balancing with NGINX and NGINX Plus

Load Balancing with NGINX and NGINX Plus part 2

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zzzxsx.html