Tatiana Lloret Iglesias wrote:
Hi all,
from my java applicaation i invoke a perl script which downloads a huge
quantity of files from an external database using WWW-mechanize library and
my problem is that I have big CPU performance problems ... can you give me
any advice to avoid this?

Hi Tatiana

Do you really mean "CPU performance problems"? If you're downloading a lot from
the Internet then your problem is more likely to be limited by the speed of the network, in which case you need to look at what you're downloading and see if
you can get the information you require without moving as much extraneous data.
Can you anticipate the URLs you need to access instead of following links from
other pages, for instance?

If your process is indeed CPU-bound then it is most liley to be an error in your
coding, which we would need to see before we could help.

HTH,

Rob

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to