[Haskell] select(2) or poll(2)-like function?

Mike Meyer mwm at mired.org
Mon Apr 18 09:13:17 CEST 2011


On Mon, 18 Apr 2011 11:31:08 +0530
Piyush P Kurur <ppk at cse.iitk.ac.in> wrote:
> <begin rant>
> It is unfortunate that the usual fork and even pthread_create is not light
> weight enough for programming such high performance servers. The select 
> based programming is more a hack than anything IMNSHO.

I always looked at it the other way 'round: threading is a hack to
deal with system inadequacies like poor shared memory performance or
an inability to get events from critical file types.

Real processes and event-driven programming provide a more robust,
understandable and scalable solutions.
<end rant>

    <mike
-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent Software developer/SCM consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the Haskell mailing list