Skip to main content

Alpha Release of XCache Module for Drupal 6

For those who don't know, XCache is an opcode cacher for PHP. Out of the box, Drupal 6 seems to run pretty stable with just opcode caching, however XCache also offers variable caching, which requires application level changes to take advantage of.

I've made a first attempt in the last two days to get this working. There's still some work to be done, and I'd like to try and figure out a way to get objects, arrays, and serialized data into the XCache to further speed things up. I have yet to do performance testing on this. I wouldn't use this on a production environment right now, but that's your call :)

I'll be submitting the project to drupal.org and requesting CVS access so that the latest developments are available there, however for the time being you can ask for help here.

Just for reference purposes, I'm using this on lighttpd+fastcgi+xcache on an Ubuntu server, but as long as you have the xcache PECL extension installed, along with XCache properly working, I don't forsee any problems. I'll put up a how-to on configuration lighttpd+fastcgi+xcache in the next day or two for those of you who want to try this out but have no idea how to get the server side up and running.

Feedback is appreciated, patches can be posted in comments as well if needed.

Trackback URL for this post:

http://www.jbip.net/trackback/40
AttachmentSize
xcache.tar_.gz3.15 KB

issue

FYI apache2 Drupal 6.6 node variable $content sometimes disappears after the first page load (I am guessing that this is the first cache hit). It only happens intermittently, so if it starts becoming annoying I'll try to debug it (I haven't installed a debugger on this instance yet, and haven't had a reason to).

-Mike