You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "zhijiang (JIRA)" <ji...@apache.org> on 2018/10/24 08:28:00 UTC

[jira] [Created] (FLINK-10662) Refactor the ChannelSelector interface for single selected channel

zhijiang created FLINK-10662:
--------------------------------

             Summary: Refactor the ChannelSelector interface for single selected channel
                 Key: FLINK-10662
                 URL: https://issues.apache.org/jira/browse/FLINK-10662
             Project: Flink
          Issue Type: Improvement
          Components: Network
    Affects Versions: 1.6.1, 1.5.4
            Reporter: zhijiang
            Assignee: zhijiang


In the discussion of broadcast improvement, [~pnowojski] pointed out the issue of improving the current channel selector.

 

In {{ChannelSelector#selectChannels}}, it would return an array for selected channels. But considering specific implementations, only {{BroadcastPartitioner}} would select all the channels, and other implementations will select one channel. So we can simple this interface to return single channel index for benefiting performance, and specialize the {{BroadcastPartitioner}} in a more efficient way.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)