![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: http Redirectorby merlyn (Sage) |
on Sep 23, 2001 at 20:34 UTC ( #114182=note: print w/replies, xml ) | Need Help?? |
Apache has far more overhead from connect to response. And ultimately, all requests are serialized anyway, because only one process can accept at a time. And
on a monoprocessor machine, the ultimate code execution is serial as well {grin}.
I'd imagine this script (the original version or my version) would handle demonstratably more requests per second than Apache would. -- Randal L. Schwartz, Perl hacker update Yes, I just benchmarked it. My apache did about 80 requests per second, and my Perl program did about 750(!) requests per second. This was for 10 concurrent requests, timed over 1000 requests, using the apache bench program.
In Section
Snippets Section
|
|