[OpenDHT-Users] Re: ReDir

Sean Rhea srhea@MIT.EDU
Fri, 12 May 2006 09:34:51 -0400


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-36--517515679
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

On May 11, 2006, at 10:51 PM, Ufuk OKUYUCU wrote:
> I have a question on ReDir, I posted it on OpenDHT forum but it  
> didn't show up yet! So here is the same question below:
>
> <<<<<<<<<<<<
> I have a question on ReDir algorithm. We want to create a ring  
> composed of all nodes joining to a namespace. By means of a ring,  
> each node will have the address of next immediate node in the same  
> namespace. So a message can be passed around the ring among the  
> nodes in the namespace.
>
> I believe when you do a lookup with a key you get the successor  
> node in the namespace but how can we use this to find the successor  
> of a node? By giving node's identifier?  For instance, assume that  
> our node is No and we want to get the successor node, following call:
>
>                                           lookup (namespace N, key No)
>
> gives us the successor or simply itself, No?
> >>>>>>>>>>>>>

Yes, lookup(namespace, key n) should give you the successor of n.

Sean
-- 
          [P]aramount among the responsibilities of a free press is
        the duty to prevent any part of the government from deceiving
         the people and sending them off to distant lands to die of
                 foreign fevers and foreign shot and shell.
                  -- U.S. Supreme Court Justice Hugo Black




--Apple-Mail-36--517515679
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEZI8BzBwMl0DQ21gRApUhAJ4kHoYh0tftjFapWYKctcD8QxsuTACdEmgS
fJu7iLHY29mgos/32EOqJ80=
=4WDB
-----END PGP SIGNATURE-----

--Apple-Mail-36--517515679--