My first pass was quick 'n dirty, running single-threaded using LWP::UserAgent, and took over seven hours.
Now that I've got a chance to do some additional coding, I want to change to some sort of parallel gets.
For other tasks I tried using LWP::Parallel, but didn't see a huge speed-up.
As a different task I wrote some parallel gets using threads, which seemed to scale well and ran faster, but that warning that threads isn't ready for prime-time use when I build Perl always makes me nervous.
I looked at POE, but haven't built anything significant. It seems like it's more than adequate for the task, but, at the same time I feel like it's the elephant-gun approach - way too much for what should be a simple task of walking a list of URLs.
I'm leaning towards resurrecting my threads + LWP::UserAgent code because it seemed to be robust and fast(er).
What are the thoughts from the collective mind here about LWP::UserAgent and threads vs. LWP::Parallel vs. POE. And, is there something I might have missed?
Thanks.
In reply to running multiple LWP gets by gferguson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |