Sponsored Links



Archive for March, 2006

Java Enabling My Site

Posted in Techno Stuffs on March 29th, 2006

Tonight, I decided to integrate Apache and Tomcat on my VPS to java enable my site. This way, I would be able to run JSPs and Servlets on my website. ;)

Read the rest of this entry »

Hitting The Wall

Posted in Daily Living on March 28th, 2006

These past few days, I’ve been having this feeling that I’m hitting the wall on my technical skills and knowledge. It seems like for quite some time now, I haven’t moved that much. :(
I guess I have to re-evaluate myself and somehow break the plateau I’m into. Just like in bodybuilding I have to exert a lot of effort for the following days to satisfy my craving for knowledge. ;)

Read the rest of this entry »

Working Out and Muscle Cramps

Posted in Daily Living on March 27th, 2006

Just finished my workout and my body’s seems to be screaming at me in agony and pain after quite an intense workout. For this week, I’ve been pushing myself to the limits by lifting weights to points of failure and I made sure that the poundage I put on the bars wouldn’t let me do more than 8 reps per set. It’s hard but I guess it’s worth the effort and besides, as the saying goes “No pain, No gain!”. ;)

Read the rest of this entry »

Videoke Galore

Posted in Daily Living on March 24th, 2006

Image000.jpg

Summer Time Is Here

Posted in Daily Living on March 20th, 2006

Since it’s summer time again, bulking phase is over and it’s time to get ripped again. ;)

Read the rest of this entry »

Zend Optimizer and Eaccelerator

Posted in Techno Stuffs on March 18th, 2006

After moving onto a VPS with just an ample amount of resources, I faced the challenge of optimizing all my hosted services as well as the scripts and any programs I run on my own little server.

First in line of course are the personal web sites I host such as this blog. I noticed that even though I am using a broadband connection, the time for a page to be rendered (according to the last line on the Wordpress page) took 3 seconds on average. I decided not to go into the web page optimization first and see if the available PHP script optimizers can make things a bit faster for my pages. At least if they did, it would save me a lot of time on PHP programming. :D

I tried 2 popular PHP optimizers, namely Zend Optimizer and Eaccelerator. Well here are the results or let’s say my experience with them. ;)

ZEND OPTIMIZER

My VPS provider have a list of free software that they can install free of charge and I was glad to see that Zend Optimizer was included on the list. So I emailed their technical support and in after a few hours, Zend Optimizer was installed on my VPS. But then again, problems occurred since there were some conflicts with the libraries used so I asked them to uninstall it again. I then just tried to install Zend Optimizer from source so I would have better control of the installation and so that I can easily troubleshoot any problems that may arise. Well, I’m glad things worked out perfectly and I had Zend Optimizer running in no time. :)

After setting up Zend Optimizer to work with the Apache PHP module, I did a couple of test on my web sites to see if things would improve in terms of rendering time and sad to say I was only saved 1 second of rendering time since the average is still at 2 seconds, and sometimes still hitting the 3 seconds mark. Well, back to the drawing board I guess.

EACCELERATOR

I then turned to eAccelerator, and after installing it as part of my PHP module, I did proceeded with my web sites time trial. Guess what, it really made a difference since my page rendering time now just averages 0.5 second. That was fast! :D

ZEND OPTIMER WITH EACCELERATOR

This is one setup I wouldn’t recommend since it wouldn’t really make any difference. I tried setting up both Zend Optimizer and eAccelerator and the page rendering time averages to 2 seconds.

Conclusion:

So for those who wants to make their PHP based web site run faster, I recommend using eAccelerator. It really rocks! B-)