![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: fetchall_arrayref batches and forkingby NetWallah (Canon) |
on May 07, 2013 at 22:58 UTC ( #1032540=note: print w/replies, xml ) | Need Help?? |
It looks like you want to process a large set of database chunks, in sets of 14. This fits the "single queue, multiple server" model, and BrowserUk has a thread-based implementation that can help. Please see the discussion in dynamic number of threads based on CPU utilization. Look for his code for his "threads::Q implementation".
"I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
In Section
Seekers of Perl Wisdom
|
|