Message from discussion
Erlang processes in node pool
Received: by 10.14.53.12 with SMTP id f12mr5606868eec.4.1338936231898;
Tue, 05 Jun 2012 15:43:51 -0700 (PDT)
X-BeenThere: zurich-erlang-user-group@googlegroups.com
Received: by 10.14.37.139 with SMTP id y11ls2579009eea.4.gmail; Tue, 05 Jun
2012 15:43:48 -0700 (PDT)
Received: by 10.14.187.134 with SMTP id y6mr5609409eem.10.1338936227950;
Tue, 05 Jun 2012 15:43:47 -0700 (PDT)
Received: by 10.14.187.134 with SMTP id y6mr5609408eem.10.1338936227923;
Tue, 05 Jun 2012 15:43:47 -0700 (PDT)
Return-Path: <an...@dergraf.org>
Received: from mail-ey0-f172.google.com (mail-ey0-f172.google.com [209.85.215.172])
by gmr-mx.google.com with ESMTPS id b16si2898740eeg.3.2012.06.05.15.43.47
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 05 Jun 2012 15:43:47 -0700 (PDT)
Received-SPF: neutral (google.com: 209.85.215.172 is neither permitted nor denied by best guess record for domain of an...@dergraf.org) client-ip=209.85.215.172;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.215.172 is neither permitted nor denied by best guess record for domain of an...@dergraf.org) smtp.mail=an...@dergraf.org
Received: by eaaq13 with SMTP id q13so1850907eaa.31
for <zurich-erlang-user-group@googlegroups.com>; Tue, 05 Jun 2012 15:43:47 -0700 (PDT)
d=google.com; s=20120113;
h=mime-version:sender:x-originating-ip:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:content-type
:content-transfer-encoding:x-gm-message-state;
bh=OYF5DVjAGCqRBnLkYW+EumnyeCzjjiYDfYOdNKg1Htg=;
b=euGf656V5N4emA8VVL8xF50od5rI2zcf62KSAGOYpfRMagLDWHcx2922O4LEmenj/U
2MHW81SEh/XlhC0UN6f5EiOG0WfsozV8PqUSIfgAfX7j7b/FtS2JXe/xrqEMlboZUCve
WPvfrC7CeSXGXEetQlIK/I31W/BX1zqRfnjyPu0xLoQc5gsaa2f/QmS8nXLPL/ZOtBwh
kIoWiNTvSrm58NdeYz0xbmC0njqE6uXi7rTfSn1F8Tx7JPSuTAEVhKBjzRtV5VfRCcuA
6Bw7dppI2S/CNXpCYbs+0gEb8yE2r5hpZf2WKs88RZ1taUBm6jDA+nLA65MNNKWakUT/
y0Ug==
MIME-Version: 1.0
Received: by 10.14.189.7 with SMTP id b7mr7935013een.126.1338936227298; Tue,
05 Jun 2012 15:43:47 -0700 (PDT)
Sender: an...@dergraf.org
Received: by 10.14.95.72 with HTTP; Tue, 5 Jun 2012 15:43:47 -0700 (PDT)
X-Originating-IP: [92.231.243.114]
In-Reply-To: <157f13ef-bada-49c5-bab8-f9b8535d073f@googlegroups.com>
References: <157f13ef-bada-49c5-bab8-f9b8535d073f@googlegroups.com>
Date: Wed, 6 Jun 2012 00:43:47 +0200
Message-ID: <CAPQrm=vebZxGDKiU=+atB=FijHJVUQmf5X47fbrYf2gb7HU...@mail.gmail.com>
Subject: Re: Erlang processes in node pool
From: =?ISO-8859-1?Q?Andr=E9_Graf?= <andre.g...@erl.io>
To: zurich-erlang-user-group@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQkbgSm3ZiXtwtwJhtHU0TDf/dOxfBurHSDyzwoffGMOA/tCAVCO9O/fVk38v9gL3/x98d9T
Hey Bikram
Can you please elaborate more on the topic, so that the poor guys not
being able to attend the today meeting can follow the discussion.
Cheers and Thanks!
Andr=E9
On 6 June 2012 00:30, Bikram <razorp...@gmail.com> wrote:
> Hi,
>
> In=A0continuation=A0to my comment on cross node process management. Given=
below
> are couple of links that I found useful:
>
> http://www.erlang.org/doc/man/pool.html#start-1
> http://www.erlang.org/doc/man/slave.html#start_link-1
> http://www.erlang.org/doc/design_principles/distributed_applications.html
>
> It seems I was mistaken in assuming that state is transferred automatical=
ly,
> which=A0apparently=A0is not the case. But maintaining a list of nodes and=
by
> sending a message to a supervisor/gen_server on next node in a list in st=
ate
> on process terminate; the transfer of state can probably be achieved (in
> theory).
>
> However application redundancy at cluster level can also be achieved
> (http://www.erlang.org/doc/design_principles/distributed_applications.htm=
l)
> to the same effect. But state=A0preservation=A0(or a pseudo effect of tha=
t)
> would depend on the design of the application (e.g. having a replicated
> in-memory mnesia cluster for storing the state).
>
> All these being my wild ideas, would be good to hear views on this.
>
> Best,
> Bikram