caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sylvain Le Gall <sylvain@le-gall.net>
To: caml-list@inria.fr
Subject: Re: ocamlnet and kernel poll
Date: Thu, 11 Sep 2008 12:51:39 +0000 (UTC)	[thread overview]
Message-ID: <slrngci52r.g94.sylvain@gallu.homelinux.org> (raw)
In-Reply-To: <01677251-3A8D-4DCA-9E39-7D17FAC92645@gmail.com>

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


  reply	other threads:[~2008-09-11 12:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-11 12:43 Joel Reymont
2008-09-11 12:51 ` Sylvain Le Gall [this message]
2008-09-11 13:42 ` [Caml-list] " Gerd Stolpmann
2008-09-11 14:04 ` Markus Mottl
2008-09-11 14:37 ` Mattias Engdegård
2008-09-11 15:32   ` Markus Mottl
2008-09-11 15:43     ` Joel Reymont
2008-09-11 15:50       ` Sylvain Le Gall
2008-09-11 16:31       ` [Caml-list] " Markus Mottl
2008-09-24 15:05         ` Rich Neswold
2008-09-24 15:43           ` Gabriel Kerneis
2008-09-26 15:53             ` Rich Neswold
2008-09-24 17:28           ` Markus Mottl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrngci52r.g94.sylvain@gallu.homelinux.org \
    --to=sylvain@le-gall.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).