[
https://issues.apache.org/jira/browse/FLINK-14044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piotr Nowojski closed FLINK-14044.
----------------------------------
Fix Version/s: 1.10.0
Resolution: Fixed
Merged to master as:
commit b1ebd778b18a3ca6939d035618fab638e50b1d8c
commit 148ca3b61726748d0698f3ed526e87e619899179
> Reducing synchronization in AsyncWaitOperator
> ---------------------------------------------
>
> Key: FLINK-14044
> URL: https://issues.apache.org/jira/browse/FLINK-14044
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Task
> Reporter: Arvid Heise
> Assignee: Arvid Heise
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, AsyncWaitOperator receives computed results from a user thread and
> puts it in {{StreamElementQueue}}. This queue is synchronized as the emitter
> thread pulls available elements in a blocking fashion. With the recent
> migration to mailbox model, these elements are then put into a letter to be
> outputted in the mailbox thread.
> If we directly send the results from the user thread to the mailbox, we can
> get rid of any synchronization as everything happens in the user thread. That
> will slim down the code heavily.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)