On Mon, Oct 31, 2011 at 6:50 PM, John Lenz <span dir="ltr">&lt;<a href="mailto:lenz@math.uic.edu">lenz@math.uic.edu</a>&gt;</span> wrote:<br><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
4) My code processes hundreds of messages. Every message is processed in<br><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
exactly the same way as the others. So the code can be easily<br>
parallelized. Any Haskell frameworks that will allow me to run this code<br>
in a simple concurrency model?<br>
<br>
</blockquote>
<br></div>
Yes, there are many options.<br>
<br>
<a href="http://www.haskell.org/haskellwiki/GHC/Concurrency" target="_blank">http://www.haskell.org/<u></u>haskellwiki/GHC/Concurrency</a><br><font color="#888888">
<br><br>


</font></blockquote></div><br>John, thanks for detailed reply! <br>I am looking at Haskell Concurrency wiki, but can not figure out which framework - STM, sparks, threads, etc. Amazon AWS will be able to scale?<br>As far as I know, to scale CPU and program memory in Amazon, all you can ask from AWS is to start some number of additional extra VMs. Every VM contains a complete image of your OS and executables, all images are exactly the same. <br>
That&#39;s fine with me as currently all my workflow tasks are performed by separately compiled Haskell executables communicating via regular files.   <br>So to reformulate my question: <br>- Does any Haskell  framework exist that allow to orchestrate separate processes  (NOT threads that share the same process memory)?<br>
On the other hand, in case there is a way to make Amazon AWS  to scale Haskell STM, sparks, threads, etc. - I would happily rewrite my Haskell code to use these frameworks.  So my second question:<br>- Is there a way to make Amazon AWS  to scale Haskell STM, sparks, threads or any other Haskell concurrency frameworks?<br>
<br>