Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-3229

Performance improvement of And/Or action condition evaluation

XMLWordPrintable

      If action Type of calculation is And/Or action conditions are ordered by condition type to simplify expression evaluation. (Conditions of equal type are connected with OR, and (... OR ... OR ...) condition blocks are connected with AND.) Assuming that all conditions have equal chances of being true or false and request similar time to process it is good for performance to evaluate (... OR ... OR ...) blocks which contain less conditions. This way less conditions will be evaluated per expression.

      Even more sophisticated improvement would be to gather statistics about chances of particular conditions to be true or false, about average condition evaluation time and sorting them accordingly to minimize mathematical expectation of expression evaluation time.

            Unassigned Unassigned
            glebs.ivanovskis Glebs Ivanovskis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: