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

Timothy Bish commented on AMQ-5308:
-----------------------------------

Fix pushed to trunk.

> MQTT NIO and NIO+SSL transports can be slow when reading in larger messages
> ---------------------------------------------------------------------------
>
>                 Key: AMQ-5308
>                 URL: https://issues.apache.org/jira/browse/AMQ-5308
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: MQTT
>    Affects Versions: 5.10.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 5.11.0
>
>
> The MQTTCodec class reads in message content a byte at a time which can 
> result in very slow reads for larger messages.   Instead the code should use 
> a buffer and fill it with as much data as it can in one shot each time a 
> chunk of data is received.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to