activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5308) MQTT NIO and NIO+SSL transports can be slow when reading in larger messages
Date Tue, 05 Aug 2014 16:46:11 GMT

    [ 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)

Mime
View raw message