Varnish and HTTP acceleration

| No Comments | No TrackBacks
Simon Lyall said with a typical LAMP stack you can get 5 to 10 hits a second. He suggested if you add a data cache (caching of DB queries) you can get upto 100 h/s. If you add a page cache you can get upto about 300 h/s. To get way up from there you need big infrastructure with load balancing.

If you add a web accelerator in front of the web server you can get 1k to 5k h/s on commodity hardware. You can get upto 20k+ h/s with some tuning. Varnish isn't the only one. There is also squid, lighttpd, nginx, apache traffic server, and more.

You need to balance between keeping hits off the web application server, and showing fresh content.

No TrackBacks

TrackBack URL:

Leave a comment

About this Entry

This page contains a single entry by Geoff Crompton published on January 25, 2011 6:09 PM.

CGroups for resource management was the previous entry in this blog.

En-Visage-ing for collectd data is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.



Powered by Movable Type 4.23-en