Welcome! Log In Create A New Profile


upstream, next node when node returns busy

October 02, 2015 07:02PM
Any ideas how to implement the following?

Upstream pool of 4 nodes

Proxy_pass upstream

If node in upstream returns a 501 move request to next node in upstream but don’t mark it as down or failed and keep client waiting while trying other nodes.

If all nodes return a 501 return a 503 to client, and still don’t mark any node as down or failed.

nb. any node can process 2 – 500 requests, depending on what its doing this can be sometimes 2, or 40 or 300 or anything between 2 and 500 and obviously varies per second per node.

nginx for Windows http://nginx-win.ecsds.eu/
Subject Author Posted

upstream, next node when node returns busy

itpp2012 October 02, 2015 07:02PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 65
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready