Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5308

MQTT NIO and NIO+SSL transports can be slow when reading in larger messages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.10.0
    • 5.11.0
    • MQTT
    • None

    Description

      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.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: