On Mon, Jul 30, 2007 at 01:41:44PM -0400, David A. Desrosiers wrote:
On Mon, 2007-07-30 at 11:28 -0400, Travis Derouin wrote:
What are the peak and average requests per second for a Squid and Apache server for Wikipedia?
If you're planning on running that Apache server on an SMP machine, look into running something like nginx[1] over Squid. I did some pretty heavy load testing with Squid on public:80, Apaches behind it, and with Apache in front, and Apache (2.x) won out every time with a pretty wide margin.
Squid just can't handle SMP very well, even with multiple squid instances running in front of Apache. When/if they update the code to optimize Squid to use threads, it might be worth revisiting again.
I haven't personally made the switch to nginx, but I've heard nothing but praise for its speed and efficiency.
As far as I understand the nginx.net list of basic features, nginx does not offer caching. But that's exactly why we are using squids.
Regards,
jens