From lordelf007 at gmail.com Thu Dec 6 09:05:23 2012 From: lordelf007 at gmail.com (Tri Nguyen Phi Minh) Date: Thu, 6 Dec 2012 23:05:23 +0900 Subject: [chord] About: an application based on Chord protocol, ADB or BerkeleyDB Message-ID: Dear Dr.Emil Sit, We compiled Chord-0.1-20070418 version with sfslite 0.8.16. We successfully tested a tool, named "filestore", in some Linux systems. Our group would like to develop an application based on Chord protocol. Here is our target in nutshell: - In our system, each computer connects to some sensor devices, they're used for medical purpose. It gathers sensor data and parses them into the form of pairs of . Whenever a pair of is gathered, then we will use Chord for distributing them over the network. For storing them permanently, we'd like to use a key-value storage engine (i.e., LevelDB or BerkeleyDB). We are reading the mailing list and CFS source code since we think we need to modify it to fit our requirement. It is complicated, so I post my question with hope you could help us clarify a bit. 1. Could you please give us hints which layers of CFS we should modify? I guess we could start with your filestore tool, I think it breaks a file into blocks, names them with keys and then distributes them. It sounds similar to our need. 2. I observed that CFS supports ADB and BerkeleyDB in implementation. Could you tell me in which case we use ADB instead of BerkeleyDB? What are advantages for choosing ADB or BerkeleyDB. Besides, you mentioned DB3 in the post in 2004 ( http://pdos.csail.mit.edu/pipermail/chord/2004-August/000292.html), is it another DB that CFS supports to store blocks? Actually, we are thinking about using LevelDB instead of them. I really appreciate your help. Thank you very much. Tri Nguyen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://amsterdam.lcs.mit.edu/pipermail/chord/attachments/20121206/f3e5a01e/attachment.html From apenellat at uoc.edu Fri Dec 7 08:52:26 2012 From: apenellat at uoc.edu (aleix) Date: Fri, 7 Dec 2012 14:52:26 +0100 Subject: [chord] Chord compilation error Message-ID: Hello, I am an student from Universitat Oberta de Catalunya, and I would like to use your chord's implementation for my degree project. Once I try to compile chord's code I found some compilations errors and I would like to check if there is my fault. I am using a gcc version 4.4.5 (Debian 4.4.5-8) in a squeeze Debian's version, sfslite 1.2.7 and BerkeleyDB 4.6 library. The errors indicate that some methods are missed: *In file included from lsdctl_prot.C:4:* *lsdctl_prot.h: In function 'bool rpc_traverse(T&, lsdctl_rpcstat&, const char*) [with T = ptr]':* *lsdctl_prot.C:564: instantiated from here* *lsdctl_prot.h:107: error: no matching function for call to 'rpc_traverse(ptr&, str&, const char [4])'* or *In file included from lsdctl_prot.C:4:* *lsdctl_prot.h: In function 'bool rpc_traverse(T&, lsdctl_rpcstat&, const char*) [with T = ptr]':* *lsdctl_prot.C:564: instantiated from here* *lsdctl_prot.h:107: error: no matching function for call to 'rpc_traverse(ptr&, str&, const char [4])'* I try to solve it making some changes like the next one but, after apply it, appears new errors. lsdctl_prot.C:564: instantiated from here * //ret = rpc_traverse (v, *static_cast (objp));* * ret = rpc_traverse (xdrs, *static_cast (objp));* or * ret = rpc_traverse (v->xdrp(), *static_cast (objp));* * * Is that a correct way to solve it or the root is another one? I would be grateful If you could help me. thank you in advance, aleix -------------- next part -------------- An HTML attachment was scrubbed... URL: http://amsterdam.lcs.mit.edu/pipermail/chord/attachments/20121207/289849e5/attachment.htm From pengcz.nwpu at gmail.com Fri Dec 14 08:36:00 2012 From: pengcz.nwpu at gmail.com (=?GB2312?B?zcGyt8Pz?=) Date: Fri, 14 Dec 2012 21:36:00 +0800 Subject: [chord] ask for help about Chord Message-ID: hi, *Robert Morris* I am sorry for interrupting you! I am studying Chord, and want to read some source code about Chord, but I found that the Chord Link http://pdos.csail.mit.edu/chord/ was not available, I do not know whether I can get a copy of Chord or CFS source from you? Thanks a lot inadvance! BEST REGARDS Pengcz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://amsterdam.lcs.mit.edu/pipermail/chord/attachments/20121214/f554cb21/attachment.htm From sit at mit.edu Fri Dec 14 13:59:52 2012 From: sit at mit.edu (Emil Sit) Date: Fri, 14 Dec 2012 13:59:52 -0500 Subject: [chord] ask for help about Chord In-Reply-To: References: Message-ID: On Fri, Dec 14, 2012 at 8:36 AM, ??? wrote: > but I found that the Chord Link http://pdos.csail.mit.edu/chord/ was not > available, I do not know whether I can get a copy of Chord or CFS source > from you? > The historical Chord codebase can now be obtained from https://github.com/sit/dht. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://amsterdam.lcs.mit.edu/pipermail/chord/attachments/20121214/2b0db209/attachment.htm From pengcz.nwpu at gmail.com Fri Dec 14 20:13:29 2012 From: pengcz.nwpu at gmail.com (=?GB2312?B?zcGyt8Pz?=) Date: Sat, 15 Dec 2012 09:13:29 +0800 Subject: [chord] ask for help about Chord In-Reply-To: References: Message-ID: hi, all Thanks a lot! Best Regards. Pengcz 2012/12/15 Emil Sit > On Fri, Dec 14, 2012 at 8:36 AM, ??? wrote: > >> but I found that the Chord Link http://pdos.csail.mit.edu/chord/ was not >> available, I do not know whether I can get a copy of Chord or CFS source >> from you? >> > > The historical Chord codebase can now be obtained from > https://github.com/sit/dht. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://amsterdam.lcs.mit.edu/pipermail/chord/attachments/20121215/b3d290f1/attachment.htm