You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Domenico Francesco Bruscino (Jira)" <ji...@apache.org> on 2020/08/25 13:17:01 UTC

[jira] [Closed] (ARTEMIS-2844) Improve MQTT subscribe/unsubscribe topic performance

     [ https://issues.apache.org/jira/browse/ARTEMIS-2844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Domenico Francesco Bruscino closed ARTEMIS-2844.
------------------------------------------------
    Fix Version/s: 2.15.0
       Resolution: Done

> Improve MQTT subscribe/unsubscribe topic performance
> ----------------------------------------------------
>
>                 Key: ARTEMIS-2844
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2844
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker, MQTT
>    Affects Versions: 2.14.0
>            Reporter: Francesco Nigro
>            Priority: Major
>             Fix For: 2.15.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)