You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2016/08/23 16:56:20 UTC

[jira] [Created] (FLINK-4455) Replace ActorGateways in NetworkEnvironment by interfaces

Till Rohrmann created FLINK-4455:
------------------------------------

             Summary: Replace ActorGateways in NetworkEnvironment by interfaces
                 Key: FLINK-4455
                 URL: https://issues.apache.org/jira/browse/FLINK-4455
             Project: Flink
          Issue Type: Improvement
          Components: Network, TaskManager
            Reporter: Till Rohrmann


The {{NetworkEnvironment}} communicates with the outside world ({{TaskManager}} and {{JobManager}}) via {{ActorGateways}}. This bakes in the dependency on actors. 

In terms of modularization and an improved abstraction (especially wrt Flip-6) I propose to replace the {{ActorGateways}} by interfaces which exposes the required methods. The current implementation would then simply wrap the method calls in messages and send them via the {{ActorGateway}} to the recipient.

In Flip-6 the {{JobMaster}} and the {{TaskExecutor}} could simply implement these interfaces as part of their RPC contract.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)