This is a classic case of constantly learning something new about computers. In fact for those that know more, if you see any mistakes in what I have to say here…feel free to comment and correct me!
A few days ago I mentioned that we optimized the Virtual Private Server that Like that Idea runs on with Zend Optimizer. We didn’t see many improvements, but I think that I made the mistake in assuming what the optimizer did and didn’t do. From my online readings it appears that the Zend Optimizer works best for those applications encoded on a Zend platform (something we do not have). So I went looking elsewhere and found the open source application, eAccelerator.
eAccelerator is a free open-source PHP accelerator, optimizer, encoder and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.
I installed eAccelerator from the source on the Apache server. Although not as easy as installing the Zend Optimizer, any Web administrator or computer geek worth his or her grain of salt shouldn’t run into any problems installing eAccelerator. Wow, what a difference! Since the install, the server has been running very well and I think everyone should notice the improvements this time around. The VPS contains a variety of Wordpress, Drupal, and SMF sites…and they all are performing well. If I have a need in the future I’ll bring back the Zend Optimizer since eAccelerator is suppose to be compatible with Zend Optimizer.
Why are we seeing eAccelerator perform so much better than the Zend Optimizer? As the product’s name says, Zend Optimizer is an optimizer for your Web Server.? The eAccelerator package on the other hand is not only an optimizer, but also an accelerator, encoder, and caches the dynamic content (like the pages you see here at this site). So we’re not only seeing the CPU work less because of the code being optimized, but we are also seeing less hits to the database on the server because of the caching. In essence, the server is providing pages faster to our readers but having to work less in providing those pages.
Documentation and support for eAccelerator is rather weak, so I can see why those needing more dependable support may want to purchase the Zend products.? However, so far for this little ‘ol VPS from Dakota Hosting is keeping us happy. If we run into problems with eAccelerator or the VPS I’ll let everyone know. Otherwise, this is the last computer geek article for awhile and we return to normal programming. It’s been awhile since we’ve seen a book review or product recommendation for the family…one of the original purposes of this site.
