qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Ross (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-4632) Change Threshold Alerts from Level-Sensitive to Edge-Triggered
Date Fri, 08 Mar 2013 15:04:12 GMT

     [ https://issues.apache.org/jira/browse/QPID-4632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Ross updated QPID-4632:
---------------------------

    Attachment: QPID-4632.patch

Proposed Patch
                
> Change Threshold Alerts from Level-Sensitive to Edge-Triggered
> --------------------------------------------------------------
>
>                 Key: QPID-4632
>                 URL: https://issues.apache.org/jira/browse/QPID-4632
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker
>    Affects Versions: 0.20
>            Reporter: Ted Ross
>            Assignee: Ted Ross
>             Fix For: Future
>
>         Attachments: QPID-4632.patch
>
>
> Queue threshold events are currently level-sensitive and require a rate-limiting feature.
 Every time a message is enqueued and the queue depth is above the configured threshold, an
event is potentially raised.  The repeat-interval attribute prevents the event from being
raised too frequently.
> Also, there is no way to produce an event for a lower or going-down threshold.
> The threshold feature should be changed to be edge-triggered as follows:
> Per-queue configuration for thresholds is:
>   - upper-threshold (bytes and messages)
>   - lower-threshold (bytes and messages)
> Two event types are (or one type with an argument) defined:
>   - threshold crossed increasing
>   - threshold crossed decreasing
> The increasing event is raised when the queue depth goes from (upper-threshold - 1) to
upper-threshold.
> The decreasing event is raised when the queue depth goes from (lower-threshold + 1) to
lower-threshold.
> The upper and lower thresholds should have some gap between them to establish hysteresis
which will result in limited event rates.
> Message and Byte thresholds will be handled independently.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message