Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7315 use flink's buffers in netty
  3. FLINK-7411

minor performance improvements in NettyMessage

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • Runtime / Network
    • None

    Description

      NettyMessage may be improved slightly performance-wise in these regards:

      • in NettyMessage.NettyMessageDecoder#decode(): instead of having multiple if-elseif-... use a switch to cycle through the message ID
      • use a static NettyMessage subtype readFrom(ByteBuf buffer) - we do not really need to have a virtual function here

      Attachments

        Issue Links

          Activity

            People

              nkruber Nico Kruber
              nkruber Nico Kruber
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: