Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Parallel::Runner and Amazon SQS Issue

by stonecolddevin (Vicar)
on Sep 13, 2012 at 16:11 UTC ( #993528=note: print w/ replies, xml ) Need Help??

in reply to Re: Parallel::Runner and Amazon SQS Issue
in thread Parallel::Runner and Amazon SQS Issue

What do you recommend for locked, shared variables? This is something about IPC I haven't gotten into. Another idea I had was getting the number of database records needed to be processed (one way or another, not concerned about efficiency until I get something working), divide them by the number of workers, get the offsets, and THEN fire up the children.

I think your method is a bit more solid though, so I'll look into that.


Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

Comment on Re^2: Parallel::Runner and Amazon SQS Issue

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2016-05-26 04:40 GMT
Find Nodes?
    Voting Booth?