Answer the question
In order to leave comments, you need to log in
How to manage constantly running background processes?
There is a task:
1. Keep several processes constantly running, each of which keeps an open network connection to the server and receives messages.
2. Somehow these processes need to be launched and monitored that they are working, restarted if necessary.
3. If necessary, stop or start new processes with parameters.
I can not find anything ready for such a task ...
Celery, etc. solutions about problems do not fit here, because processes must be constantly running.
Or you can somehow simply manage the number of processes in RQ (Redis Queue) or Dramatiq, etc. solutions?
What is needed is some kind of supervisor who monitors the processes.
Dynamically creating Docker containers (for example) looks a bit tricky.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question