Like that Idea

eAccelerator Optimized and Zend Deoptimized

03.28.06

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.

Upgraded to Wordpress 2.0.2

03.27.06

This looks like a night of upgrades for Like that Idea. Earlier this evening, we upgraded the server with Zend Optimizer. Now we’ve upgraded Wordpress to version 2.0.2 which is mainly a security release though a few other bugs were fixed. During this upgrade we also upgraded the Ultimate Tag Warrior plugin to version 3.1. The plugin upgrade adds not only tagging suggestions from Tagyu but also Yahoo. Finally, I renabled the Wordpress chaching, but of course once again I’m not seeing that much difference in performance due to the enabled chaching. I wish someone could point me to a good reference to how caching works in Wordpress 2.x.
Are there any negatives to doing all these changes in one night? Well, yes. If there is a significant boost or degradation in performance for this site…I won’t know if it was due to the chaching, Wordpress upgrade, Ultimate Tag Warrior upgrade, or the Zend Optimizer! However, I don’t expect problems to develop (last famous words of an over-confident system administrator).

Zend Optimized

03.25.06

We host Like that Idea and WebCMS Forum through Dakota Hosting on one of their Virtual Dedicated Servers (also known as Virtual Private Servers or VPS). Dakota Hosting’s normal hosting plans have always been optimized for php using Zend Optimizer. However with the virtual as well as dedicated servers you manage the servers yourself and have to install the “extras” yourself. By default the self-managed server does not come with an optimizer for PHP. So today we loaded the free Zend Optimizer. Hopefully, visitors to our site will notice some performance improvements. Although we haven’t had problems before…occasionally our articles get some broader online attention than normal and we like to be ready for those busy periods.

Installing Zend Optimizer was probably the easiest thing we’ve done so far on our server. Put it this way, it was a lot easier to install the optimizer than installing Wordpress or Drupal (both of which are not too difficult to install either). If you have a server you manage yourself, you can get the Zend Optimizer at Zend’s Website. We found a good but dated explanation of how the optimizer works in a publication called New Architect.

We would like to hear from our regular readers if they notice any improvements since we installed the optimizer. We’re always looking at different solutions for tweaking the server! Any additional suggestions for improving performance are also welcomed.