Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does NGINX allow switching load from one server to another without losing the request?

I have a SOAP API, NGINX forwards the request to one of three servers each which forwards it to a queue and then waits for a response from the queue and then the client waits for a response from the API. If the client doesn't get the response, the request still goes through, only the client doesn't know that that the action he executed finished successfully.

So in the event that I need to upgrade one of these SOAP frontends, I need to switch load to one of the other two frontends, but without dropping any of the existing connections, is this possible with NGINX?

share|improve this question
Frontends? You have something proxying to nginx, then proxying elsewhere? Maybe you meant backend? – Michael Hampton Feb 27 '14 at 12:35
NGINX is sitting on the Frontends, each of them chats with the queue, the backends aren't load balanced, they just respond to messages from the queue, so effectively the queue-cluster (RabbitMQ Cluster) is loadbalancing the backends. – Jan Vladimir Mostert Feb 27 '14 at 13:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.