PHP acceleration

Page last modified 23:37, 12 May 2009 by Liraz | Page History
Table of contents

Goal: A php accelerator should be integrated as a standard feature of all web appliances.

Notes

All LAMP based TurnKey web appliances should come with a php accelerator pre-integrated.

A PHP accelerator typically reduces server load and increases the speed of PHP code anywhere from 2-10 times, depending on factors such as the inherent execution time of the PHP application and the percentage of source code actually executed on a given request

The leading candidate is xcache, for which a package already exists in Ubuntu hardy universe (php5-xcache)!

Its written by the extremely skilled programmer who is also behind lighttpd, and he wrote XCache after studying eAccelerator and APC.

The other alternatives eaccelerator and APC are a bit more problematic.

eAccelerator is very good (also written by a technical genius) but has a licensing problem. Also, from what I've been reading XCache performs somewhat better.

APC is supposedly the future (supposed to be integrated into PHP6 by default), and written by the official php team but I've been reading quite a few reports regarding stability issues (segfaults and such under
high load), and there is also the conflict of interest with a Zend commercial offering that makes me suspect that is the reason APC isn't what it could/should be.

Tag page
Page statistics
3737 view(s), 2 edit(s), and 1767 character(s)

Comments

Viewing 1 of 1 comments: view all
xcache.tar.gz (attached) installs Xcache, sets up its web administration page on port 12323, and sets the admin username and password for xcache. All credentials are the same as for the LAMP stack; however the XCache admin page credentials are: admin (username), and admin (password).
Posted 16:37, 7 Jun 2010
Viewing 1 of 1 comments: view all
You must login to post a comment.

Attach file

Attachments

FileSizeDateAttached by 
 xcache.tar.gz
No description
1252 bytes16:35, 7 Jun 2010rgoldmanActions