java spaces and zookeeper

Bryan Thompson <[email protected]> Sun, 11 Jan 2009 06:47:11 -0600
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------_=_NextPart_001_01C973EA.3F8090F8
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello,
=20
I was wondering if anyone has considered whether java spaces can be used
to build the same kinds of distributed lock, distributed queue, and
master election control structures that are the primary focus of
zookeeper[1,2,3].  Zookeeper gives a guarentee of the ordered of events
and provides some basic mechanisms for creating nodes within its "space"
that are linked to the life span of the client which created them and
which are assigned in a sequence that may be used to build up a variety
of queue like structures, including distributed locks and master
elections.=20
=20
So, my question is, are there patterns for creating the same kinds of
control structures using java spaces?

Thanks,
=20
-bryan
=20
[1] http://hadoop.apache.org/zookeeper/docs/r3.0.1/
[2] http://hadoop.apache.org/zookeeper/docs/r3.0.1/recipes.html
[3]
http://hadoop.apache.org/zookeeper/docs/r3.0.1/zookeeperProgrammers.html

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]

------_=_NextPart_001_01C973EA.3F8090F8
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=3Dltr><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.6000.16788" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D073114112-11012009><FONT face=3DArial color=3D#0000ff =

size=3D2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=3D073114112-11012009><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D073114112-11012009><FONT face=3DArial color=3D#0000ff =
size=3D2>I was=20
wondering if anyone has considered whether java spaces can be used to =
build the=20
same kinds of&nbsp;distributed lock, distributed queue, and master =
election=20
control structures that are the primary focus of zookeeper[1,2,3].&nbsp; =

Zookeeper gives a guarentee of the ordered of events and provides some =
basic=20
mechanisms for creating nodes within its "space" that are linked to the =
life=20
span of the client which created them and which are assigned in a =
sequence that=20
may be used to build up a variety of queue like structures, including=20
distributed locks and master elections.&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D073114112-11012009><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D073114112-11012009><FONT face=3DArial color=3D#0000ff =
size=3D2>So, my=20
question is, are there patterns for creating the same kinds of control=20
structures using java spaces?</FONT></SPAN></DIV><SPAN =
class=3D073114112-11012009>
<DIV><BR><FONT face=3DArial color=3D#0000ff =
size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV></SPAN><SPAN class=3D073114112-11012009><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>-bryan</FONT></SPAN></DIV>
<DIV><SPAN class=3D073114112-11012009><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D073114112-11012009><FONT face=3DArial color=3D#0000ff =
size=3D2>[1] <A=20
href=3D"http://hadoop.apache.org/zookeeper/docs/r3.0.1/">http://hadoop.ap=
ache.org/zookeeper/docs/r3.0.1/</A></FONT></SPAN></DIV>
<DIV><SPAN class=3D073114112-11012009><FONT face=3DArial color=3D#0000ff =
size=3D2>[2] <A=20
href=3D"http://hadoop.apache.org/zookeeper/docs/r3.0.1/recipes.html">http=
://hadoop.apache.org/zookeeper/docs/r3.0.1/recipes.html</A></FONT></SPAN>=
</DIV>
<DIV><SPAN class=3D073114112-11012009><FONT face=3DArial color=3D#0000ff =
size=3D2>[3] <A=20
href=3D"http://hadoop.apache.org/zookeeper/docs/r3.0.1/zookeeperProgramme=
rs.html">http://hadoop.apache.org/zookeeper/docs/r3.0.1/zookeeperProgramm=
ers.html</A></FONT></SPAN></DIV></BODY></HTML>
--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]

------_=_NextPart_001_01C973EA.3F8090F8--