Hello,
I am writing a couple of Perl programs that I hope to use periodically to retrieve data from specific websites. I know that it would be bad practice to fire off a lot of hits against websites, because it would compromise the servers of those websites and probably other clients trying to access the websites.
It is not my intention to do anything outrageous but even so I think I should think about using the 'Sleep' function. Can someone give me a rule of thumb or some way to gauge how and when I should use Sleep?
Many thanks in advance.
I am writing a couple of Perl programs that I hope to use periodically to retrieve data from specific websites. I know that it would be bad practice to fire off a lot of hits against websites, because it would compromise the servers of those websites and probably other clients trying to access the websites.
It is not my intention to do anything outrageous but even so I think I should think about using the 'Sleep' function. Can someone give me a rule of thumb or some way to gauge how and when I should use Sleep?
Many thanks in advance.