Piotr Nowojski created FLINK-15750:
--------------------------------------
Summary: Execute network flushing actions in the mailbox
Key: FLINK-15750
URL: https://issues.apache.org/jira/browse/FLINK-15750
Project: Flink
Issue Type: Improvement
Components: Runtime / Network
Affects Versions: 1.10.0
Reporter: Piotr Nowojski
Assignee: Piotr Nowojski
Currently almost all interactions with the network stack are happening from the
mailbox thread, except of
{{org.apache.flink.runtime.io.network.api.writer.ResultPartitionWriter#flushAll}},
which happens from {{OutputFlusher}} thread.
We could move {{ResultPartitionWriter#flushAll}} to happen in the mailbox
thread (as a mailbox action), which would further simplify the threading model.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)