Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.12.0
Description
Currently, ResultPartitionWriter is buffer-oriented, that is, RecordWriter will add buffer of different channels to ResultPartitionWriter and the buffer boundary serves as a nature boundary of data belonging to different channels. However, this abstraction is not flexible enough to handle some cases where records are appended a joint-structure shared by all channels and sorting is used to cluster data belonging to different channels.
In this ticket, we propose to make ResultPartitionWriter record oriented which offers more flexibility to the implementation of ResultPartitionWriter. And based on the new record-oriented Interface, we will introduce the sort-merge based blocking shuffle to Flink in the future.
Attachments
Issue Links
- causes
-
FLINK-19441 Performance regression on 24.09.2020
- Closed
- links to
1.
|
Flushing of BoundedBlockingResultPartition should finish current BufferBuilder | Closed | Unassigned | |
2.
|
Introduce BufferWritingResultPartition which wraps the logic of writing buffers to ResultSubpartition | Closed | Unassigned | |
3.
|
Remove RecordWriter#clearBuffers | Closed | Unassigned | |
4.
|
Small optimization of network layer record serialization | Closed | Unassigned |