views:

144

answers:

1

I need to perform a large number of HTTP post requests, and ignore the response. I am currently doing this using LWP::UserAgent. It seems to run somewhat slow though I am not sure if it is waiting for a response or what, is there anyway to speed it up and possibly just ignore the responses?

A: 

LWP::Parallel

http://search.cpan.org/~marclang/ParallelUserAgent-2.57/lib/LWP/Parallel.pm

"Introduction

ParallelUserAgent is an extension to the existing libwww module. It allows you to take a list of URLs (it currently supports HTTP, FTP, and FILE URLs. HTTPS might work, too) and connect to all of them in parallel, then wait for the results to come in."

It's great, it's worked wonders for me...

bigiain