guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add backlog option to http-open


From: Nala Ginrut
Subject: Re: [PATCH] Add backlog option to http-open
Date: Fri, 5 Apr 2013 09:29:15 +0800


在 2013-4-5 AM8:29,"Daniel Hartwig" <address@hidden>写道:
>
> On 4 April 2013 12:39, Nala Ginrut <address@hidden> wrote:
> > Here's a patch to add backlog option to http-open, users may use it
> > like:
> >
> > -----------------------cut------------------------
> > (run-server (lambda (r b) ...)
> >             'http
> >             '(#:port 1234 #:backlog 1024))
> > -----------------------end------------------------
> >
>
> You want to be quite sure about using a much larger value here.  Of
> course, the kernel will ignore settings above its own configuration,
> but if your server reaches a backlog of 128 this already indicates a
> delay in servicing those requests.  Increasing the backlog to 1024 is
> going to substantially increase that delay, no?

That's users' consideration, we just provide mechanism.
And in practical, users will configure the kernel or modify it.

For high concurrency server, that delay is endurable, the aim is to hold more connections.
Anyway, that's users policy. The upstream has to provide mechanism.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]