helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erwin Karbasi <er...@optinity.com>
Subject Re: Leader election - Distributed lock manager
Date Sun, 12 May 2013 17:22:33 GMT
Hi Kapil,

Thank you for fast turnaround response.
You understand partially our requirement.
We don't want to know which server in the group B is the leader, we want
that the server A will send request to the group of servers of a group and
only one server from group B (that is the leader) will pick up the requests
and other server would be standby.
If the leader goes down other group's member will take the place of leader
and will get the requests.

Server A don't know which server from group B is the leader, thus server A
send requests to the group (concatenation of all group members

Erwin Karbasi
AT&T, Senior Software Architect

On Sun, May 12, 2013 at 7:31 PM, Kapil Surlaker <kapil.surlaker@gmail.com>wrote:

> Erwin:
> If I understand your usecase correctly, you want to pick one server in
> group B as a Leader and have server A connect to that Leader. You can
> accomplish that by using a LeaderStandBy state model (available in Helix)
> for the cluster. Server group B will be participants of that cluster, while
> server A will be a spectator and can pass the requests to the Leader by
> having the External View of the cluster.
> Does that satisfy your usecase?
> Thanks,
> Kapil
> On Sun, May 12, 2013 at 9:00 AM, Erwin Karbasi <erwin@optinity.com> wrote:
>> Hello Masters,
>> We'd like to use Helix for Leader Election mechanism.
>> Following our scenario:
>>  We have one server (server A) that need to connect to group of other
>> servers (server B).
>> How server A can access the server B's group - cluster.
>> As I know from other cluster frameworks, we can concatenate multiple
>> server ip:port and the cluster will pass the requests to the leader process
>> that in the cluster.
>> How above scenario could be implemented by using Helix leader election
>> (Distributed lock manage) as demonstrated here:
>> http://helix.incubator.apache.org/recipes/lock_manager.html
>> Your insight would be highly appreciated.
>> Thanks,
>> Erwin Karbasi <ek128b@att.com>
>> AT&T, Senior Software Architect

View raw message