(Article) Drupal, PHP, and APC (Openject Consulting)

Drupal, PHP, and APC (Openject Consulting)

Tuning APC (Alternative PHP Cache) to work with Drupal is a relatively painless process. As Dries Buytaert has noted, APC can help serve Drupal pages up to 4 times faster than a stock Apache and PHP setup.

However, tuning APC for use with more than one Drupal instance can be a little bit more challenging than a single site running on it's own server.

For example, on one Drupal 5.x site developed by Openject, APC is installed and running on a server with 8GB of memory and a large MaxClients and lowish KeepAliveTimeout (5 seconds). The server is setup for a single Drupal site and performs best with an apc.shm size of a mere 64mb, or 0.78% of the total memory available on the server. In fact, 64mb is more than the site needs as shown by this APC graph:


APC Server 1

 [Read more..]

Courtesy : http://www.openject.com