30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring for Production or Development<br />

Zend Server Best Practices<br />

In general, the best practice is the same: tune monitoring rules and thresholds to provide the information<br />

you need, without creating an overflow of events that you are not able to handle. This means that in<br />

development you may want focus on a specific rule type each time or set high thresholds and gradually<br />

modify them. In production, it is preferred that you already come with an estimate of the thresholds that<br />

are necessary.<br />

The difference between development and production is that usually in development environments you<br />

have to work very hard in order to have such an "overflow" - development environments are low traffic,<br />

low load systems. Additionally, the performance impact is negligible in development environment. In<br />

production, as a contrast, tuning is very important because of two reasons:<br />

1. High traffic systems tend to generate hundreds and thousands of events per day if not properly<br />

tuned - even with aggregation, this tends to be more than what a development team can handle.<br />

2. The more events you have, and the broader your thresholds are (for example the more functions<br />

you watch for Slow Function Execution events) the bigger the performance impact on your<br />

system is going to be. While under normal circumstances this impact is usually negligible, under<br />

high stress circumstances it could have an effect.<br />

Given this, the best practice for tuning Zend Monitor thresholds is to start from relatively high thresholds,<br />

and lower them over time as old issues are fixed and the capacity for handling fine-grained errors grows.<br />

This is mostly true in production environments.<br />

397

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!