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

KinesisStreamsSink Performance regression due to AIMD rate limiting strategy

    XMLWordPrintableJSON

Details

    Description

      Issue

      While benchmarking the KinesisStreamSink for 1.15 against the legacy FlinkKinesisProduced , it is observed that the new sink has a performance regression against the deprecated sink for same environment setting.

      Further investigation identified that the AIMD Ratelimiting strategy is the bottleneck for the regression.

      Attached results for KinesisStreamSink against

      {FlinkKinesisProducer}

      and

      {KinesisStreamSink}

      after disabling AIMDRatelimitingStrategy

      Environment Settings

      • Benchmarking was performed on AWS KDA.
      • Application logic is just sending records downstream
      • Application parallelism was tested to be 1.
      • Kinesis stream number of shards was tested with 8 and 12.
      • payload size was 1Kb and 100Kb.

      Attachments

        1. Screenshot 2023-04-11 at 12.56.10.png
          55 kB
          Ahmed Hamdy
        2. Screenshot 2023-04-11 at 12.58.09.png
          81 kB
          Ahmed Hamdy
        3. Screenshot 2023-04-11 at 13.01.47.png
          51 kB
          Ahmed Hamdy
        4. Screenshot 2023-04-17 at 13.02.31.png
          34 kB
          Ahmed Hamdy
        5. Screenshot 2023-04-17 at 13.03.24.png
          34 kB
          Ahmed Hamdy
        6. Screenshot 2023-04-17 at 13.03.34.png
          33 kB
          Ahmed Hamdy
        7. Screenshot 2023-04-17 at 13.03.34-1.png
          33 kB
          Ahmed Hamdy

        Issue Links

          Activity

            People

              chalixar Ahmed Hamdy
              chalixar Ahmed Hamdy
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: