in reply to Parallel::Runner and Amazon SQS Issue
while ( my $records = fetch_next_5000_records_from_sth() ) { $runner->run( ..feed records to Amazon... ); )
Update: And it looks like you really only feed one record at a time to the web service, so it might as well be:
while ( my $record = $sth->fetch() ) { $runner->run(... feed record to service ...); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parallel::Runner and Amazon SQS Issue
by stonecolddevin (Parson) on Sep 13, 2012 at 18:45 UTC |