Forum Moderators: coopster & phranque

Message Too Old, No Replies

LWP and PERL alternatives

For Parallel User Agents

         

satanclaus

2:09 pm on Jul 22, 2004 (gmt 0)



Has anyone here used anything other than LWP for PERL to do multiple requests parallel? I would like any alternatives that are usable on Linux/FreeBSD.

SeanW

12:56 pm on Jul 23, 2004 (gmt 0)

10+ Year Member



Can't say I have... Does LWP not do something you need it to?

Sean

satanclaus

1:32 pm on Jul 23, 2004 (gmt 0)



LWP lacks some functionality that I need. In LWP you register your request URLs then make a call to a wait function which allows a defined amount of time for all the calls to return. I'd like to set a different timeout for each of the URLs in question.

Storyteller

4:56 am on Jul 29, 2004 (gmt 0)

10+ Year Member



You can set the timeout before each individual request ("timeout" method of the browser object). To perform requests in parallel, fork() your script into needed number of instances. I did that with no problems.