Re: [tcpm] TCP Tuning for HTTP - update

"Adrien de Croy" <adrien@qbik.com> Wed, 17 August 2016 22:51 UTC

Return-Path: <adrien@qbik.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D3DD612B074 for <tcpm@ietfa.amsl.com>; Wed, 17 Aug 2016 15:51:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.148
X-Spam-Level:
X-Spam-Status: No, score=-3.148 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19en9uCsOd6D for <tcpm@ietfa.amsl.com>; Wed, 17 Aug 2016 15:51:21 -0700 (PDT)
Received: from smtp.qbik.com (smtp.qbik.com [122.56.26.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0DFF212B016 for <tcpm@ietf.org>; Wed, 17 Aug 2016 15:51:20 -0700 (PDT)
Received: From [192.168.1.146] (unverified [192.168.1.146]) by SMTP Server [192.168.1.3] (WinGate SMTP Receiver v9.0.0 (Build 5855)) with SMTP id <0000805476@smtp.qbik.com>; Thu, 18 Aug 2016 10:51:18 +1200
From: Adrien de Croy <adrien@qbik.com>
To: Joe Touch <touch@isi.edu>, Willy Tarreau <w@1wt.eu>
Date: Wed, 17 Aug 2016 22:51:18 +0000
Message-Id: <embe2271fe-c61d-4c7c-84fd-bac7efa56593@bodybag>
In-Reply-To: <c928d1ca-fc89-d0b0-4e1a-8a0bd960d2bb@isi.edu>
User-Agent: eM_Client/6.0.24928.0
Mime-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/E6IOM0SLXl77xosSOqkjxgD6tqM>
Cc: Mark Nottingham <mnot@mnot.net>, "tcpm@ietf.org" <tcpm@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>, Daniel Stenberg <daniel@haxx.se>, Patrick McManus <pmcmanus@mozilla.com>
Subject: Re: [tcpm] TCP Tuning for HTTP - update
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Adrien de Croy <adrien@qbik.com>
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Aug 2016 22:51:23 -0000


------ Original Message ------
From: "Joe Touch" <touch@isi.edu>

>They want something different for a variety of reasons - the same kind
>of airtight logic by which TBL developed HTTP instead of using FTP (he
>said that you'd only typically need one file from a location, so why
>open 2 connections? now we're stuck trying to mux control and data
>rather than having a proper solution that already existed at the time -
>it took nearly a decade for HTTP servers to catch up to the performance
>of FTP).
>
Whilst I've been finding this discussion very informative and 
interesting, I have to raise an objection on this point.

FTP was never going to be suitable for the web, and a very simple RTT 
analysis shows that.

Apart from initial 3 way TCP handshake and close, which is the same for 
both, with http you have a request and a response, whereas FTP requires 
you to wait for the server welcome, log in, negotiate another port, set 
up a data connection in addition to retrieving the file

So it's at minimum 5 round trips more.

Then try adding all the firewall issues due to transmitting data 
connection endpoint information over the control connection and it's no 
surprise FTP is not favoured for downloads.
So FTP was never going to be a "proper solution" for the web without a 
complete re-architecture.

Adrien


>