Tuesday, December 19, 2006

 
PHP & it's Performance:

Factors deciding PHP's performance:

1. Algorithm

2. Performance characteristics

3. Application sub-system tuning like, OS, caching sub-system, databases etc.



PHP though has been designed keeping in mind "ease-of-use over performance" it does not mean that PHP is slow. Almost all functionality of PHP is written as high-speed C extensions. The fastest PHP code tries to make use of extension functionality as much as possible. Also, due to PHP's dynamic nature, PHP scripts are recompiled every time they are invoked. The most important optimization we can perform is to avoid this recompilation by installing an opcode cache such as Zend Accelerator or Turck. MMCache.

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?