Return-Path: X-Original-To: apmail-incubator-giraph-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-giraph-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B3419913A for ; Tue, 17 Apr 2012 20:59:37 +0000 (UTC) Received: (qmail 69469 invoked by uid 500); 17 Apr 2012 20:59:37 -0000 Delivered-To: apmail-incubator-giraph-dev-archive@incubator.apache.org Received: (qmail 69439 invoked by uid 500); 17 Apr 2012 20:59:37 -0000 Mailing-List: contact giraph-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: giraph-dev@incubator.apache.org Delivered-To: mailing list giraph-dev@incubator.apache.org Received: (qmail 69431 invoked by uid 99); 17 Apr 2012 20:59:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2012 20:59:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2012 20:59:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2085639E9C3 for ; Tue, 17 Apr 2012 20:59:13 +0000 (UTC) Date: Tue, 17 Apr 2012 20:59:13 +0000 (UTC) From: "Bo Wang (Commented) (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: <1910147851.34706.1334696353134.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1987753001.34624.1334695637445.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GIRAPH-185) Improve concurrency of putMsg / putMsgList MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GIRAPH-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255933#comment-13255933 ] Bo Wang commented on GIRAPH-185: -------------------------------- putVertexIdMessagesList can be improved together > Improve concurrency of putMsg / putMsgList > ------------------------------------------ > > Key: GIRAPH-185 > URL: https://issues.apache.org/jira/browse/GIRAPH-185 > Project: Giraph > Issue Type: Improvement > Components: graph > Affects Versions: 0.2.0 > Reporter: Bo Wang > Fix For: 0.2.0 > > Original Estimate: 2h > Remaining Estimate: 2h > > Currently in putMsg / putMsgList, a synchronized closure is used to protect the whole transientInMessages when adding the new message. This lock prevents other concurrent calls to putMsg/putMsgList and increases the response time. We should use fine-grain locks to allow high concurrency in message communication. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira