PHP Accelerator

enry

Administrator
I installed a PHP Accelerator on the webserver. People have claimed speed increases of up to 400%. Of course I don't believe it, so I'll leave it up to you peeps to decide. Test it over the next few days and let me know.
(nana)
 
I also see a difference, usually at work the site is pretty slow but it seems to appear much faster now.

Shoot me a PM with the software you are running, I think this may help our intranet out at work ;)

Sort of off topic but I am really digging the new site, I did not like it at first but now I see all the other features and think its sweet. Good Job(yes)
 
http://apc.communityconnect.com/
It works, but does not seem like totally enterprise level stuff. But, it is open source. The dancing banana likes open source. (group)

I will recompile to remove the stupid apc_notice message in stderr (apache error log), it's quite annoying!
 
I thought that Vbulliten was 90% MySQL. I am running a server now and unfortunaletly i have not been at this board long enough to notice a change. I read over the about it page and it seems somewaht usefull for boards mainly, because people mainly choose the forums and once that is run it keeps it in cache so it just displays it already compiled as if you where opening a page you have already visited. like your IE cache!

Iteresting, how hard was it to install, I am running a huge shopping cart and forum and i think i am y be interested in this!! Anyone else try it, anyone else notice a change on there servers?!!?!?!?!

-vin
 
VBulletin is pretty mysql intensive, but there's also a truckload of php.

If you want it to run properly, you will need RAM, and LOTS of it. This server is a dual xeon and with 1 GB ram it would occasionally cough. Phys mem usage was 100% almost, and sometimes MySQL would go bananas (hundreds of connections, etc...) even though swap usage was almost NIL. We dropped in an extra gig, and now phys mem usage is about 1.5 gigs, but the server has not hiccuped since. The conclusion is that if your DB is very large (ours is in the gigs) then disk access is what kills the system, and mysql knows that, and tries to save you by loading everything into memory.

The PHP accelerator I installed does not cache the output of the scripts. It caches the "compiled" version of the script. The script still needs to execute, but the parsing and compiling phases are skipped. This is useful for VB since there's quite a few levels of includes in any given file. The installation is trivial, if you're familiar with building and installing unix software manually.
 
Guess what i am installing this week!!!!!!
-vin


enry said:
VBulletin is pretty mysql intensive, but there's also a truckload of php.

If you want it to run properly, you will need RAM, and LOTS of it. This server is a dual xeon and with 1 GB ram it would occasionally cough. Phys mem usage was 100% almost, and sometimes MySQL would go bananas (hundreds of connections, etc...) even though swap usage was almost NIL. We dropped in an extra gig, and now phys mem usage is about 1.5 gigs, but the server has not hiccuped since. The conclusion is that if your DB is very large (ours is in the gigs) then disk access is what kills the system, and mysql knows that, and tries to save you by loading everything into memory.

The PHP accelerator I installed does not cache the output of the scripts. It caches the "compiled" version of the script. The script still needs to execute, but the parsing and compiling phases are skipped. This is useful for VB since there's quite a few levels of includes in any given file. The installation is trivial, if you're familiar with building and installing unix software manually.
 
Re: PHP accelerator

Not sure, Antoine, if 400% is correct, but 0-60 times have improved vastly!
 
Back