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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Arvid Heise created FLINK-19026:
-----------------------------------

             Summary: Improve threading model of Unaligner
                 Key: FLINK-19026
                 URL: https://issues.apache.org/jira/browse/FLINK-19026
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Network
    Affects Versions: 1.12.0
            Reporter: Arvid Heise
            Assignee: Arvid Heise


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)