in reply to best way to balance load to a Perl script

download.pl then starts running slowly, as does the rest of the web server.
There could be scores of reasons why this happens. Something which seems very likely is that when lots of people start downloading at the same time, you are running out of bandwith and that slows everything down.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re: best way to balance load to a Perl script