Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6764

Message age alerting is inappropriate on the enqueue path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-6.1
    • Broker-J
    • None

    Description

      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.

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: