Return-Path: X-Original-To: apmail-giraph-user-archive@www.apache.org Delivered-To: apmail-giraph-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F0F6310066 for ; Mon, 23 Dec 2013 23:04:33 +0000 (UTC) Received: (qmail 21252 invoked by uid 500); 23 Dec 2013 23:04:33 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 21211 invoked by uid 500); 23 Dec 2013 23:04:33 -0000 Mailing-List: contact user-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@giraph.apache.org Delivered-To: mailing list user@giraph.apache.org Received: (qmail 21203 invoked by uid 99); 23 Dec 2013 23:04:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 23:04:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of peter.grman@gmail.com designates 209.85.220.45 as permitted sender) Received: from [209.85.220.45] (HELO mail-pa0-f45.google.com) (209.85.220.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 23:04:25 +0000 Received: by mail-pa0-f45.google.com with SMTP id fb1so5810100pad.4 for ; Mon, 23 Dec 2013 15:04:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=AFI2Z7eJ7Bs1+TAn8059hSQlI5EZy7IvRi/Keuz0XA0=; b=dSuNLraaZVv1fOSkJtRA3IyxdfctMWpxSZ953U0gpmevIg0nc+rv1+5sLHkd0gX0FI SZjEym4cPP353Sm1cu77R2jv+eghe/VFbIWS9osYXmIPIFnLVflJRE0zCby4CBGnwCwf mwViYgti+1tIwWm5MaAG3QXqwXaC7Ce1kTl6X9aNfbiMWr+SCZtLEUXko/7AQR/DsT+3 401hZLjLBhgsuHU2lxcJGrMetX8EeuHKwtahMCxGD2NmPDkIoCZgAnN8ZjZyOR3EE96d OFpYMK4aHapIEF9Yyj1uOFZHW1H25ZgH/WDJDO5GzeFKXAG875VI1qxPy1MEXK2CC8ys ppDg== X-Received: by 10.68.226.9 with SMTP id ro9mr858689pbc.72.1387839843804; Mon, 23 Dec 2013 15:04:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.250.161 with HTTP; Mon, 23 Dec 2013 15:03:43 -0800 (PST) In-Reply-To: References: From: Peter Grman Date: Tue, 24 Dec 2013 00:03:43 +0100 Message-ID: Subject: Re: Extending AbstractComputation To: user@giraph.apache.org Content-Type: multipart/alternative; boundary=e89a8fb2073ce52cfe04ee3ba47f X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb2073ce52cfe04ee3ba47f Content-Type: text/plain; charset=ISO-8859-1 I don't know the exact logic, maybe somebody who does could elaborate on that, but I noticed that it was used multiple times for different Nodes, I would think that it is used as a pool to minimize the number of object created, am I right here? The question I would add, can it be that the compute function is called concurrently on multiple objects or is it really a pool and the calls to the function don't interfere with each other? Thank Peter *-----------------------------------------------* *Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution. It is, strictly speaking, a real factor in scientific research. **- Albert Einstein* On Mon, Dec 23, 2013 at 8:56 PM, Pushparaj Motamari wrote: > Hi, > > The class we write extending AbstractComputation, is instantiated one per > worker? > > Thanks > > Pushparaj > --e89a8fb2073ce52cfe04ee3ba47f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I don't know the exact logic, maybe somebody who does = could elaborate on that, but I noticed that it was used multiple times for = different Nodes, I would think that it is used as a pool to minimize the nu= mber of object created, am I right here?

The question I would add, can it be that the compute functio= n is called concurrently on multiple objects or is it really a pool and the= calls to the function don't interfere with each other?

Thank
Peter

---------------------= --------------------------
Imagination is more important than knowledge. For knowledge is= limited, whereas imagination embraces the entire world, stimulating progre= ss, giving birth to evolution. It is, strictly speaking, a real factor in s= cientific research.
- Albert Einstein


On Mon, Dec 23, 2013 at 8:56 PM, Pushpar= aj Motamari <pushparajxa@gmail.com> wrote:
Hi,

The class we write extendi= ng AbstractComputation, is instantiated one per worker?

Thank= s

Pushparaj

--e89a8fb2073ce52cfe04ee3ba47f--