Welcome! Log In Create A New Profile


Nginx rotates request when I stop container but how?

Posted by Samansaeedi100 
Nginx rotates request when I stop container but how?
October 16, 2023 05:53AM
Dear all,
I have made 3 containers containing an API which has a delay page that simulates 25 seconds of delay and when I send a request in browser, I understand which container is going to reply in the logs and within that 25 seconds,I stop the destination container but nginx rotates the request to another healthy container and gives me the correct output after 25 seconds but how?
Is it just rever proxy that I have set or it is working by circuit hreaker?
It cannot be circuit breaker because I am using nginx not nginxplus and as far as I know, nginx does not support circuit breaker pattern and it is just available in nginx plus.
Please help me solve the doubt in my mind and let me know if I can have any control upon this functionality of nginx.

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready