You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.
You are here: Zend Server Best Practices > Performance > Fine Tuning Optimizer+

Fine Tuning Optimizer+

The performance improvement gained by letting the Optimizer+ run out-of-the-box can be further enhanced with fine-tuning. These are advanced settings that need to be evaluated based on your environments usage specifications and performance requirements.

Note:

These are only recommendations, in most cases, such fine-tuning should not be necessary.

Disabling Code Change Auto-Detection

In the Administration Interface, to view the specific directives for Optimizer+, go to Server Setup | Components and click on the Directives link next to the Optimizer+.  

Look for "zend_optimizerplus.validate_timestamps" and set the value to Off.
This speeds up the server, but also requires that you restart the server () if you deploy new versions of existing files.

When to change: If your PHP code is rarely updated/changed or if you are capable of manually restarting your PHP on every code update.

When not to change: If you are in development and you are frequently changing code, or if you do not have control over the code update process.

Decreasing Code Validation Frequency

In the Administration Interface, to view the specific directives for Optimizer+, go to Server Setup | Components and click the Directives link next to the Optimizer+.

Look for "zend_optimizerplus.revalidate_freq" and set the value to 30 (seconds).Zend Server for IBMi is now set to check PHP file changes every 30 seconds.

When to change: If you do not change PHP files often and some delay between file update and site update is acceptable, you may set it even higher.

When not to change: If you have frequently changing files and you need the changes to take effect immediately.

 

 

Related Links

Related Links:

Working with Optimizer+

Optimizer+

Zend Optimizer+

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.