/  22
 
A Scalable I/O Manager for GHC
Johan Tibell29 January 2010 http://github.com/tibbe/event
 
Server applications
Performance mattersServers cost (a lot of) moneyWe want as high throughput as possibleScalability: Performance shouldn't degrade (too much)when the number of clients increaseObservation: In most (HTTP) servers, the majorityof clients are idle at any given point in time
 
Why Haskell?
Simple programming model:Light-weight threads (
forkIO
)Blocking system calls
server = forever $ dosock <- accept serverSockforkIO $ talk sock >> sClose socktalk sock = doreq <- recv socksend sock (f req)

Share & Embed

More from this user

Add a Comment

Characters: ...