Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2844

Improve MQTT subscribe/unsubscribe topic performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 2.14.0
    • 2.15.0
    • Broker, MQTT
    • None

    Description

      MQTT (and not only) is severely effected on its performance while subscribing/unsubscribing when many topics are existing because:

      • SimpleAddressManager::getMatchingBindings/getDirectBindings are performing a linear search on all the existing Bindings
      • the results of the previous matches are saved into a Bindings instance even if not necessary (note: Bindings perform atomic operations while saving the matching Binding)
      • All the MQTT operations are performed in the Netty event loop

      Attachments

        Activity

          People

            Unassigned Unassigned
            nigro.fra@gmail.com Francesco Nigro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h