Any example of concurrent haskell application?

I am trying to learn more about concurrent applications in Haskell by studying an existing a real application source code. I would very much appreciate if you can recommend an application that you feel has done a good job in implementing a real time application in Haskell. Daryoush

dmehrtash:
I am trying to learn more about concurrent applications in Haskell by studying an existing a real application source code. I would very much appreciate if you can recommend an application that you feel has done a good job in implementing a real time application in Haskell.
hmp3 uses a read thread to reduce user input latency. Lambdabot is an IRC gateway that forks a thread for every message. hyena is a heavily concurrent web server. All on Hackage.

rss2irc is a small app using two communicating threads, and that much works well. The error handling may be quite ideal.

Daryoush Mehrtash wrote:
I am trying to learn more about concurrent applications in Haskell by studying an existing a real application source code. I would very much appreciate if you can recommend an application that you feel has done a good job in implementing a real time application in Haskell.
Yogurt[1], a MUD client, uses two threads: one to process input from the server and one to process input from the client. It uses an MVar to synchronize. All concurrency is located in module Network.Yogurt.Readline. Custard[2], a MUD server, uses several threads: * Server, maintaining MUD state * one that listens for incoming connections * per client, one that listens for client input * per client, one that listens for messages from Server It uses channels and message passing to synchronize. All concurrency is located in module Engine. [1] http://hackage.haskell.org/package/Yogurt [2] http://code.google.com/p/custard/ Hope this helps, Martijn.

Daryoush Mehrtash wrote:
I am trying to learn more about concurrent applications in Haskell by studying an existing a real application source code. I would very much appreciate if you can recommend an application that you feel has done a good job in implementing a real time application in Haskell.
It doesn't really use much concurrency, but the web server implementation detailed in Simon Marlow. Writing High-Performance Server Applications in Haskell Case Study: A Haskell Web Server http://www.haskell.org/~simonmar/papers/web-server.ps.gz is a simple and well documented example. Regards, apfelmus -- http://apfelmus.nfshost.com
participants (5)
-
Daryoush Mehrtash
-
Don Stewart
-
Heinrich Apfelmus
-
Martijn van Steenbergen
-
Simon Michael