Re: [Moq] Proposal for "QUIC on Streams"

Lucas Pardue <lucaspardue.24.7@gmail.com> Mon, 26 February 2024 17:33 UTC

Return-Path: <lucaspardue.24.7@gmail.com>
X-Original-To: moq@ietfa.amsl.com
Delivered-To: moq@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E4262C1516EA for <moq@ietfa.amsl.com>; Mon, 26 Feb 2024 09:33:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.854
X-Spam-Level:
X-Spam-Status: No, score=-6.854 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=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=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19Ud4_iI1YrI for <moq@ietfa.amsl.com>; Mon, 26 Feb 2024 09:33:45 -0800 (PST)
Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 459ABC151539 for <moq@ietf.org>; Mon, 26 Feb 2024 09:33:45 -0800 (PST)
Received: by mail-oi1-x231.google.com with SMTP id 5614622812f47-3c1a2f7e1d2so422718b6e.1 for <moq@ietf.org>; Mon, 26 Feb 2024 09:33:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708968824; x=1709573624; darn=ietf.org; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:user-agent:feedback-id:from:to:cc:subject:date :message-id:reply-to; bh=vQbS8F2agCPsk+qKxCNFR2UyETQAskV73YGXkPUFje0=; b=kv5EuGs58nMptTfIJDs4U5KBV9/vG/nlSWSnlK2YbJMvyiIXRWe11RsO1Uq2JYWgaC RCJhcbGRVzbdYX77xSqekoboTzSVeqoK1/ssgQoutMnTlbLuNDVWpCh3aKq7NgQBQ8ZU sO5H/cgTJb/kcyNDUwI+7FwKKAtmZYJ5OQ/Ew+4DUZjvZyq3wBhXHw7SA3jD5tpQTOre eHAKNZ1r79fMSAP0npSxWfyDvDn2ZPXqbILylTt6QZvuf7bUEgAIzIH0mEBjlvM1qDuz 7MzILS1jravJxB348wTFJPljWECriiJ+S/LpJQC2H9m5tmSd4XOgfYR671lk98Ge1lm1 mNfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708968824; x=1709573624; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:user-agent:feedback-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vQbS8F2agCPsk+qKxCNFR2UyETQAskV73YGXkPUFje0=; b=E/sgjQEqhib1xYRly/7mBAr2LEMQDtCSovWn9XpX9b0y6g4m7OnCUI3wdXDjGLzkjg spATMmQ4xBYXLUXkdmU2+K+okFlEGSBCbySPIiSFIZV5l071//ifqZSjbe26kDUDRLU4 eQorzjPBXscdDIRbbAnvWKgBQ+9ok4PBvxyHRnCnE4tsZbDYApx4/19JokBBLrqmd7hT 6CN+aKstg62L4IuoXaRPSA1xPoZCS8BJrp+p0HnqKfadXpQ2JnL0wnHR/xncMuzgmSTX JccNRZoX477WF1UDCDrd7Hv4JKIEm+JvOnZ4pV5k609JkqGzUm9jmqtsvLajkyISwtim DKFA==
X-Forwarded-Encrypted: i=1; AJvYcCX5CFXtkb2Wx+FLzvtUXOCUUV7EvlyE/HQZ5VIsR+9csmQY3t4OFVgUxOTrMvTaj1Pem6y/oHNANYJenC4=
X-Gm-Message-State: AOJu0YylEuWh7R4LXiY1Jy2TrMATrinsLE0MhAF3Z6EsBlSCgsh1q1LY 1nYuxQLnJ91g6zJwH79b2WkbJ2sHlP94AgiUsbmX09Athj3aW8WV
X-Google-Smtp-Source: AGHT+IFkeIGzHGtXyc8Ed+z0ptWD60UGinlGxS9CcY0kujHTGAbQcQ/CoHt8uHqG4oxzFnpdb9g8zw==
X-Received: by 2002:a05:6808:1a20:b0:3c1:a8d6:56c3 with SMTP id bk32-20020a0568081a2000b003c1a8d656c3mr1574069oib.46.1708968823408; Mon, 26 Feb 2024 09:33:43 -0800 (PST)
Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com. [66.111.4.227]) by smtp.gmail.com with ESMTPSA id kv3-20020a056214534300b0068f2d774000sm3142420qvb.73.2024.02.26.09.33.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 09:33:38 -0800 (PST)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 91C3927C0061; Mon, 26 Feb 2024 12:33:35 -0500 (EST)
Received: from imap53 ([10.202.2.103]) by compute3.internal (MEProxy); Mon, 26 Feb 2024 12:33:35 -0500
X-ME-Sender: <xms:b8vcZWn6CAEy6YRocz0Q6Hw4ZmA1NPTr4yxsZkcMquhF98PhOxGrNA> <xme:b8vcZd0Qj7A5oZS58RWL8DAf8Lg1sgcoCqwHmOpLxIXmb-w8pbLBeEmmeRfM52bpu HnW9JwpOfk5eAuXW90>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgedvgddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsegrtderreerreejnecuhfhrohhmpedfnfhu tggrshcurfgrrhguuhgvfdcuoehluhgtrghsphgrrhguuhgvrddvgedrjeesghhmrghilh drtghomheqnecuggftrfgrthhtvghrnheptedttdeijefffeekueehvddvgeejvefhleej keehveejgedtleetiedvteeghffhnecuffhomhgrihhnpehlfihnrdhnvghtpdhivghtfh drohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehluhgtrghsodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqddugeegtdehge dvkedtqdeftdehieegudehvddqlhhutggrshhprghrughuvgdrvdegrdejpeepghhmrghi lhdrtghomheslhhutggrshhprghrughuvgdrtghomh
X-ME-Proxy: <xmx:b8vcZUoULd9fYDldlBq9v4RBY7meifis9TvtDtCY32gVoQ4iyPRdow> <xmx:b8vcZamLh6s89hHcOtCLQsv8NWLV_SRBPiAnamBxEC9lcFTl_YucSg> <xmx:b8vcZU0RQFoHjitoRzN-gZmdrHLcsA_0Cqmeqm4wqLYOC0JA3iPrmw> <xmx:b8vcZR8D-41Bt_xuRiikNXv4pp5UfJm_F8YVuE8CHOGDXZRyFTUbeA>
Feedback-ID: i2dd14938:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4CE793640071; Mon, 26 Feb 2024 12:33:35 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.11.0-alpha0-153-g7e3bb84806-fm-20240215.007-g7e3bb848
MIME-Version: 1.0
Message-Id: <1d76ca46-6d69-46e6-acd6-b38116033fa3@app.fastmail.com>
In-Reply-To: <E7AE0A81-2CFF-410F-855A-D9C02BE0C2F6@iii.ca>
References: <CA+9kkMC1VbFX-ub4GT+6eMvR0VT=Bmd-05Nt0Z=wbiLKJ_Xu9w@mail.gmail.com> <E7AE0A81-2CFF-410F-855A-D9C02BE0C2F6@iii.ca>
Date: Mon, 26 Feb 2024 17:33:13 +0000
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
To: Cullen Jennings <fluffy@iii.ca>, MOQ Mailing List <moq@ietf.org>
Cc: Kazuho Oku <kazuhooku@gmail.com>
Content-Type: multipart/alternative; boundary="7c06af0b46fa4b088eed01de5b87011d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/moq/IyQaho6jWy7G8JT6Ihwrr129L1s>
Subject: Re: [Moq] Proposal for "QUIC on Streams"
X-BeenThere: moq@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Media over QUIC <moq.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/moq>, <mailto:moq-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/moq/>
List-Post: <mailto:moq@ietf.org>
List-Help: <mailto:moq-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/moq>, <mailto:moq-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Feb 2024 17:33:49 -0000

Hi Ted, Cullen, 

On Mon, Feb 26, 2024, at 17:04, Cullen Jennings wrote:
> 
> There is a push to make QUIC over UDP work all the places where raw UDP was blocked which reduces the need for fallback. QUIC over UDP, by having sessions, solves many of the reasons why people say they block UDP but not TCP. 
> 
> I would rather just focus our energy on making MoQ work over QUIC over UDP. That is the high runner use case. Once we have that sort of done, then I would be in favor of looking at ways to do fallback. 

That seems absolutely logical to me. Let's get one thing done first.

I suspect for MoQ the principal issues with QUIC on Streams will come from the requirements related to "unreliable" delivery, whether that's achieved by stream resets or datagrams. It's not possible, as standard, to reclaim data stuffed into a TCP socket, leading to needing things like TCP_NOTSENT_LOWAT [1].

However, that problem only really exists where there is a bandwidth bottleneck and/or a lossy path. I can imagine scenarios where a closed circuit has a higher quality path and therefore doesn't need these features so much. There, QUIC on Streams offers potential for performance advantage, rather than to be viewed as a fallback, because you defer packetization, loss recovery and congestion control to something else. For instance, if there's a publisher and relay on the same box, a simple pipe would be enough to allow QUIC frames to be exchanged.

Cheers
Lucas

[1] - https://lwn.net/Articles/560082/

> 
> 
>> On Feb 16, 2024, at 2:40 AM, Ted Hardie <ted.ietf@gmail.com> wrote:
>> 
>> Lucas and Kazuho have proposed a mechanism to bring QUIC to any transport that provides the stream mechanics that it needs; see the proposal here:  https://datatracker.ietf.org/doc/html/draft-kazuho-quic-quic-on-streams and the discussion ongoing on the QUIC list.  To simplify a great deal, this runs QUIC on TLS over TCP when UDP is not available. 
>> 
>> It would be interesting for folks building MoQ systems to consider whether this would provide adequate fallback for MoQ when QUIC's current stack is blocked by UDP failures. 
>> 
>> There is a companion draft on running HTTP/3 over QUIC on Streams, https://www.ietf.org/archive/id/draft-kazuho-httpbis-http3-on-streams-00.txt (see also draft-ietf-webtrans-http2).  I don't think this would be required to implement MoQ, but its requirements will probably largely drive the discussion on QUIC on streams.
>> 
>> regards,
>> 
>> Ted
>> -- 
>> Moq mailing list
>> Moq@ietf.org
>> https://www.ietf.org/mailman/listinfo/moq