You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Arvid Heise (Jira)" <ji...@apache.org> on 2020/10/08 06:12:00 UTC

[jira] [Updated] (FLINK-19026) Improve threading model of Unaligner

     [ https://issues.apache.org/jira/browse/FLINK-19026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arvid Heise updated FLINK-19026:
--------------------------------
        Parent: FLINK-19442
    Issue Type: Sub-task  (was: Improvement)

> Improve threading model of Unaligner
> ------------------------------------
>
>                 Key: FLINK-19026
>                 URL: https://issues.apache.org/jira/browse/FLINK-19026
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Network
>    Affects Versions: 1.12.0
>            Reporter: Arvid Heise
>            Assignee: Arvid Heise
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> Currently, netty threads and task thread are both accessing Unaligner. Netty thread access it indirectly through BufferReceivedListener. Thus, we need some costly synchronization and weaken the threading model of the Unaligner.
> One possibility would be to introduce priority buffers to the InputGates, which overtake other buffers and also are always processable (e.g. they bypass non-blocking outputs).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)