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

Allow to configure starting buffer size when using buffer debloating

    XMLWordPrintableJSON

Details

    • Hide
      When using buffer debloating, during job's startup or recovery, when we don't know what's the actual records throughput, initial buffer size is now by default 1024B. Previously it was 32 KB, which could lead to jobs choking with large buffers during the startup that took hours to fully process. The starting buffer size can be changed using `taskmanager.memory.starting-segment-size`
      Show
      When using buffer debloating, during job's startup or recovery, when we don't know what's the actual records throughput, initial buffer size is now by default 1024B. Previously it was 32 KB, which could lead to jobs choking with large buffers during the startup that took hours to fully process. The starting buffer size can be changed using `taskmanager.memory.starting-segment-size`

    Description

      Starting buffer size is 32KB, so during recovery/startup, before backpressure kicks in, Flink job can be flooded with large buffers, completely stalling the progress.

      Proposed solution is to make this starting size configurable.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pnowojski Piotr Nowojski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: