Browse thread
[Caml-list] Distributed messaging in Ocaml
-
Katherine Moore
-
Sylvain LE GALL
- Florian Hars
-
Sylvain LE GALL
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| 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 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