Chris Gamache wrote:
True... :) Is 4 simultaneous requesting threads with 100 queued serial requests
for each thread enough to cause a requests to fail? CPU/RAM load was nominal.
When I started only four testing threads, I thought I was going easy on
mod_perl :)

mod_perl can handle more than that, but your code may not be able to.


Incidently, I rewrote the module to not use LWP::Useragent and XML::DOM  to pull
the XML document. I am using IO::Socket::INET instead.

Parsing XML and fetching things over the network are two very slow activities. I'm not surprised they were giving you grief. You should consider using HTTP::MHTTP or HTTP::GHTTP instead of LWP and XML::LibXML instead of XML::DOM. Those are much more efficient than the modules you're using now.


- Perrin


-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to