Re: [alto] HTTP Review (draft-ietf-alto-new-transport)

Mark Nottingham <mnot@mnot.net> Sun, 17 July 2022 08:05 UTC

Return-Path: <mnot@mnot.net>
X-Original-To: alto@ietfa.amsl.com
Delivered-To: alto@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B62C2C16ECA9 for <alto@ietfa.amsl.com>; Sun, 17 Jul 2022 01:05:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.127
X-Spam-Level:
X-Spam-Status: No, score=-7.127 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=IA7UrOf0; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Urm3Gb+i
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o4Y2NeTVU4JV for <alto@ietfa.amsl.com>; Sun, 17 Jul 2022 01:05:45 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 13957C16ECA5 for <alto@ietf.org>; Sun, 17 Jul 2022 01:05:45 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 99C515C00F5; Sun, 17 Jul 2022 03:58:14 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 17 Jul 2022 03:58:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1658044694; x= 1658131094; bh=YtflXKc4E5p9g1MD+17UhPWHhL4XBSXho7TeuG4AiqQ=; b=I A7UrOf0RTd8nWdpOw5Uf+Yj5HergV17lffI/qHe7tQER6gJntcJgOaxce/n6XNMm GS3KlpaQDpQyGpTS/d2GMdP5o6nWXiO7YtSPQocUo2XESAZ/MtFGU5cC+HndliiX nrPEqlyNfDqiGrqXKhGwdEVFMAL6qd0ikyGtR2Dla1OLVddvoALKVF+qgGPZGCcu iR1Yf72lB5GptIkIuErU+aG0pxul70QsBLyOqPatCSI/PaZmiCN5N55guCuIa4S6 DiPFP2c+aLvu1mp/t0cs+K7IUBn01JWfwK5C9xxUUwrpr7k6TqrDNtDmqCKmYlR+ WkHs8N2O2MZOLFOgG4SJQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1658044694; x= 1658131094; bh=YtflXKc4E5p9g1MD+17UhPWHhL4XBSXho7TeuG4AiqQ=; b=U rm3Gb+iPdmWX/7Scty6cE70BaRMV4NG86H0EjAsL4E8FOVjmkxI29FbvMK86t5zM rQ+Ne63QwptK6wgsY+pLZxSarpXbOjpGJVwarOCgL2rMk7UDi+63YwHMztbNOeYw E5yp7OzzJ6CLLRYX7wxWMBOXL6xixxsEoWG9M/7K9ofl0EefODuXBtHzlyDT4PR1 2CVE6WpjVCPD+WtT516dg2A+m1WlkvNjmi4K+21Mblu2bd6BB+nyI/N4Dazbr6oE J4B1nQ4oUbq0DT54eXdA7SROtbXYoQFDf+Zfn8OBCzAjdHDZATWGToXhzX2pKwW6 oVHmHhaAVMof7fsRMQX5g==
X-ME-Sender: <xms:FsHTYiIldp81cBUAz0bETpGIciXqtOMJ7mUyAVNqmllOlW0WVQh2fQ> <xme:FsHTYqJ3-AllfhObx73dVnRIjdhve_EPPxRXowNHJb8KCnRnVv_HvPpP70Hoqe_f2 UQmmbL6m5Cyb__KiA>
X-ME-Received: <xmr:FsHTYivU_jZ8zhO0zuSEMS5l80NIMH6GgzqlLUXXvsfH05kWXGJ2OhOW2Fh7Ja-Xi6K-TUK1U81oFRrEyoFjfNZOtIlS-U_I1iAgS8DLV0Qac_2sakP8zuzp>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudekhedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegtggfuhfgjffevgffkfhfvofesth hqmhdthhdtvdenucfhrhhomhepofgrrhhkucfpohhtthhinhhghhgrmhcuoehmnhhothes mhhnohhtrdhnvghtqeenucggtffrrghtthgvrhhnpeefvdeujeeukeehueehueevvedvie dvvdelheeuhfelhfdvieeljedugfeuvefgjeenucffohhmrghinhephhhtthhpfihgrdho rhhgpdhivghtfhdrohhrghdpmhhnohhtrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhnohhtsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:FsHTYnZkpoOJ7J3hB8u-vucQlxt60dIvShc4_n8og-qvkQjC8pcVhg> <xmx:FsHTYpaOJrld7rGkb2woSH3Z_aLEkKAlSReWY2CKPn4RY8CQmFptCw> <xmx:FsHTYjAWtIDRHYn1SWOxKsmdshlvCnrVRCIVIeCYfPFLxmeIFjQ-SQ> <xmx:FsHTYoxIPTt2kgIXuPVaJKbQrI6zG6w4tyk2TAm4GeZObz0JRaMPWg>
Feedback-ID: ie6694242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 17 Jul 2022 03:58:13 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <8888D7E2-2482-44B4-8972-5C0E75D8C8B9@mnot.net>
Date: Sun, 17 Jul 2022 17:58:09 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <5D43A031-8862-4D0D-A94A-4BEF54C70ECC@mnot.net>
References: <9979_1657033016_62C45138_9979_197_42_f6e3825994624da7bcbe2ef353e5f718@orange.com> <8888D7E2-2482-44B4-8972-5C0E75D8C8B9@mnot.net>
To: alto@ietf.org
X-Mailer: Apple Mail (2.3696.100.31)
Archived-At: <https://mailarchive.ietf.org/arch/msg/alto/D84S0qLbgtpL0-jf93gNPS3NUJE>
Subject: Re: [alto] HTTP Review (draft-ietf-alto-new-transport)
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Application-Layer Traffic Optimization \(alto\) WG mailing list" <alto.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/alto>, <mailto:alto-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/alto/>
List-Post: <mailto:alto@ietf.org>
List-Help: <mailto:alto-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/alto>, <mailto:alto-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Jul 2022 08:05:49 -0000

I've taken a look at this document. 

My high-level feedback is that in principle it's reasonable use of HTTP, but how it talks about HTTP versioning and a few other details isn't appropriate. I think that a few small editorial updates could improve things, and would be happy to make a pull request if you happen to be using a Github-based process.

What raises concerns for me is referring to this as 'ALTO/h2' and similar things. If you're designing an application that uses HTTP, you need to acknowledge that you can't always control the end-to-end version of the protocol used, and while you can optimise for newer versions of the protocol, you have to be prepared for downgrading to previous ones.

That means that this isn't really "ALTO/h2", it's a new version of ALTO that operates more smoothly under later versions of the protocol. 

DoH threaded this particular needle as well; rather than branding it as "DNS/h2", they merely said " HTTP/2 [RFC7540] is the minimum RECOMMENDED version of HTTP for use with DoH." and then: "Earlier versions of HTTP are capable of conveying the semantic requirements of DoH but may result in very poor performance."

In this spirit, I'd recommend avoiding using the HTTP/2 textual representation for examples; most developers are much more familiar with HTTP/1.1 when consuming examples, and HTTP/2 contains details which aren't relevant for the purpose of conveying an example (we've settled on this approach in the HTTP editorial style, see <https://httpwg.org/admin/editors/style-guide>).
 
Note that I haven't done a full review; these are just the things I saw after a quick look.

Cheers,



> On 11 Jul 2022, at 1:37 pm, Mark Nottingham <mnot@mnot.net> wrote:
> 
> Hi folks,
> 
> I've been asked to forward this request for early review; does anyone want to take a look?
> 
> Feedback to alto@ietf.org.
> 
> Cheers,
> 
> 
>> Begin forwarded message:
>> 
>> From: <mohamed.boucadair@orange.com>
>> Subject: HTTP Review (draft-ietf-alto-new-transport)
>> Date: 6 July 2022 at 12:56:56 am AEST
>> To: Mark Nottingham <mnot@mnot.net>
>> Cc: Qin Wu <bill.wu@huawei.com>, "draft-ietf-alto-new-transport@ietf.org" <draft-ietf-alto-new-transport@ietf.org>
>> 
>> The ALTO WG is currently working on the specification available at:https://datatracker.ietf.org/doc/draft-ietf-alto-new-transport/. The current version focuses on H2 with the intent to cover at least common H2/H3 functionalities.
>>  
>> The WG is seeking for early reviews so that issues/advice are taken into account early in the process.
>>  
>> We are particularly interested in comments about the handling of H3, especially with regards to the guidelines in RFC9250 about HTTP versioning.
>>  
>> Of course, comments related to other considerations in the draft are more than welcome.
>>  
>> Thank you.
> 

--
Mark Nottingham   https://www.mnot.net/