Re: WGLC: p1 MUST NOT pipeline until connection is persistent

Willy Tarreau <w@1wt.eu> Wed, 01 May 2013 08:18 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D697721F8E46 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 1 May 2013 01:18:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.556
X-Spam-Level:
X-Spam-Status: No, score=-10.556 tagged_above=-999 required=5 tests=[AWL=0.043, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j9udt8bw+qT3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 1 May 2013 01:18:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 96B7621F8B8F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 1 May 2013 01:18:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UXSEK-0000bE-QD for ietf-http-wg-dist@listhub.w3.org; Wed, 01 May 2013 08:17:36 +0000
Resent-Date: Wed, 01 May 2013 08:17:36 +0000
Resent-Message-Id: <E1UXSEK-0000bE-QD@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1UXSE7-0000Zv-Nh for ietf-http-wg@listhub.w3.org; Wed, 01 May 2013 08:17:23 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1UXSE6-0002dr-VD for ietf-http-wg@w3.org; Wed, 01 May 2013 08:17:23 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id r418GrFS029148; Wed, 1 May 2013 10:16:53 +0200
Date: Wed, 01 May 2013 10:16:53 +0200
From: Willy Tarreau <w@1wt.eu>
To: Alex Rousskov <rousskov@measurement-factory.com>
Cc: IETF HTTP WG <ietf-http-wg@w3.org>
Message-ID: <20130501081653.GN27137@1wt.eu>
References: <D69329FD-7456-46C5-BE24-6E7EE7E48C39@mnot.net> <5180137E.2040603@measurement-factory.com> <20130430194016.GM22605@1wt.eu> <5180523F.8020103@measurement-factory.com> <20130501065226.GE27137@1wt.eu> <5180C574.40609@measurement-factory.com> <20130501074019.GL27137@1wt.eu> <5180C965.4090909@measurement-factory.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <5180C965.4090909@measurement-factory.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-5.2
X-W3C-Hub-Spam-Report: AWL=-0.767, BAYES_00=-1.9, RP_MATCHES_RCVD=-2.57, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UXSE6-0002dr-VD 16bfc75fb0d15db94a90c2f1953e6267
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC: p1 MUST NOT pipeline until connection is persistent
Archived-At: <http://www.w3.org/mid/20130501081653.GN27137@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17759
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Wed, May 01, 2013 at 01:51:01AM -0600, Alex Rousskov wrote:
> On 05/01/2013 01:40 AM, Willy Tarreau wrote:
> > On Wed, May 01, 2013 at 01:34:12AM -0600, Alex Rousskov wrote:
> 
> >> I am still not sure why we are prohibiting retry pipelining on new
> >> connections though. Why do we have to reuse an old connection if we want
> >> to retry a failed pipeline?
> 
> > I don't remember, I believe it was just that if pipeline failed on a
> > connection, you don't want to pipeline again on the new one, otherwise
> > you can do that infinitely.
> 
> And if I use an old connection, the situation is guaranteed to be better
> somehow?
> 
> The reasons a new connection may fail differ from the reasons an old
> connection may fail, but both may fail, so I do not understand why we
> are prohibiting one and requiring the other.

No it's not that, it's that if you detect a failure on a connection where
you pipelined, you should not attempt to pipeline again on the new connection
since it will very likely end the same way. It's unrelated to the old
connection being better at all.

Willy