Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 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 at 13:00

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.