Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10745 Serialization and copy improvements for record writer
  3. FLINK-10662

Refactor the ChannelSelector interface for single selected channel

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zjwang Zhijiang
              zjwang Zhijiang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m