We have the multicast based Tribes registry working (I got it working with
OSGi remote services). I'm sure that we need to improve it to cover more use
cases.
Tribes is simple as multicast is supported by the JDK and no "server" needs
to be started. There are a few down sides though. For example,
* It is not very enterprise network friendly
* The data cannot be persistent
* No built-in security
ZooKeeper provides a distributed registry with built-in HA across the server
instances. We can use it for both DomainRegistry (sharing endpoint
descriptions, policy definitions) and DomainManager (sharing contributions,
composites and node configurations).
* We can control where the servers are running
* The data can be persistent (and transactional) or transient
* The data are organized as a tree
* ACLs are supported.
The down side is that it's a bit heavy. We need to start at least one
ZooKeeper server which consumes quite a bit disk space to keep the data.
For the implementations, there are two layers here:
1. Implement the registry using the Tribes/ZooKeeper APIs.
2. Adding Tuscany functions on top of the registry SPI.
I don't think we need more people on 1. Once 1 is implemented, Tuscany
shouldn't see much difference between Tribes or ZooKeeper from the
functional perspective. Helps are welcome to enhance 2.
Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <[email protected]>
Sent: Wednesday, November 11, 2009 3:53 AM
To: <[email protected]>
Subject: Re: svn commit: r834683 - in
/tuscany/java/sca/modules/endpoint-zookeeper
On Tue, Nov 10, 2009 at 9:38 PM, <[email protected]> wrote:
Author: rfeng
Date: Tue Nov 10 21:38:58 2009
New Revision: 834683
URL: http://svn.apache.org/viewvc?rev=834683&view=rev
Log:
Start to add an Apache ZooKeeper based SCA domain registry
What are you thinking about for this? I've no issue with having
multiple impls but as none of the endpoint registry impls have been
finished yet it would be good to work together on getting one that
works well - should that be on this one now?
...ant