Timothy Bish created AMQ-5308:
---------------------------------

             Summary: 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