From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Hartwig Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Add backlog option to http-open Date: Fri, 5 Apr 2013 08:29:02 +0800 Message-ID: References: <1365050373.2755.3.camel@Renee-desktop.suse> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1365121758 32628 80.91.229.3 (5 Apr 2013 00:29:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Apr 2013 00:29:18 +0000 (UTC) Cc: "guile-devel@gnu.org" To: Nala Ginrut Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Apr 05 02:29:46 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UNuXJ-0000uw-MH for guile-devel@m.gmane.org; Fri, 05 Apr 2013 02:29:45 +0200 Original-Received: from localhost ([::1]:35224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNuWu-0007lm-Lk for guile-devel@m.gmane.org; Thu, 04 Apr 2013 20:29:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNuWl-0007fZ-Of for guile-devel@gnu.org; Thu, 04 Apr 2013 20:29:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNuWd-0006Gj-Jb for guile-devel@gnu.org; Thu, 04 Apr 2013 20:29:11 -0400 Original-Received: from mail-ie0-x233.google.com ([2607:f8b0:4001:c03::233]:45719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNuWd-0006GV-9z for guile-devel@gnu.org; Thu, 04 Apr 2013 20:29:03 -0400 Original-Received: by mail-ie0-f179.google.com with SMTP id k11so3747350iea.10 for ; Thu, 04 Apr 2013 17:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=lBTf5efxvG2sI05AAwoNtGB2mI2Fpj0cNCca5d58sEc=; b=MS+4Igb0M/ESZ9Nl44WfA3vRTJA5/yVfuttWauNJ+Th3S6jVaSXeQ/bz3jMTKciMdi e2nPMG0JVZkqqcbW/t+7mfKhas+KMvXByVl9UPc+tBxXKMYNY8kLI1LC6Ki8aTK3PA92 DSEvpo5NmJAALCqsvT/R049PM3uVfX9s9FUEpy9n+HfoVSvOKRUpBRURZslQjgvABI/c xr2EmA08DydbQm06Ii77TqCloNxzMbxSu1Jst6qMrbFLMY+XNSdXDakukzoNIQ0RhrSX /AJqLxYUN45TZJvEwtQNJsSmOrzA+8lfKlfL/VBHXxRQ9iZMMyzT3h751yhO64WZUjzW QaWQ== X-Received: by 10.50.20.7 with SMTP id j7mr260737ige.10.1365121742810; Thu, 04 Apr 2013 17:29:02 -0700 (PDT) Original-Received: by 10.64.26.168 with HTTP; Thu, 4 Apr 2013 17:29:02 -0700 (PDT) In-Reply-To: <1365050373.2755.3.camel@Renee-desktop.suse> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::233 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16146 Archived-At: On 4 April 2013 12:39, Nala Ginrut 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?