[Twisted-Python] Process pools and logging
Before I re-invent the wheel, is there a twisted library that will let me: 1. Fire up child worker processes 2. That log to a logObserver coming out in the parent 3. Manage the whole lot as a .tac file Note I *don't* need deferToProcess or similar in this situation. I just need to fire up N processes but have them managed by and logging "to" a single parent controlled by twistd. (FWIW, they're stateless workers that pull from a work queue).
Hey Phil, If I am understanding you correctly, you should be able to do some of these with Ampoule. I am doing all but the last (tac) on my app. (Aether) Ampoule definitely needs some love, though. If I had time I'd possibly be taking care of it, since it seems to be abandoned. Burak Sent from my phone
On Jul 29, 2014, at 12:23, Phil Mayers <p.mayers@imperial.ac.uk> wrote:
Before I re-invent the wheel, is there a twisted library that will let me:
1. Fire up child worker processes 2. That log to a logObserver coming out in the parent 3. Manage the whole lot as a .tac file
Note I *don't* need deferToProcess or similar in this situation. I just need to fire up N processes but have them managed by and logging "to" a single parent controlled by twistd.
(FWIW, they're stateless workers that pull from a work queue).
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
participants (2)
-
burak@nehbit.net
-
Phil Mayers