Re: [Webtransport] Measuring the friction of Http3Transport

Bernard Aboba <bernard.aboba@gmail.com> Tue, 17 November 2020 08:58 UTC

Return-Path: <bernard.aboba@gmail.com>
X-Original-To: webtransport@ietfa.amsl.com
Delivered-To: webtransport@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B9D33A0A20 for <webtransport@ietfa.amsl.com>; Tue, 17 Nov 2020 00:58:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 Srq5_QfQkIgj for <webtransport@ietfa.amsl.com>; Tue, 17 Nov 2020 00:58:36 -0800 (PST)
Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A7E1C3A0A1F for <webtransport@ietf.org>; Tue, 17 Nov 2020 00:58:35 -0800 (PST)
Received: by mail-lf1-x129.google.com with SMTP id j205so29059545lfj.6 for <webtransport@ietf.org>; Tue, 17 Nov 2020 00:58:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jmwxSmpXlXF4IXs6xnRR1rCMY3sM9jXw3owJq2Dd4lU=; b=cRzuBZq3AWh5qHWV/Uumiiq9ftJTCpjJ5EmgQSJWKi3aCRJC7klIDX9ZkpuSANxUKP bMvSQzo5FHEFSmgyQbAnXvjHB92Ii44UzeSJ0Buf7RFV8lKNKbpjhECvN9NtniU3ob0O xsqhFnG2bedfGywln9cpvoJNOfofcPKopvGu8/3hF2zJXowkr6kxTby78Am7cqGd8e3T KAyHt0S1idRaB1GAxZvfzeLrtT/udsJPh1vqrTijfBymB1jPddLnc8H9VBXfbHecnrsq U3dD6EoNmyBedpFXAKkwjnssu/MluFSPd0NFw4cAL3COxg4MzGT1BhCHjDHrlSlqzIa0 nGnQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jmwxSmpXlXF4IXs6xnRR1rCMY3sM9jXw3owJq2Dd4lU=; b=IcN3dVcOvDrz1UkfVMzMdwp7QWzk8T3B3PPZuh8GtIU5njPXApwKSyOFBQ8g1qprdb qqDJCN8wMHtD7nLd+NwfLvyVSXqak6mz9syVtmQhIuoyXS7dBQQcDXA31ZoMKdiszMos nOIxglO+Jkp5HsFfiYqjF81DNGIDi655pXr0jhvZ208P7qCOGJR5JbyrE7+qesfwxX6R 2hqffl8CsqLBZO6aR2HqBCK5qwJzIe3bxjpTydm5wTCN5I4IVPq8vm+SCPYMCDIjbWl8 /eVIvhnZInsla+wuTlwkT17IXau0kgxaDx46Y1TfGjYAiS8Li0GbwAT6Hhlvl04J7svh W5CA==
X-Gm-Message-State: AOAM531PVgbpKZ83zp6kRVHS762CxPQBG+pytsSnZYS3YXLS3xRkz440 qpUvdmIGwlz0l+qqySZl9uQ73Fvey5z01dVcaF4=
X-Google-Smtp-Source: ABdhPJwd4zYC0hT99UNYpPo4+MhJvASEf5sOUytNE/GGQeyefC/ekQHYYdW685vMW8envJtGEnuSaUAUZju1/L7ldM4=
X-Received: by 2002:a19:88c:: with SMTP id 134mr1240371lfi.560.1605603513723; Tue, 17 Nov 2020 00:58:33 -0800 (PST)
MIME-Version: 1.0
References: <CALGR9oZo3rPeSund3Te6NgEhfBq5yCYmvdFFtTZqkoZ_Js9AMw@mail.gmail.com> <CAHVo=Zk-1J55MMqRPGFc86k3ncHq9rdw1Qty_CtE4-ezi=C54A@mail.gmail.com> <CALGR9ob-0DNqnJA4OHQinATuzCn+mN8K7dfGHK+FQia99GGDsQ@mail.gmail.com> <CAHVo=ZnC0o8XGT-jJ6U6oMEd9AJyx00o1wu7HfG5RZTLhdn=2g@mail.gmail.com> <CAPDSy+4NRvMYUeS2qSkuDCHWic=MkrJFL8_e252z=8KvQ+C5Gw@mail.gmail.com> <CAOW+2dsd72duTsHUcimYddi_JFOWQ0k9b5E7JWDeX_AOy5Uw5A@mail.gmail.com> <CAPDSy+7-enTafBePpjLKdq-j6WVo3=bC1EXOZ1s-c4verraRFQ@mail.gmail.com> <CAOW+2dsVSTcvYsKB7XB7GJy6eo4sTr70LJcKWtoQ1KLhVKpmOA@mail.gmail.com> <CAKcm_gPUfBUVz8Kh-jbHeUDCOAfF6FsjLHYsF6aZDgbCkMUw8Q@mail.gmail.com>
In-Reply-To: <CAKcm_gPUfBUVz8Kh-jbHeUDCOAfF6FsjLHYsF6aZDgbCkMUw8Q@mail.gmail.com>
From: Bernard Aboba <bernard.aboba@gmail.com>
Date: Tue, 17 Nov 2020 00:58:23 -0800
Message-ID: <CAOW+2dvNCGVXHT0WsR2pqKPXVboUhNx3CL9Q6d8mCfUw=7StCA@mail.gmail.com>
To: Ian Swett <ianswett@google.com>
Cc: David Schinazi <dschinazi.ietf@gmail.com>, WebTransport <webtransport@ietf.org>, Luke Curley <kixelated@gmail.com>, Lucas Pardue <lucaspardue.24.7@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000015ee6805b449b37c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/webtransport/dVEnLNBIton5cfHSa9eGropqBic>
Subject: Re: [Webtransport] Measuring the friction of Http3Transport
X-BeenThere: webtransport@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <webtransport.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webtransport>, <mailto:webtransport-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webtransport/>
List-Post: <mailto:webtransport@ietf.org>
List-Help: <mailto:webtransport-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webtransport>, <mailto:webtransport-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Nov 2020 08:58:39 -0000

Ian said:

"If people are intending to rely on pooling so an HTTP(hopefully H3)
request can trigger a WebTransport response, I think we're in a world of
pain and over-optimization. This is more obvious in light of the fact that
a WebTransport endpoint is likely not a generic CDN endpoint, as has been
clearly stated by Mark Nottingham.

Bernard's comments above point to a tighter coupling between HTTP/3 and
WebTransport than I think is practical in production, unless I
misunderstood(which I may have, it's been a long day)."

[BA] The developers I have talked to (about the "event streaming" use
case) have exactly this concern - that a tight coupling between HTTP/3 and
Http3Transport would be potentially brittle and non-interoperable.
QuicTransport offers the same potential benefits (avoidance of HoL
blocking, ability to mix reliable request/response with datagrams), but
because it is simpler there are a wider range of tools available and
interop risks seem lower. Only perceived downside is the amount of cloud
infrastructure (e.g. load balancing, caching, etc.) they would need to
build themselves.

"As I said at the mic, I don't see any reason YouTube would deploy a TCP
based WebTransport given it will have to maintain an HTTP/1.1 option for
basically forever and they've spent a good bit of effort to make sure that
works as well as it can."

[BA] I have heard similar things with respect to "fallback" from
developers. From their perspective, it is ideally something very solid and
widely deployed, not itself a new(er) technology.  Depending on the use
case, the "fallback" was often the technology that they were already using,
which they hoped that QuicTransport could eventually replace.  But
since the fallback technology was the current incumbent, there was little
interest in introducing a new fallback technology (HTTP/2) and a new
incumbent (QuicTransport) at the same time. That was considered to be
unnecessary risk.

On Mon, Nov 16, 2020 at 4:45 PM Ian Swett <ianswett@google.com> wrote:

> I'm *very* concerned about any functionality that *requires* pooling.
> Pooling is a client-specific optimization and pooling policy is subject to
> change(within reason) at any time.  If applications are saying "it'd be
> cool if we could share congestion control and loss recovery state between
> H3 and WebTransport most of the time", then I can see there being
> real(albeit small) benefits, just like there would be for putting
> DataChannels and RTP into one QUIC connection for WebRTC.  If people are
> intending to rely on pooling so an HTTP(hopefully H3) request can trigger a
> WebTransport response, I think we're in a world of pain and
> over-optimization.
>
> This is more obvious in light of the fact that a WebTransport endpoint is
> likely not a generic CDN endpoint, as has been clearly stated by Mark
> Nottingham.
>
> Bernard's comments above point to a tighter coupling between HTTP/3 and
> WebTransport than I think is practical in production, unless I
> misunderstood(which I may have, it's been a long day).
>
> All of this makes me think we should punt the HTTP based WebTransport
> options down the road a year or so and focus on QuicTransport initially.
> It's not to say we won't do them, but they're clearly more complex
> than QuicTransport and it'd be good to have real deployment experience
> prior to starting so we know what the requirements are and where the
> dragons are lurking.  Also, the W3C should design APIs that make it easy to
> detect failure to establish a QUIC-based WebTransport, and this ensures
> those are well exercised.  Maybe we DO require pooling under certain
> conditions and describe those, but there are likely privacy concerns under
> some circumstances and I'm not enough of an expert to know what would be
> acceptable to all clients.
>
> Some people in the WG may think we have to release a TCP based
> WebTransport at the same time as a QUIC based one, but I don't think that's
> true and even if we standardized them at the same time, it doesn't mean
> both will achieve wide deployment at the same time.  As I said at the mic,
> I don't see any reason YouTube would deploy a TCP based WebTransport given
> it will have to maintain an HTTP/1.1 option for basically forever and
> they've spent a good bit of effort to make sure that works as well as it
> can.  It's clear to me there are compelling use cases right now for
> QuicTransport, but the driving use cases for the fallback are not clear to
> me.  Consistency is intellectually appealing, but doesn't drive deployments.
>
> Ian
>
> On Mon, Nov 16, 2020 at 6:36 PM Bernard Aboba <bernard.aboba@gmail.com>
> wrote:
>
>> David said:
>>
>> "Where does this come from? A lot of QUIC servers are implementing QUIC
>> datagrams, and once you have those the delta with h3 datagrams is
>> negligible. Additionally, multiple h3 server implementers have indicated
>> they want to support WebTransport. It's starting to feel like the pushback
>> on HTTP3Transport is purely based on a perception of complexity from folks
>> who haven't tried to implement it? If that's the case, then we should get
>> some implementation experience to confirm or debunk that theory."
>>
>> [BA] The pooling use cases often involve an interaction between an HTTP/3
>> request/response and WebTransport.  so the HTTP/3 Request doesn't just
>> elicit an HTTP/3 Response.  It also causes something else to happen,
>> something that isn't specified in the HTTP/3 protocol, such as eliciting a
>> datagram flow or bi/unidirectional stream from the server.  This is what is
>> contemplated in several of the "Live Event" use cases, where the HTTP/3
>> Request/Response would be requesting the desired Event. The major advantage
>> over HLS is avoiding Head-of-Line blocking, reducing video freezes and
>> stalls.  So developers understand the value that support for datagrams and
>> server-initiated streams can provide - the question is whether they'll have
>> all the interoperable pieces in place to deploy it.
>>
>> Just because a generic HTTP/3 server supports QUIC and WebTransport,
>> doesn't mean that it will support these use cases.  I've been asked whether
>> better interoperability and wider ecosystem support could be achieved by
>> extending HTTP/3 in a way more in keeping with the existing protocol design
>> - such as by allowing an HTTP/3 Request to specify a resource to be
>> returned in a flow of datagrams.
>>
>> The situation might be more tenable if the node.js framework had HTTP/3
>> and QUIC modules on the horizon.
>>
>> On Mon, Nov 16, 2020 at 1:00 PM David Schinazi <dschinazi.ietf@gmail.com>
>> wrote:
>>
>>>
>>>
>>> On Mon, Nov 16, 2020 at 12:40 PM Bernard Aboba <bernard.aboba@gmail.com>
>>> wrote:
>>>
>>>> Luke said:
>>>>
>>>> "My primary concern is that Http3Transport requires non-generic
>>>> modifications to the HTTP/3 layer mostly to support connection pooling. I'm
>>>> worried that this will limit support for Http3Transport and complicates any
>>>> HTTP/3 implementation that does support it."
>>>>
>>>> [BA] I have also heard this concern from developers. The concerns
>>>> primarily arise from the pooling of HTTP/3 Request/Responses with
>>>> WebTransport. This does enable some interesting use cases, such as a
>>>> Request/Response (e.g. gRPC) that can result in a server sending datagrams
>>>> or initiating bi-directional or uni-directional streams.  So there is
>>>> perceived value, but the question is whether that value will be widely
>>>> supported across the HTTP/3 ecosystem.
>>>>
>>>> At this point, most generic HTTP/3 servers are not expected to support
>>>> HTTP/3 datagrams (not part of the HTTP/3 protocol) or Http3Transport
>>>> (perceived as a niche protocol), so that pooling would only be possible
>>>> when using a framework.  node.js will not have QUIC support for 12-18
>>>> months (held up by OpenSSL) so even framework support is expected to be
>>>> limited.
>>>>
>>>
>>> Where does this come from? A lot of QUIC servers are implementing QUIC
>>> datagrams, and once you have those the delta with h3 datagrams is
>>> negligible. Additionally, multiple h3 server implementers have indicated
>>> they want to support WebTransport. It's starting to feel like the pushback
>>> on HTTP3Transport is purely based on a perception of complexity from folks
>>> who haven't tried to implement it? If that's the case, then we should get
>>> some implementation experience to confirm or debunk that theory.
>>>
>>>
>>>> On Mon, Nov 16, 2020 at 11:37 AM David Schinazi <
>>>> dschinazi.ietf@gmail.com> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Mon, Nov 16, 2020 at 11:34 AM Luke Curley <kixelated@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> We're on the same page that there's code in HTTP/3 that could be
>>>>>> leveraged for QuicTransport in the form of the header parsing. I think
>>>>>> there's a path to merge QuicTransport and Http3Transport by leveraging
>>>>>> HTTP/3 for the handshake and QUIC for stream delivery.
>>>>>>
>>>>>> My primary concern is that Http3Transport requires non-generic
>>>>>> modifications to the HTTP/3 layer mostly to support connection pooling. I'm
>>>>>> worried that this will limit support for Http3Transport and complicates any
>>>>>> HTTP/3 implementation that does support it.
>>>>>>
>>>>>
>>>>> Hi Luke,
>>>>>
>>>>> I'm curious, could you elaborate on what these "non-generic
>>>>> modifications to the HTTP/3 layer" are please?
>>>>>
>>>>> Thanks,
>>>>> David
>>>>>
>>>>>
>>>>>> On Mon, Nov 16, 2020 at 4:49 AM Lucas Pardue <
>>>>>> lucaspardue.24.7@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Luke,
>>>>>>>
>>>>>>> On Mon, 16 Nov 2020, 12:26 Luke Curley, <kixelated@gmail.com> wrote:
>>>>>>>
>>>>>>>> Just to clarify, when I say "QuicTransport is simpler" I really
>>>>>>>> mean "QuicTransport has greater interoperability". You can take any QUIC
>>>>>>>> implementation (+ datagram extension) and add a thin layer to support
>>>>>>>> QuicTransport. It's a nice layering of protocols and it's something that I
>>>>>>>> want to see in general as QUIC replaces TCP.
>>>>>>>>
>>>>>>>
>>>>>>> Thanks for the clarification. I appreciate the sentiment. But given
>>>>>>> the development of QUIC its kind of surprising that people would find it
>>>>>>> easier to identify an implementation that supports QUIC and datagram but
>>>>>>> does not support HTTP/3.
>>>>>>>
>>>>>>> Thr situation for a more clean-room implementation is different, I
>>>>>>> agree. However, by the time you've done all the hard stuff with QUIC, a
>>>>>>> very focused HTTP/3 layer ends up quite thin too. You can ignore dynamic
>>>>>>> compression, server push and extensibility points.
>>>>>>>
>>>>>>> I also see the current design being the thin end of the wedge. The
>>>>>>> proposal I linked talks about HTTP-like header parsing. So its "just" a
>>>>>>> thin layer to do some parsing. Then folks will probably want some want to
>>>>>>> tweak parameter, acontrol channel, a way to do graceful close, a sprinkle
>>>>>>> of GREASE. To extrapolate forward, what would be the delta be between some
>>>>>>> final product QuicTransport and HTTP/3. Too small a delta and we've wasted
>>>>>>> years of effort.
>>>>>>>
>>>>>>> Cheers
>>>>>>> Lucas
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> On Mon, Nov 16, 2020 at 3:16 AM Lucas Pardue <
>>>>>>>> lucaspardue.24.7@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi folks,
>>>>>>>>>
>>>>>>>>> To follow up on one thread of discussion during IETF 109. To over
>>>>>>>>> simplify what we've heard a few folks say, they prefer QuicTransport
>>>>>>>>> because it simpler and they don't need pooling.
>>>>>>>>>
>>>>>>>>> I'd like to push more on this, what is the measurable complexity
>>>>>>>>> of HTTP/3 over QUIC plus a new application mapping that needs to be
>>>>>>>>> defined? Let's isolate pooling as a variable and ignore it.
>>>>>>>>>
>>>>>>>>> Victor mentioned his proposal for a unified header semantic across
>>>>>>>>> all transports, this is
>>>>>>>>> https://github.com/ietf-wg-webtrans/draft-ietf-webtrans-overview/pull/4/files.
>>>>>>>>> Taking a closer look at it, I have some concerns that I added as comments.
>>>>>>>>> HTTP has semantics for a reason. If QuicTransport is going to start
>>>>>>>>> borrowing HTTP piecemeal, I really wonder how simple people might feel it
>>>>>>>>> is. I think it's important to avoid something that looks like HTTP but
>>>>>>>>> behaves differently. Is it really much of a stretch to just do HTTP/3 but
>>>>>>>>> give it a different ALPN so that we avoid problems related to
>>>>>>>>> cross-protocol pooling?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> Lucas
>>>>>>>>> --
>>>>>>>>> Webtransport mailing list
>>>>>>>>> Webtransport@ietf.org
>>>>>>>>> https://www.ietf.org/mailman/listinfo/webtransport
>>>>>>>>>
>>>>>>>> --
>>>>>> Webtransport mailing list
>>>>>> Webtransport@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/webtransport
>>>>>>
>>>>> --
>>>>> Webtransport mailing list
>>>>> Webtransport@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/webtransport
>>>>>
>>>> --
>> Webtransport mailing list
>> Webtransport@ietf.org
>> https://www.ietf.org/mailman/listinfo/webtransport
>>
>