flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Kruber (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-7411) minor performance improvements in NettyMessage
Date Thu, 10 Aug 2017 13:14:00 GMT
Nico Kruber created FLINK-7411:
----------------------------------

             Summary: minor performance improvements in NettyMessage
                 Key: FLINK-7411
                 URL: https://issues.apache.org/jira/browse/FLINK-7411
             Project: Flink
          Issue Type: Improvement
          Components: Network
    Affects Versions: 1.4.0
            Reporter: Nico Kruber
            Assignee: Nico Kruber
            Priority: Minor


{{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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message