You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Nico Kruber (JIRA)" <ji...@apache.org> on 2018/08/14 10:10:00 UTC

[jira] [Created] (FLINK-10142) Reduce synchronization overhead for credit notifications

Nico Kruber created FLINK-10142:
-----------------------------------

             Summary: Reduce synchronization overhead for credit notifications
                 Key: FLINK-10142
                 URL: https://issues.apache.org/jira/browse/FLINK-10142
             Project: Flink
          Issue Type: Bug
          Components: Network
    Affects Versions: 1.6.0, 1.5.2, 1.7.0
            Reporter: Nico Kruber
            Assignee: Nico Kruber


When credit-based flow control was introduced, we also added some checks and optimisations for uncommon code paths that make common code paths unnecessarily more expensive, e.g. checking whether a channel was released before forwarding a credit notification to Netty. Such checks would have to be confirmed by the Netty thread anyway and thus only add additional load for something that happens only once (per channel).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)