2009/8/26 Simon Laws <[email protected]>:
> Hi Girogio
>
> "a dht needs a set of bootstrap hosts.". What's a bootstrap host? I
> took a quick look at the Overlay Weaver site but it's not immediately
> obvious what this means. Can you say what this means in the context of
> Tuscany nodes. Does a Tuscany node need to know...
>
> - it's own URL?
It needs to know at least a dht node (hostname,port) where to join
with joinOverlay
One or more Ow-nodes could work as dht bootstrap nodes. For example:
 dht.joinOverlay(joinAddress, joinPort);
 dht.put(ID.getID(), value,  TTL);

Ideally it might be in the infrastructure a way to discover or detect
a bootstrap node, a dht resolver app. In the context of tuscany nodes,
each nodes, when they boots..joins the DHT
with a joinOverlay and put/get endpoints on it by something similar to
ReplicatedEndpointRegistry.
This way of proceding allows to the domain to be spread over the
internet: you needs only a couple (joinAddress, joinPort) = hostname,
port to share your endpoints. This is my functional vision of this
stuff. And the first step. As second step you might enforce a shared
secret o a way of authenticate joins to provide security.
My scenario is:
Suppose to be a big company which needs to share its business
services: this company
is made of small corporation and each corp has its local SCA domain.
Using an overlay
network will enable easily to share endpoints for each business
service domain. It just needs only  a shared secret.
Just 1c.

Cheers,
Giorgio.


-- 
Quiero ser el rayo de sol que cada día te despierta
para hacerte respirar y vivir en me.
"Favola -Moda".

Reply via email to