Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-3747

Improve MQTT subscribe/unsubscribe topic performance

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • AMQ 7.8.0.CR4
    • AMQ 7.7.0.CR4
    • None

      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

            fnigro Francesco Nigro
            fnigro Francesco Nigro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: