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

DestinationMap access inside Abstract Region readwrite lock does not need sync

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.15.5, 5.16.0
    • Broker
    • None

    Description

      Using multiple virtual topic publishers, there is unnecessary serialisation via the destination map.

      the read write lock introduced inĀ AMQ-3454 is sufficient to guard access in this case and reads should operate in parallel.

      with many thousand destinations lookup can be expensive and the serialisation becomes apparent.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: