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 B1E7F109F2 for ; Fri, 4 Apr 2014 09:35:32 +0000 (UTC) Received: (qmail 82689 invoked by uid 500); 4 Apr 2014 09:35:29 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 82341 invoked by uid 500); 4 Apr 2014 09:35:29 -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 82333 invoked by uid 99); 4 Apr 2014 09:35:28 -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:35:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of north.n@gmail.com designates 209.85.160.51 as permitted sender) Received: from [209.85.160.51] (HELO mail-pb0-f51.google.com) (209.85.160.51) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2014 09:35:22 +0000 Received: by mail-pb0-f51.google.com with SMTP id uo5so3202233pbc.38 for ; Fri, 04 Apr 2014 02:35:00 -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=WIvdF5z1PJZVhGhB/OJVzcdQrblVbqHwAY7uLTrDNA4=; b=GDCC5AifAc79blnldHJ9fhczN50xboHRwfy4B5vAPzD4/f6jmEarXBKiqjZV3xATK+ LpauTNYZrWSe8jpU1yFfoqDJGyA73+H9uaaLfhv8AIci3NVkmeZ1UtoY2s3NNQrMNlIs NZE4Akz0WTEwaxKNKN5WKHOg1SgoRekcJiXFD79HnCKZ6cFdO+sYAc+UtepSA6HJO8PE FQ8shjswDQkMi4xFke+iP5V1aJ/qvtrggc/lokZKq7DsGDKOzw8Hfy7kpFqAnx50lJ8Y p0aFFe4l1/4qcUfuorkDMzcfohyndiB/pmLOVHbOAlUFuB3Gt5n0Ej/FFWHU6ZgYdAEi KMig== MIME-Version: 1.0 X-Received: by 10.67.14.69 with SMTP id fe5mr13918520pad.120.1396604100156; Fri, 04 Apr 2014 02:35:00 -0700 (PDT) Received: by 10.68.73.135 with HTTP; Fri, 4 Apr 2014 02:35:00 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Apr 2014 10:35:00 +0100 Message-ID: Subject: Re: Bench marking a simple 10k write From: Nick North To: "user@couchdb.apache.org" Content-Type: multipart/alternative; boundary=047d7b15fc7748230204f6343b51 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15fc7748230204f6343b51 Content-Type: text/plain; charset=ISO-8859-1 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 > --047d7b15fc7748230204f6343b51--