S
S
Space2018-03-03 00:24:05
Message Queues
Space, 2018-03-03 00:24:05

How to update a worker without stopping the queue?

Let's say RabbitMQ is already running on the server, the workers are working. But they made an update in the worker script (changed some code).
How to download these updates so that we do not restart all the workers, but in order for them to work, we downloaded the update, the workers completed their work completely, and then the workers with the new update were already launched?
In general, how to make a seamless update of the workers / queue server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2018-03-03
@VladimirAndreev

Nginx in this case starts new children that process new requests and kills the old ones as soon as they finish.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question