<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/10/b82ab313b01adf11bc71e287df8fa076"
  from="Florian Hars &lt;hars@b...&gt;"
  author="Florian Hars"
  date="2003-10-01T16:24:49"
  subject="Re: [Caml-list] Distributed messaging in Ocaml"
  prev="2003/10/0fb89c8020aabb589aab1d9a22218f31"
  next="2003/10/76aa3bb06f8f74f7369f6316670fddd9"
  prev-in-thread="2003/09/f9a4ebf2444effcf5fb88e00b8d7327a"
  next-in-thread="2003/10/1e6fc4ae507931ecd81e75faa86a656e"
  prev-thread="2003/09/1c257e4b8fbd755f6f80e1fdf10b7c92"
  next-thread="2003/09/34977eef4d6cbb168365e2169588755f"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Distributed messaging in Ocaml">
<msg 
  url="2003/09/598e0e70cd381778eb818344fbd9ed6b"
  from="Katherine Moore &lt;kfm@s...&gt;"
  author="Katherine Moore"
  date="2003-09-30T15:07:46"
  subject="[Caml-list] Distributed messaging in Ocaml">
<msg 
  url="2003/09/f9a4ebf2444effcf5fb88e00b8d7327a"
  from="Sylvain LE GALL &lt;sylvain.le-gall@p...&gt;"
  author="Sylvain LE GALL"
  date="2003-09-30T17:31:28"
  subject="Re: [Caml-list] Distributed messaging in Ocaml">
<msg 
  url="2003/10/b82ab313b01adf11bc71e287df8fa076"
  from="Florian Hars &lt;hars@b...&gt;"
  author="Florian Hars"
  date="2003-10-01T16:24:49"
  subject="Re: [Caml-list] Distributed messaging in Ocaml">
<msg 
  url="2003/10/1e6fc4ae507931ecd81e75faa86a656e"
  from="Benjamin Geer &lt;ben@s...&gt;"
  author="Benjamin Geer"
  date="2003-10-01T22:54:48"
  subject="Re: [Caml-list] Distributed messaging in Ocaml">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
Sylvain LE GALL wrote:
&gt; On Tue, Sep 30, 2003 at 11:07:57AM -0400, Katherine Moore wrote:
&gt;&gt;I am trying to implement a scalable, peer-to-peer data sharing system
 &gt;
&gt; I think you should take a look at ensemble. It seems to be a great tool
&gt; 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

</contents>

</message>

