Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

2000 cURL Request

by m9aileekh (Initiate)
on Aug 22, 2013 at 01:29 UTC ( [id://1050438]=perlquestion: print w/replies, xml ) Need Help??

m9aileekh has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: 2000 cURL Request
by MidLifeXis (Monsignor) on Aug 22, 2013 at 13:41 UTC

    Even if this is not for spam, hitting a web server with 2000 requests every minute (that is over 33 a second) will put a substantial load on the server unless sized to handle that traffic. Perhaps working with the site owner to find a mutually agreeable mechanism to query that quantity of data would be in order.

    --MidLifeXis

Re: 2000 cURL Request
by marto (Cardinal) on Aug 22, 2013 at 13:49 UTC

    If you're going to hit a webserver 2000 times a minute, each minute expect to get banned really quickly. If this works for you, it won't work for very long.

Re: 2000 cURL Request
by talexb (Chancellor) on Aug 24, 2013 at 15:57 UTC

    Ideally, the way you should do this is start a relationship with the web site's API, which, when asked nicely, would tell you when a particular user was most recently changed (assuming you're looking for updates to that user).

    Once you had that information, you'd be able to get details on just the users that were changed, saving you and the web server lots of wasted cycles.

    Alex / talexb / Toronto

    "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Re: 2000 cURL Request
by Anonymous Monk on Aug 22, 2013 at 02:30 UTC

    so how could I do that

    Maybe SMOP

    what is the possibility of its speed be

    Maybe 42

    all I'm new and please keep calm with me

    No thanks spammer, go spam somewhere else

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1050438]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found