Browse thread
ocamlnet and kernel poll
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Sylvain Le Gall <sylvain@l...> |
| Subject: | Re: ocamlnet and kernel poll |
On 11-09-2008, Joel Reymont <joelr1@gmail.com> wrote: > Suppose I want to build a server that runs on top of ocamlnet and > handles 10k+ connections. > > ocamlnet seems to use select exclusively. > > Any suggestions on how to add kernel poll? Is this possible even? > I am not sure about what kind of server you want to create, but for this high number of connection, I think "fork"ing a little bit will help you to have more connection and is to my mind more secure et al. Handling more than 10k connection in a single executable is not a "general" good idea... But maybe in your case, you have no choice. Regards, Sylvain Le Gall