<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Paul,<div>Yes, I use Read and Show to serialize. I thought of switching to Binary myself but could not find the time yet ;-) Now, a student here is going to work on that. Also, as TCP communication involves a lot of overhead, the library makes some efforts to reduce the amount of messages and makes message exchange itself quite efficient which resulted in a significant efficiency gain. But, there is definitely more optimization potential buried...</div><div><br></div><div>Frank<br><div><div>Am 06.08.2010 um 00:49 schrieb Paul Johnson:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#000000">
Looks interesting.&nbsp; One point: you seem to be using Read and Show
typeclasses for serialisation.&nbsp; I think you would be better off using
Binary, which is much more efficient.<br>
<br>
Paul.<br>
<br>
On 03/08/10 09:35, Frank Kupke wrote:
<blockquote cite="mid:BF3B53EB-2D89-411F-8A3B-FD674C600308@informatik.uni-kiel.de" type="cite"><span class="Apple-style-span" style="font-family: Times;">
  <pre><span class="Apple-style-span" style="white-space: normal;"><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Hi,</span></font></span></pre>
  </span><span class="Apple-style-span" style="font-family: Times;">
  <pre><span class="Apple-style-span" style="white-space: normal;"><div style="margin: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10.9px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">DSTM is an implementation of a robust distributed Software Transactional Memory (STM) library for Haskell. Many real-life applications are distributed by nature. Concurrent applications may profit from robustness added by re-implementation as distributed applications. DSTM&nbsp;</span></font><span class="Apple-style-span" style="font-size: 12px;">extends the STM abstraction to distributed systems and presents an implementation efficient enough to be used in soft real-time applications. Further, the implemented library is robust in itself, offering the application developer a high abstraction level to realize robustness, hence, significantly simplifying this, in general, complex task.</span></div></span></pre>
  </span><span class="Apple-style-span" style="font-family: Times;">
  <pre><span class="Apple-style-span" style="white-space: normal;"><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">The DSTM package consists of the DSTM library, a name server application, and three sample distributed programs using the library. Provided are a simple Dining Philosophers, a Chat, and a soft real-time Bomberman game application. Distributed communication is transparent to the application programmer. The application designer uses a very simple name server mechanism to set up the system. The DSTM library includes the management of unavailable process nodes and provides the application with abstract error information thus facilitating the implementation of robust distributed application programs.</span></font></span></pre>
  </span><span class="Apple-style-span" style="font-family: Times;">
  <pre><span class="Apple-style-span" style="white-space: normal;"><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">For usage please look into the documentation file: DSTMManual.pdf.</span></font></span><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">

The package including the documentation can be found on:
<a moz-do-not-send="true" href="http://hackage.haskell.org/package/DSTM-0.1.1">http://hackage.haskell.org/package/DSTM-0.1.1</a></span></font></pre>
  </span><span class="Apple-style-span" style="font-family: Times;">
  <pre><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">
Best regards,
Frank Kupke</span></font></pre>
  <div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br>
  </span></font></div>
  </span>
  <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Haskell-Cafe mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://www.haskell.org/mailman/listinfo/haskell-cafe">http://www.haskell.org/mailman/listinfo/haskell-cafe</a>
  </pre>
</blockquote>
<br>
</div>

_______________________________________________<br>Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/haskell-cafe">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br></blockquote></div><br></div></body></html>