in reply to Parent/Child,Boss/Worker->IPC suggestions
I had good luck using Parallel::ForkManager and keeping shared state in a SQL database. I considered many other designs because the idea of polling the db bothered me, but ultimately this one was simpler to code and more scalable than anything else I came up with.
However... Isn't gearman supposed to do this for you? Why don't you make the jobs that you want to pass off to the workers into gearman jobs?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Parent/Child,Boss/Worker->IPC suggestions
by josh803316 (Beadle) on Jun 30, 2009 at 07:34 UTC | |
by perrin (Chancellor) on Jun 30, 2009 at 15:14 UTC | |
Re^2: Parent/Child,Boss/Worker->IPC suggestions
by metaperl (Curate) on Jun 30, 2009 at 14:05 UTC |
In Section
Seekers of Perl Wisdom