Re:Wordpress.com serves 70k requests/second using Nginx
by ddorian43 on Thursday September 27, 2012 @04:29PM
(#4582728)
Varnish caches the rendered html and stores it in disk for os to cache like mongodb with mmap.
Wordpress super cache plugin generates .html files from the pages and saves it in the disk for the os to cache.
Re:Wordpress.com serves 70k requests/second using Nginx
by jacques_chester on Thursday September 27, 2012 @08:07PM
(#4583594)
This is what I meant.
Varnish leaves it to the OS to decide what pages to keep in RAM and which to leave on disk; essentially to avoid the double-buffering problem and because the OS has a larger view of the total machine's requirements.
But with wp-supercache I already have that approximate architecture. Files are on-disk, Nginx selects them, the OS notices that some files are frequently accessed and silently caches them in RAM. Everyone wins.
And I don't need to add ESI directives to my themes to get Varnish to handle frequently-updated material correctly.
I don't follow how you already do that. Do you mean the OS disk cache?