Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-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 9F86F190BD for ; Mon, 4 Apr 2016 23:42:26 +0000 (UTC) Received: (qmail 41193 invoked by uid 500); 4 Apr 2016 23:42:26 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 40909 invoked by uid 500); 4 Apr 2016 23:42:26 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 40510 invoked by uid 500); 4 Apr 2016 23:42:25 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 40471 invoked by uid 99); 4 Apr 2016 23:42:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2016 23:42:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ACB782C1F6E for ; Mon, 4 Apr 2016 23:42:25 +0000 (UTC) Date: Mon, 4 Apr 2016 23:42:25 +0000 (UTC) From: "Hassan Eslami (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GIRAPH-1027) Improve flow-control on sender side MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GIRAPH-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15225292#comment-15225292 ] Hassan Eslami commented on GIRAPH-1027: --------------------------------------- Thanks Dionysios and Maja for reviewing and committing the diff. > Improve flow-control on sender side > ----------------------------------- > > Key: GIRAPH-1027 > URL: https://issues.apache.org/jira/browse/GIRAPH-1027 > Project: Giraph > Issue Type: Improvement > Components: graph > Reporter: Hassan Eslami > Assignee: Hassan Eslami > > Currently, a sender worker will keep all open requests (and optionally up to a certain number of total open requests) in its own memory. This behavior may cause high memory usage in sender side. Also, since messages can arrive to a worker at an arbitrary rate, receiver may not have the ability to handle all incoming messages, hence we may see a large memory footprint in receiver as well. This diff addresses the problem by limiting the number of open requests per worker in sender side. Also, it provides a cache of unsent requests on sender in case the sender already sent enough messages to another worker but has not received any response back. -- This message was sent by Atlassian JIRA (v6.3.4#6332)