[Haskell-cafe] Optimizing a high-traffic network architecture

Lennart Augustsson lennart at augustsson.net
Fri Dec 16 10:19:03 EST 2005

John Meacham wrote:
> On Thu, Dec 15, 2005 at 02:02:02PM -0000, Simon Marlow wrote:
>>With 2k connections the overhead of select() is going to start to be a
>>problem.  You would notice the system time going up.  -threaded may help
>>with this, because it calls select() less often.
> we should be using /dev/poll on systems that support it.

And kqueue for systems that support that.  Much, much more efficient
than select.

	-- Lennart

More information about the Haskell-Cafe mailing list