[chord] Chord API

Emil Sit sit at MIT.EDU
Tue Mar 15 22:06:05 EST 2005


David,

On Tue, 15 March 2005 at 21:39 (-0500), David Fisher wrote:
> I'm trying to tinker with Chord, in order to eventually use it in my own
> projects.  However, I'm having some difficulty figuring out the API,
> especially since I have no experience with other SFS projects.  Is there
> documentation you could point me at?  Thank you.

There isn't really much documentation about the Chord implementation.
If you need to learn libasync, there are a number of tutorials on the
web (including [1]).  You can start by reading lsd/lsd.C to get an idea
how the actual Chord/DHash application is structured.

You can take a look at some of the scripts in devel/ to see how to
write client programs (and even some in Python).   This is
probably easier than writing something that links in libchord
since these use a well specified RPC API (e.g. svc/chord_prot.x or
svc/dhashgateway_prot.x).

[1] http://pdos.lcs.mit.edu/6.824-2004/async/

-- 
Emil Sit / MIT CSAIL PDOS / http://pdos.lcs.mit.edu/chord/  



More information about the chord mailing list