It is currently Mon Feb 17, 2020 3:12 am


The forum is READ ONLY. Please direct any future discussions to our Facebook page


 Page 1 of 1 [ 8 posts ] 
Author Message
 Post subject: SPEED! Varoom! Varoom!
PostPosted: Wed Apr 07, 2004 11:39 pm 
Developer
Developer
User avatar

Joined: Wed Feb 19, 2003 6:07 pm
Posts: 2930
Well, Tarnus just installed a module for PHP that I found that is 100% killer and should be installed on any site that is running PHP.

It is called Turck MMCache for PHP and can be found here.

This is a free PHP pre-compiler and caching program and it functions similarly to the Zend Performance Studio. Some of the biggest overhead with PHP is how PHP has to compile each PHP program every time it is accessed. MMCache will compile each PHP file and store it in a special cache directory. Everytime something needs to access that PHP file it is loaded from the cache directory instead of re-compiling it. The speed increase is phenominal and the server load has dropped tremendously.

We will be including the latest version of MMCache with future releases of AATrade along with the best settings to use and a link to the main MMCache site.

This is one of the coolest programs around and everyone should notice things are even more responsive. :D Enjoy!


Last edited by Panama Jack on Sun May 08, 2005 1:47 am, edited 1 time in total.

Offline
 Profile  
 
 Post subject:
PostPosted: Thu Apr 08, 2004 9:15 am 
Newbie
Newbie

Joined: Fri Mar 26, 2004 10:23 am
Posts: 24
Location: Mississauga, ON, CA
After it is installed, is there any need to change anything in AAT?


Offline
 Profile  
 
 Post subject:
PostPosted: Thu Apr 08, 2004 10:29 am 
Developer
Developer
User avatar

Joined: Wed Feb 19, 2003 6:07 pm
Posts: 2930
Nope, it is totally transparent. You don't need to change anything in the game.

Though you will need to add a filter to MMCaches config so it will not cache any of the files created in the templates_c directory. If those are cached then the game will not run right.

We should have a setup description in a few days for people.


Offline
 Profile  
 
 Post subject:
PostPosted: Sat Apr 10, 2004 4:10 pm 
Developer
Developer
User avatar

Joined: Wed Feb 19, 2003 6:07 pm
Posts: 2930
After looking at the MMCache monitor I have noticed some things that really, really need to be changed in the game to reduce some memory overhead. One of the biggest changes is the global_funcs.php. It gobbles up a huge amount of memory. All because it has a bunch of code that MAY be used by other programs.

So I am going to make a radical change in that program and break it down into individual files for some of the code. They will only be loaded as needed. This will cut down on alot of memory overhead and speed some things up even more.

It's nice to find some tool that are helping us refine the game more to make it more friendly for servers to run the game. :D


Offline
 Profile  
 
 Post subject:
PostPosted: Sun Apr 11, 2004 2:22 pm 
Newbie
Newbie

Joined: Fri Mar 26, 2004 10:23 am
Posts: 24
Location: Mississauga, ON, CA
Could you post the configuration to ignore Templates_C?


Offline
 Profile  
 
 Post subject:
PostPosted: Sun Apr 11, 2004 11:08 pm 
Site Admin
Site Admin
User avatar

Joined: Wed Feb 19, 2003 12:17 pm
Posts: 2619
Anakin wrote:
Could you post the configuration to ignore Templates_C?

just add a !*.tpl.php to the filter and that will fix you.


Offline
 Profile  
 
 Post subject:
PostPosted: Mon Apr 12, 2004 10:48 am 
Newbie
Newbie

Joined: Fri Mar 26, 2004 10:23 am
Posts: 24
Location: Mississauga, ON, CA
Great, thanks.


Offline
 Profile  
 
 Post subject:
PostPosted: Sat Apr 24, 2004 3:32 pm 
Developer
Developer
User avatar

Joined: Wed Feb 19, 2003 6:07 pm
Posts: 2930
If you have the use_subdirectories disabled in the configuration you will also seed to add this filter as well...

!*.tpl

Otherwise the tpl files created in the templates_c directory will be encoded and cached causing problems.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron