Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.15.0, 1.15.1
Description
Background
In the AsyncSinkWriter, we implement a rate limiting strategy.
The initial value for the maximum number of in flight messages is set extremely high (maxBatchSize * maxInFlightRequests).
However, in accordance with the AIMD strategy, the TCP implementation for congestion control has found a small value to start with [is better](https://en.wikipedia.org/wiki/TCP_congestion_control#Slow_start).
Suggestion
A better default might be:
- maxBatchSize
- maxBatchSize / parallelism
Attachments
Issue Links
- is fixed by
-
FLINK-28487 Introduce configurable RateLimitingStrategy for Async Sink
- Resolved
- links to