Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Distributed messaging in Ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-10-01 (16:24)
From: Florian Hars <hars@b...>
Subject: Re: [Caml-list] Distributed messaging in Ocaml
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 Archives:
Bug reports: FAQ:
Beginner's list: