[
https://issues.apache.org/jira/browse/QPID-6764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15156303#comment-15156303
]
ASF subversion and git services commented on QPID-6764:
-------------------------------------------------------
Commit 1731576 from [~godfrer] in branch 'java/trunk'
[ https://svn.apache.org/r1731576 ]
QPID-6764 : Only perform relevant notification checks on new message arrival
> Message age alerting is inappropriate on the enqueue path
> ---------------------------------------------------------
>
> Key: QPID-6764
> URL: https://issues.apache.org/jira/browse/QPID-6764
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker
> Reporter: Keith Wall
> Fix For: qpid-java-6.1
>
>
> The Java Broker supports number of configurable message/queue alerts such as
> message size alert (overly large messages), queue depth alert (queues with an
> unexpected number of message on them), or message age alert (a queue
> containing a message which is older than a threshold). These checks are
> performed in two places: periodically by housekeeping and when a message is
> enqueued.
> The message age alert check is performed on by housekeeping and on enqueue of
> a new message. The latter check is inappropriate and is a waste of
> resources. Unlike the other checks, enqueuing a message can't affect the
> outcome. It should be performed only be housekeeping.
> The message age check involves taking a lock on the oldest message - so may
> have a significant computation overhead.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]