I had a few manually started processes (with p.start()) for dealing with some background tasks, and I communicated with them via multiprocessing.Pipe(). So far, so good.
Now, I have to scale my application in a situation that, following the same structure, too many processes would be started.
So, I'm trying to port my code from having some manually started multiprocessing.Process's to a pool of processes. The problem is that multiprocessing.Pipe() does not seem to work with them. It seems that I should have to use a queue.
Specifically, I was using the code suggested in this stackovervlow answer to run some generators in background, but the problem is that now I have many generators.
Many thanks.