Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C8C5109FC for ; Fri, 4 Apr 2014 09:37:53 +0000 (UTC) Received: (qmail 86105 invoked by uid 500); 4 Apr 2014 09:37:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 86067 invoked by uid 500); 4 Apr 2014 09:37:51 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 86057 invoked by uid 99); 4 Apr 2014 09:37:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2014 09:37:50 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of north.n@gmail.com designates 209.85.192.169 as permitted sender) Received: from [209.85.192.169] (HELO mail-pd0-f169.google.com) (209.85.192.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2014 09:37:44 +0000 Received: by mail-pd0-f169.google.com with SMTP id fp1so3108220pdb.28 for ; Fri, 04 Apr 2014 02:37:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2Y3hfPckC/M//OujTqNrJ4xB3uMN/FIyq2lgTbB1B10=; b=YLh1gaHHdmPeVGWX8m6QGtUJa/VkOKSozSDIteQFrkaw0QIGz+XoHnAWntrwocnPce nJvMJdH83SfWpUAMsY6PeALDK2n+AnJ9N33x1/ppPbtZkX6flCXUDI81zIIqVy329p7k NEwm5n0GCgd6d18DT/zRbEj5DYaUBn+h/Fc4OIZdh/XEdA7N3zUVFCsRqdDfC1hFpxlB NlPZnxYQIqpTTMe6YBHOjgarvsB3aiYyJ9AlxfUB2NvpdKgHksonwb961tSSxTmOFNj2 qVWOlyufvgzsvTgZHFpuU8tc38624x0bxeyBR4ex29utxpcI7saNiD2MF0PzNRCTc0/L tj9w== MIME-Version: 1.0 X-Received: by 10.67.14.69 with SMTP id fe5mr13930813pad.120.1396604242603; Fri, 04 Apr 2014 02:37:22 -0700 (PDT) Received: by 10.68.73.135 with HTTP; Fri, 4 Apr 2014 02:37:22 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Apr 2014 10:37:22 +0100 Message-ID: Subject: Re: Bench marking a simple 10k write From: Nick North To: "user@couchdb.apache.org" Content-Type: multipart/alternative; boundary=047d7b15fc77c5b36904f63443a3 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15fc77c5b36904f63443a3 Content-Type: text/plain; charset=ISO-8859-1 On second thoughts, while my previous claim is true, I'm not sure what happens when you use WebRequest.Create for each write, as in the example. So maybe keep-alive is not enabled after all. Nick On 4 April 2014 10:35, Nick North wrote: > The HttpWebRequest class has a KeepAlive > property > that defaults to true under HTTP 1.1, so it should be enabled in the OP's > example. > > Nick > > > On 4 April 2014 10:24, Stanley Iriele wrote: > >> On Fri, Apr 4, 2014 at 1:28 AM, Benoit Chesneau >> wrote: >> >> > On Fri, Apr 4, 2014 at 10:25 AM, Will Holley >> wrote: >> > >> > > .NET should set keep-alive by default. >> > > >> > >> >> I have a hard time believing that because its the library you're using not >> NET itself that decides that. Also If the test is truly being torn down >> rerun I don't see how it could use keep-alives...that would invalidate the >> test wouldn't it? being that the 1st test makes a connection and >> subsequent >> tests reuse the same connection >> > > --047d7b15fc77c5b36904f63443a3--