Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When a batch of data is processed and published to the Analytics dashboard, the ESB idles for a defined time interval before processing another batch of data. This is to ensure that too much data that too much data will not be stored in Analytics at a given time. By default, the ESB idles for 5000 milliseconds (5 seconds). 

If you want to change the default idle time, add the following configuration to the <EI_HOME>/conf/carbon.xml file (as an element under <Server>) and specify the required idle time interval.

...

ParameterDescriptionTuning Recommendation
StatWorkerIdleInterval
The number of milliseconds that should elapse after a batch of statistical data is processed (to be published in the Analytics Dashboard) before sending another batch.

The general recommendation is 5000 milliseconds (i.e. 5 seconds). Therefore, your ESB is tuned to this value by default.

When WSO2 the ESB is handling a high load of requests, this value can be reduced to increase the frequency with which the resulting statistics are published in the Analytics Dashboard. This helps to avoid storing too much data in the ESB server causing an overconsumption of memory.

When the load of requests handled by the ESB is comparatively low, this time interval can be increased to reduce the system overhead incurred by frequent processing.

...