hi Alex,
Alex Karasulu wrote:
I've thought about using these kinds of generalized frameworks to help
piece together various aspects of the LDAP replication system. At
various stages I thought that these toolkits may be as you thought
heavy.
yep they are in one way or the other w.r.t our requirement
In most cases, I felt that they were hard to fashion into
something LDAP specific. I've always felt like you have to create the
message transport layer and directly implement the group management
since it was defined by the replication agreement.
I would say *yes* we may have to go for this, having spent much time with
ActiveMQ
and River/Jini to see how we can fit either of these into the replication
system here are
some observations
We can use ActiveMQ's 'Network of Brokers' feature to automatically discover
the other ADS peers
but its usage ends there rest of the crucial things related to replication we
need to manage as usual,
but on ActiveMQ channel. In this case IMHO we don't gain much by using
ActiveMQ, in addition to that
securing these ActiveMQ channel(s) is another issue.
In order to use River/Jini it seems to be too much of a burden to set up the
system, for that to run we need to setup
security permissions for the code base (and/or) we need to keep the code in a
'http server' !!! and security manager
also.
Also I think there's something like this out there used by JINI:
Javaspaces I think. FYI JINI is now an Apache project called River I
think so the code should be there.
Cheers,
Alex
Kiran Ayyagari
On Tue, Jan 13, 2009 at 9:13 AM, ayyagarikiran <[email protected]
<mailto:[email protected]>> wrote:
hi Guys,
Am currently looking for a framework/toolkit which provides
reliable network management I mean group management, node
election etc. including application level message transfer.
To put it in a simple way, a process group communication toolkit
like JGroups (http://jgroups.org) (it is licensed
under LGPL, so we cannot use it)
This is for managing the network nodes present in a ADS Multi
Master Replication System
One idea is to use ActiveMQ with it 'Network of Brokers' feature.
IMO this might be heavy with all the JMS thingy but
am still evaluating the feasibility of using ActiveMQ.
And another one I have come across is
ZooKeeper(http://hadoop.apache.org/zookeeper/)
from the web site
<snip>
ZooKeeper is a high-performance coordination service for
distributed applications. It exposes common services - such
as naming, configuration management, synchronization, and group
services - in a simple interface so you don't have to
write them from scratch. You can use it off-the-shelf to implement
consensus, group management, leader election, and
presence protocols. And you can build on it for your own, specific
needs.
<snip>
did any one use it before? or do you have any other suggestions.
As am still trying for a possible solution, I think this is the
right time to ask for your suggestions.
I appreciate your time :)
Kiran Ayyagari