Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-747

Redelivery backoff should add random delay for collision avoidance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.1.0
    • Connector
    • None

    Description

      If a rollback on two messages happens between three transactional deliveries, and the two messages are redelivered with the same redelivery backoff settings, there is a likelihood that both messages will cause another rollback to happen. If maximumRedeliveries is set too low, or there are a maximumRedeliveries + 1 messages coming in simultaneously, messages may never get delivered. Can we get another option for the clients that adds a random backoff delay adjustment in addition to the constant backoff delay factor? This would end up working like most other collision avoidance algorithms.

      Attachments

        1. AMQ-747.patch
          6 kB
          Christopher G. Stach II

        Activity

          People

            Unassigned Unassigned
            cgs Christopher G. Stach II
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: