No, not American Power Conversion, but the Alternative PHP Cache. It's not real obvious as to what it does from the website, but if you're doing any serious PHP application stuff, you should take a look at them (and Zend and eAccelerator). I was helping benchmark some things for work and it's amazing the difference in performance that these make compared to a standard PHP installation.

Each of them is or has a PHP OpCode cache. This means that instead of compiling the PHP from the source code on every page request, things get cached and the web server doesn't need to talk to disk as much. Just installing APC on my two larger web servers has made an amazing difference. CPU utilization is down, memory usage is down, and average response times are up. On Pudge which hosts a lot of sites running a lot of applications (including this site), there is over 150Mb of things in the cache. Aurora just hosts Faster Mustache which is only running Gallery and Drupal, and it's cache is around 45Mb.

Supposedly Gallery doesn't work quite right with APC, but I haven't had any problems with it, and the web server process on Aurora crashed once over the last few weeks after APC was installed, but I don't know if APC was the culprit or not. I'm looking forward to setting up fastcgi with suexec and APC to see how well it does with lots of virtual hosts running, and hopefully there will be a new server in the mail in the next month or two for me to do that on..

I'm pretty sure that the

I'm pretty sure that the newer versions of APC don't have the bug that caused it to fail to work with Gallery2. For reference, the bug is that APC used to have a hard time dealing with conditionally included files. I can't find the bug report right now but I've used APC with G2 for a while now with no issues.

I updated the Gallery 2

I updated the Gallery 2 known issues page to reflect this :)

I just updated and

I just updated and re-enabled APC on my server. Works very nicely so far, both with Gallery and Habari. I'm also seeing a 99% hit rate on the cache.

Nice! I'm at 99.8 on one

Nice! I'm at 99.8 on one server and 99.5 on the other. How high can it goes!