Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D85D018ECC for ; Fri, 7 Aug 2015 14:25:46 +0000 (UTC) Received: (qmail 843 invoked by uid 500); 7 Aug 2015 14:25:46 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 720 invoked by uid 500); 7 Aug 2015 14:25:46 -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 534 invoked by uid 99); 7 Aug 2015 14:25:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2015 14:25:46 +0000 Date: Fri, 7 Aug 2015 14:25:46 +0000 (UTC) From: "Gyula Fora (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-2497) Rework streaming iteration flow control MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Gyula Fora created FLINK-2497: --------------------------------- Summary: Rework streaming iteration flow control Key: FLINK-2497 URL: https://issues.apache.org/jira/browse/FLINK-2497 Project: Flink Issue Type: Improvement Components: Streaming Reporter: Gyula Fora Currently streaming iterations use a simple Blocking queue to pass data from the iteration tails to the iteration heads. While this works most of the time, during increased load (or even short bursts) the increased amount of records in transit inside the loop can cause the limited number of input/output buffer-pools to fill up and deadlock the system. (caused by the back-pressure mechanism) One solution to this problem could be to remove back-pressure on the loop-edge by replacing the Blocking queue with some soft spilling queue that will write the records automatically to disk letting the iteration tail to progress with its input. For a more robust solution we need to implement more elaborate flow control in streaming programs containing iterations. -- This message was sent by Atlassian JIRA (v6.3.4#6332)