From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA32146; Wed, 1 Oct 2003 18:24:49 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA27271 for ; Wed, 1 Oct 2003 18:24:48 +0200 (MET DST) Received: from grisu.bik-gmbh.de (grisu.bik-gmbh.de [217.110.154.194]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h91GOlH14544 for ; Wed, 1 Oct 2003 18:24:47 +0200 (MET DST) Received: from bik-gmbh.de ([192.168.125.193]) by grisu.bik-gmbh.de (8.12.6p2/8.12.6) with ESMTP id h91GOghL039603; Wed, 1 Oct 2003 18:24:42 +0200 (CEST) (envelope-from hars@bik-gmbh.de) Message-ID: <3F7AFFC5.5040405@bik-gmbh.de> Date: Wed, 01 Oct 2003 18:24:37 +0200 From: Florian Hars User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: en-us, de-de, en MIME-Version: 1.0 To: Sylvain LE GALL CC: Katherine Moore , caml-list@inria.fr Subject: Re: [Caml-list] Distributed messaging in Ocaml References: <004501c38764$a1aacab0$51b77ba5@katelaptop> <20030930173124.GB946@grand> In-Reply-To: <20030930173124.GB946@grand> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-2.6 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; florian:01 hars:01 hars:01 bik-gmbh:01 caml-list:01 gall:01 0400,:01 scalable:01 stuffs:01 marshalling:01 florian:01 ocaml:01 sep:01 marshal:01 nodes:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Sylvain LE GALL wrote: > On Tue, Sep 30, 2003 at 11:07:57AM -0400, Katherine Moore wrote: >>I am trying to implement a scalable, peer-to-peer data sharing system > > I think you should take a look at ensemble. It seems to be a great tool > to do what you are describing. No, last time I looked at it, I came to the conclusion that in its current form ensemble is completely unusable in a P2P environment, since the protocol requires that you can trust the intergity of the clients connecting to the network. It just stuffs the bytes received from the net into Marshal.from_something (which explains part of its speed). You would have to implement a typesafe marshalling layer that does integrity checks on the received messages. Another possible problem: frequent joins and leaves (as you might expect in a successful P2P environment) might keep the nodes busy syncronizing views and electing new leaders and leave no time for actual data exchange. Yours, Florian. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners