Development

Optimization (diff)

You must first sign up to be able to contribute.

Changes between Version 16 and Version 17 of Optimization

Show
Ignore:
Author:
andyr12345 (IP: 86.28.218.111)
Timestamp:
09/16/09 13:00:42 (8 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Optimization

    v16 v17  
    5151   * [http://eaccelerator.net/ eAccelerator] ''"is a free open-source PHP accelerator, optimizer, 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."'' 
    5252   * [http://trac.lighttpd.net/xcache/ XCache] ''"is a fast, stable PHP opcode cacher that has been tested and is now running on production servers under high load."'' 
     53==== Note on opcode caching ==== 
     54The cached config files created by symfony can be quite large. Most opcode caching software has an option to not cache files larger than a certain size. e.g. by default APC default is 1M. Some cached config php files are larger than 1M and are therefore not cached, meaning a performance penalty on every request. To see the size of the files look for cache/<app>/<env>/config/*.php, where <app> and <env> are the application name e.g. 'backend' and env is the environment e.g. 'prod' 
     55 
     56If the files are larger than the opcode default, increase the max size in the the config. e.g. in APC add  
     57{{{ 
     58apc.max_file_size=5M 
     59}}} 
     60to php.ini 
    5361 
    5462== Database Optimizations ==