[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add backlog option to http-open
From: |
Daniel Hartwig |
Subject: |
Re: [PATCH] Add backlog option to http-open |
Date: |
Fri, 5 Apr 2013 08:29:02 +0800 |
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?