Earlier quoted context omitted.
Yep, here, Redis is an unnecessary component, since he is caching the entire HTML page it seems, in Redis. Seems he can accomplish the same with Nginx itself (which he's already using -- though not certain of the details if u are serving PHP via nginx itself too). There is a place for a Memcached/Redis type role in generating a Wordpress page. Tools like W3 Total cache store certain small elements of the page in Meme…
And memcached is not even the best option, using apc with W3 is few times faster than using memcached.
WordPress Caching with Nginx and Redis
11–20 of 25 posts
Re: WordPress Caching with Nginx and Redis
#12Earlier quoted context omitted.
Yep, here, Redis is an unnecessary component, since he is caching the entire HTML page it seems, in Redis. Seems he can accomplish the same with Nginx itself (which he's already using -- though not certain of the details if u are serving PHP via nginx itself too). There is a place for a Memcached/Redis type role in generating a Wordpress page. Tools like W3 Total cache store certain small elements of the page in Meme…
And memcached is not even the best option, using apc with W3 is few times faster than using memcached.
Re: WordPress Caching with Nginx and Redis
#13Earlier quoted context omitted.
And memcached is not even the best option, using apc with W3 is few times faster than using memcached.
You are talking about two different things here. Memcached is a memory store, while APC is a opcode cacher. W3 seems to be a plugin for Wordpress that serves pre-rendered pages using some mod_rewrite trickery.
Re: WordPress Caching with Nginx and Redis
#14Earlier quoted context omitted.
And memcached is not even the best option, using apc with W3 is few times faster than using memcached.
You are talking about two different things here. Memcached is a memory store, while APC is a opcode cacher. W3 seems to be a plugin for Wordpress that serves pre-rendered pages using some mod_rewrite trickery.
http://www.mysqlperformanceblog.com/2006/09/27/apc-or-memcac...
Re: WordPress Caching with Nginx and Redis
#15Re: WordPress Caching with Nginx and Redis
#16What were the problems you had with Memcached? Assuming you install it from your distro's respositories, you just need to tweak a configuration file with less than 10 options, the most important option being -m. Unlike Redis, Memcached rarely adds exciting new features, so there's little incentive to compile it yourself.
Re: WordPress Caching with Nginx and Redis
#17Ubuntu or Debian: apt-get install memcached
OS X: brew install memcached
CentOS/Fedora: yum install memcached
They're both essentially one command to install on popular platforms, and both have extremely simple conf files.
Re: WordPress Caching with Nginx and Redis
#18In any event, you're much better off doing full-page caching using tools designed for this task, such as Varnish. As a bonus, you get tools such as varnishtop, varnishlog and varnishstat to monitor your cache.
Re: WordPress Caching with Nginx and Redis
#19> I have been working with professionally on the web for over 7 years and have not once been able to configure Memcached properly. What were the problems you had with Memcached? Assuming you install it from your distro's respositories, you just need to tweak a configuration file with less than 10 options, the most important option being -m. Unlike Redis, Memcached rarely adds exciting new features, so there's little…
Re: WordPress Caching with Nginx and Redis
#20“I just feel it’s overused.” — e.g. You wanted to use nginx and Redis, and needed to justify away from the simple solution.
It should be a smell that instead of doing full-page caching in Varnish, you’ve instead rolled your own full-page application layer caching. Varnish handles POSTs, it handles logins (configured via VCL). This solution is a hack. I applaud your performance, but it’s rather nonsensical.
Furthermore, memcached is not difficult to run — it’s a single daemon that requires less setup than Redis! And no persistent storage.
Final note: “Redis is an open source flat file database server – meaning it’s an optimized key value store for your system.” — this is somewhat nonsense. Redis is a fast datastructure-oriented KV store that happens to be able to persist state to disk, but is by no means a ‘flat file database server’ and I’m not sure how that implies that it’s an optimized KV store.