nginx + memcached + xcache - faster or not ?

APseudoUtopia apseudoutopia at
Sat Sep 5 23:40:07 MSD 2009

On Sat, Sep 5, 2009 at 1:28 PM, SE7EN<k1_zeus at> wrote:
> Hi I installed xcache on my server, I just wondering if installing memcached
> would speed up things. I think not but an expert opinion of someone more
> experienced would help.
> So, nginx+xcache / nginx+memcached or nginx +memcached+ xcache or other
> solution ? What is fastest ?
> Thank you

Well, it depends on how you're using the software. My setup uses
nginx, memcached, and xcache. I use MediaWiki on my site, which takes
advantage of the var cache in xcache (not just the opcode cache). My
main site is custom coded by me, and uses the sql database quite a
bit. I integrated memcached into this to reduce the load on the
database server, as well as even going to the point and caching some
static HTML included with my PHP.

Memcache requires (proper) integration into your application in order
to give any benefit. XCache caches the php opcode in order to execute
it faster when called, so it will always speed things up if setup

More information about the nginx mailing list