Last update:
June 5, 2002

Presentation  
 
Presentation
Working conditions
Panel of servers

Apache  
 
Operation
Modules
Optimization solutions

Caching PHP  
 
Presentation
Pages caching
Opcodes caching

Example  
 
Optimization on Wysistat

Links  
 
Apache 1.3
PHP Accelerator
ID.fr
Mesure d'audience

Study and optimization
of a Web server

 

Optimization solutions

 

Several ways of optimization, which allows to act on certain steps of the request processing, can be considered :


Concerning the processus management of the processes, the parameters to adjust are:

But the tests carried out do not allow to measure significant time saving in requests processing (details... ).
Actually, these parameters must be adjusted according to the resources of the machine, in particular MaxClients. You must ensure that this number is not too small, which results in long latencies with simultaneous requests because there is not enough processes to serve all the requests, nor too large, long processing times, also with simultaneous requests, because the processes launched on the machine are too numerous.
 

Concerning the desactivation of the modules, we can say that a profit can be brought not as regards processing times, but as regards use of the RAM.
Desactivating modules makes it possible to decrease the memory size of each Apache process.
 

Contact - version française