HTTP Alternative Services Best Practices?

Lucas Pardue <lucaspardue.24.7@gmail.com> Mon, 16 December 2019 12:05 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 6929612081D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Dec 2019 04:05:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.75
X-Spam-Level:
X-Spam-Status: No, score=-2.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 jhgBz_L_h-kB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Dec 2019 04:04:58 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (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 75DFD120086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Dec 2019 04:04:58 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1igp4i-00059Y-Hs for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Dec 2019 12:02:08 +0000
Resent-Date: Mon, 16 Dec 2019 12:02:08 +0000
Resent-Message-Id: <E1igp4i-00059Y-Hs@frink.w3.org>
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <lucaspardue.24.7@gmail.com>) id 1igp4f-00058J-9S for ietf-http-wg@listhub.w3.org; Mon, 16 Dec 2019 12:02:05 +0000
Received: from mail-vs1-xe2b.google.com ([2607:f8b0:4864:20::e2b]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <lucaspardue.24.7@gmail.com>) id 1igp4d-0002gD-Go for ietf-http-wg@w3.org; Mon, 16 Dec 2019 12:02:05 +0000
Received: by mail-vs1-xe2b.google.com with SMTP id x4so3903033vsx.10 for <ietf-http-wg@w3.org>; Mon, 16 Dec 2019 04:02:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=5SOdg7fzdyxu3qgHOZfcl93o+xF1muY4XfSIQ9E9Eg0=; b=WdK4TlxcoA/HAnTdfyZVyxQDkI0dFyim4nzoVaD2TZP8pRgwGyUoqRSnZ/hGn8qJJm Y7+MUNDwkP1DUAoWi0F/qAgqrq6M6Tb/ITqAmxwL08ATCavPwgluZEVB4zXZlDbKkJI7 XgCFIS2Urt5bdaEFaEEcpoeMsR1tZSY6z8UiCme0zwULvBU0vqQzEkeDLb30JP4XN04k YLnITZ9Q2hHuKlUcWSkHwzFieqnwmvKQiqEM70zQvbA82dAa+SmBf0nNbslQF8bxKLMa J8erOHAR4PpIhWetN0xKfHKHIToxa+cSDzJ4nsC/WkStp8rdJqsYmQLNYUVXDFf2Cx42 82jQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5SOdg7fzdyxu3qgHOZfcl93o+xF1muY4XfSIQ9E9Eg0=; b=TGUZi24YIejWJ5tXnQ3l2dQhvn/capSOzAeBHUjYtiaPyzEmHCsuvP98axzeBdL8GS B4vWb0MjaIxKhsTN9siXOBnAVvIyeUJwhjzYIeNtTV89ITQwxXdRhtKHkocCuXhP0WDz PPzX4c6FJoyAlo6cFHocQDtdTqxhi4CyMcvLrXFzcoKWO4ODwhF26SM3LVgMvf9jlqGd nWXx0CefpEJWcY+OTGkg5owewTJD4syAH+wXkIh+ZEqkjdLHWJvkLh6NBdXohhyCwkLh ZOFFAwR6iLizkEWFCiTvSrhWGVbrj2n2PyqiHg0vJtg32sHJxqz4HKmMv3GGAbE+6jbs jOEg==
X-Gm-Message-State: APjAAAWQYp690hkLeZF7oDBai1Q/t9o+hPBVtiOFRyHrT3ElT3n7AkzL IT9ZqR+ddQzbARQAF4dNeKOckWBH9fVdW7DF/vCUTNNk
X-Google-Smtp-Source: APXvYqzOl1f64USA6QWCpzvVksPKT0dTmC5p7gi5GG3WGlMSqLXRkAmkjyoeQeXTI1HTdxfVKNR/aohFlRoNUhCv9tk=
X-Received: by 2002:a67:f8cf:: with SMTP id c15mr19810415vsp.27.1576497722237; Mon, 16 Dec 2019 04:02:02 -0800 (PST)
MIME-Version: 1.0
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Mon, 16 Dec 2019 12:01:51 +0000
Message-ID: <CALGR9oaCNigDAZP=ue-sORxCJFzkVynhaJszjjY_ohN56ewy8g@mail.gmail.com>
To: QUIC WG <quic@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000b92b010599d0faa1"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e2b; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-vs1-xe2b.google.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1igp4d-0002gD-Go 838d3d099591d7ca8cfe491138314547
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP Alternative Services Best Practices?
Archived-At: <https://www.w3.org/mid/CALGR9oaCNigDAZP=ue-sORxCJFzkVynhaJszjjY_ohN56ewy8g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37220
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hello QUIC and HTTP members,

HTTP Alternative Services (Alt-Svc) is specified in RFC 7838 which was
published in 2016 [1]. Many of us are starting to use Alt-Svc and I wonder
if its appearance of simplicity might cause some unintended effects on the
Internet. In the 3 or so years since it was published, have any best
practices emerged that might be useful to capture.

Major uses of Alt-Svc today in no particular order: switching to gQUIC
(typically on the same port), switching to HTTP/3, Opportunistic Encryption
(RFC 8164) [2], Opportunistic Onion (advertising .onion [3]), and traffic
management by advertising alternatives with different destination IPs or
network path characteristics.

Arguably, HTTP/3 will be the largest-scale deployed use case of Alt-Svc
both in terms of advertisements and clients that take them up. Alt-Svc for
this can be deceptively simple, which may lead to unexpected outcomes. For
example, the minimal expression:

Alt-Svc: h3-24=":443"

invokes default values for parameters, "ma" is fresh for 24 hours and
"persist" is false (i.e. clear alternative cache on network changes). One
could imagine how this could cause bursts of activity at regular periods,
or cascades due to end-user local conditions such as flocking or hopping.

Finally, the proposal for an HTTPSVC DNS record [4] might attract a
different population of operator that is less familiar with the expected
behaviour of Alt-Svc implementations.

Does anyone think it would be useful to share or document some guidance?

Cheers
Lucas

[1] https://tools.ietf.org/html/rfc7838
[2] https://tools.ietf.org/html/rfc8164
[3] https://tools.ietf.org/html/rfc7686
[4] https://tools.ietf.org/html/draft-ietf-dnsop-svcb-httpssvc-01