Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24469

Incorrect calcualtion of the buffer size in case of channel data skew

    XMLWordPrintableJSON

Details

    Description

      If only a couple out of 100 input channels are active then there is a huge throughput drop is observed. I suppose it happens because of the line inside of SingleInputGate#getBuffersInUseCount:

      Math.max(1, channel.getBuffersInUseCount());
      
      

      Right now, I don't think that it makes sense to have min value as 1, perhaps zero buffer in use is also ok.

      Attachments

        Issue Links

          Activity

            People

              akalashnikov Anton Kalashnikov
              akalashnikov Anton Kalashnikov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: