[ 
https://issues.apache.org/jira/browse/ARTEMIS-2844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17168840#comment-17168840
 ] 

ASF subversion and git services commented on ARTEMIS-2844:
----------------------------------------------------------

Commit 0db13ee8ab60a07aa0f90cdfcf4158d0c5b00d38 in activemq-artemis's branch 
refs/heads/master from Francesco Nigro
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=0db13ee ]

ARTEMIS-2844 Use writeAndFlush with voidPromise to reduce GC pressure


> 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
>          Time Spent: 1h 20m
>  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)

Reply via email to