[Haskell-cafe] simple servers
roma at ro-che.info
Fri Sep 21 11:47:27 CEST 2012
* Kazu Yamamoto <kazu at iij.ad.jp> [2012-09-21 10:29:22+0900]
> > Non-threaded RTS would block FFI to C code. But it does not block file
> > descriptors and sockets because the scheduler uses select(). To my
> > experience, *simple* network programming with non-threaded RTS also
> > works well except the case where we reach the limit of file
> > descriptors for the process.
> I need to correct the last sentence. It should be "we reach the limit
> of select(), 1,024 file descriptors".
Most of the modern systems provide a better alternative to select
(epoll, kqueue etc.) which is used by the IO manager instead.
They don't have such a low limit.
More information about the Haskell-Cafe