Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 44F98200B6D for ; Tue, 23 Aug 2016 18:56:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 43BA8160A81; Tue, 23 Aug 2016 16:56:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A595D160ABF for ; Tue, 23 Aug 2016 18:56:21 +0200 (CEST) Received: (qmail 16453 invoked by uid 500); 23 Aug 2016 16:56:20 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 16243 invoked by uid 99); 23 Aug 2016 16:56:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2016 16:56:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7870B2C0155 for ; Tue, 23 Aug 2016 16:56:20 +0000 (UTC) Date: Tue, 23 Aug 2016 16:56:20 +0000 (UTC) From: "Till Rohrmann (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-4455) Replace ActorGateways in NetworkEnvironment by interfaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 23 Aug 2016 16:56:22 -0000 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)