On Wed, Sep 24, 2008 at 10:43 AM, Gabriel Kerneis <[EMAIL PROTECTED]> wrote:
> On Wed, Sep 24, 2008 at 10:05:54AM -0500, Rich Neswold wrote:
> > I'm new to Ocaml and trying to get up to speed. Sorry, but I can't seem
> to
> > find the "bigstring" module in the Core library.
>
> "Our" means "Jane S
2008/9/24 Rich Neswold <[EMAIL PROTECTED]>:
> On Thu, Sep 11, 2008 at 11:31 AM, Markus Mottl <[EMAIL PROTECTED]>
> wrote:
>>
>> Look at our Core-library. It contains a module "Bigstring", which
>> provides many efficient I/O-functions for those. Look at
>> "bigstring_stubs.c", where you'll see ho
Hi,
On Wed, Sep 24, 2008 at 10:05:54AM -0500, Rich Neswold wrote:
> On Thu, Sep 11, 2008 at 11:31 AM, Markus Mottl <[EMAIL PROTECTED]>wrote:
>
> > Look at our Core-library. It contains a module "Bigstring", which
> > provides many efficient I/O-functions for those. Look at
> > "bigstring_stubs.
On Thu, Sep 11, 2008 at 11:31 AM, Markus Mottl <[EMAIL PROTECTED]>wrote:
> Look at our Core-library. It contains a module "Bigstring", which
> provides many efficient I/O-functions for those. Look at
> "bigstring_stubs.c", where you'll see how these functions are
> implemented in C-land, e.g. wh
On Thu, Sep 11, 2008 at 11:43 AM, Joel Reymont <[EMAIL PROTECTED]> wrote:
> Are you suggesting using multiple OS threads within a single process?
Yes.
> When exactly do you release the lock and how do you perform IO outside of
> it?
>
> How do you determine whether to release the lock or not?
Lo
On Sep 11, 2008, at 4:32 PM, Markus Mottl wrote:
Use bigstrings as buffers and
perform I/O outside of the OCaml-lock if releasing it (depends on
I/O-size) is more efficient.
Are you suggesting using multiple OS threads within a single process?
When exactly do you release the lock and how do
On Thu, Sep 11, 2008 at 10:37 AM, Mattias EngdegÄrd
<[EMAIL PROTECTED]> wrote:
> There's nothing wrong with serving myriads of connections from a
> single process, especially when using a strongly typed language, but
> parallelism can be useful. On the other hand, one process per
> connection may b
>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?
There is an ocaml wrapper for libevent: http://www.xs4all.nl/~mmzeeman/ocaml/
With that
On Thu, Sep 11, 2008 at 8:43 AM, Joel Reymont <[EMAIL PROTECTED]> 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?
The Core-libr
Am Donnerstag, den 11.09.2008, 13:43 +0100 schrieb Joel Reymont:
> Suppose I want to build a server that runs on top of ocamlnet and
> handles 10k+ connections.
>
> ocamlnet seems to use select exclusively.
There's also netplex in ocamlnet, which is a kind of fork framework. I
don't know which
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?
Thanks, Joel
--
wagerlabs.com
___
Caml-
11 matches
Mail list logo