Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Pre-fork and Re-use a child process

by Anonymous Monk
on Jan 26, 2012 at 11:39 UTC ( #950073=note: print w/ replies, xml ) Need Help??

in reply to Pre-fork and Re-use a child process

Some ideas

The article mentions a non-preforking but nicer example

forks version of threads offers an opportunity for a reusable pool of threads

you can also use threads version of threads to create a cue( not a Thread::Pool but yes a Thread::Queue )

Parallel::Fork::BossWorkerAsync looks tointerface be exactly what you're looking for, pre-forking re-use, main program talks to boss, boss keeps reusing children, talking to main

Those are three things I might try

Comment on Re: Pre-fork and Re-use a child process

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950073]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2015-11-28 14:12 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (742 votes), past polls