Re: [AVTCORE] Reliable Stream Resets: Requesting a Reset at a Specific Offset

David Schinazi <dschinazi.ietf@gmail.com> Tue, 10 October 2023 20:48 UTC

Return-Path: <dschinazi.ietf@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60D08C15171B for <quic@ietfa.amsl.com>; Tue, 10 Oct 2023 13:48:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 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, 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_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 CsVwOU2PhC1F for <quic@ietfa.amsl.com>; Tue, 10 Oct 2023 13:48:41 -0700 (PDT)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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 A7175C14CE52 for <quic@ietf.org>; Tue, 10 Oct 2023 13:48:41 -0700 (PDT)
Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-538e8eca9c1so10636349a12.3 for <quic@ietf.org>; Tue, 10 Oct 2023 13:48:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696970920; x=1697575720; darn=ietf.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=ZzrRzKTjyIKAEKYp56JBX7kYwjUwlek/0lKkPRXIkZw=; b=aaNwspH2u0blwMJzQE25PhzfaJdLbGDa0sLl2SxNDBgbmynkX3vgAY2FWljhb1Nmnz npBLHHAaNWPV3+IhVu8NiBPEIJ2U9+yhTMaAOtsbrjsu2fYWi6WbzDD6wbss/lC2vbvU 9ZUliJwMHOwHnPbUu26T3Q9L1ey6sX2aIUvXi15MGGJo8U3fpJnPQEaXsBUeIt3PbtYN kqrLfzjVEGTgZxdmuykFOBjFg3Z2pkv8czjjdKD3ujrGmD4/eowH16zZqhvGgpSKWgJ+ fc37aiTe2M4kFGgcSbXqyUC8LUDvWdgHxMp/dbLxpcNaGUzPYdgydNOZ22RBEg+nWqwd Y1XA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696970920; x=1697575720; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZzrRzKTjyIKAEKYp56JBX7kYwjUwlek/0lKkPRXIkZw=; b=rsidTF0OIMxkqoDw5ZymbKiCrVTj1WN6jVwbJWmCnuHXZ7JDThKv6LyH0jpWlEZCzj yqLbkDW2PkMXGnvrNpFop6kEo2q76j0nsjDqe6mEurWhROZQBgFfhO1LQpPsSi0NnPKg BFsjtyDAsTWrY0+mAOnowF8MuIGE82rAwqR4CB/7Sc8eQVde4BSpY7oRnuFQVXu1d/Jm oi+qrHhC74v5Hm6FmbUCy3TC18pY1j5zSWZhMeCOVZcNYAtHIBCwD+uzSCy3s0K6zEb1 uK9SNUGg4QhxdFZ4kqCTNEvKxsbzC54MKLhDkWAi5HmzPdblXfchYdWHn5koBanRgDy9 nYug==
X-Gm-Message-State: AOJu0YxTKZLymaXCsgM/SJSZthc+QVAGytpUCDpO8iDEfzFEWd4uStVS 6COp1RRT8fCGP2+yigcb2uArA6UQlzqg1ArvvuLtEBImN9o=
X-Google-Smtp-Source: AGHT+IGNt/zE80U++DHSN5uuN57V1bdiciLa19FuQalasAsb+y2lkS9jjteUMVD7+RwObewwINuV/DLbz4IesZxEc0A=
X-Received: by 2002:a17:906:2111:b0:9a1:af6f:e373 with SMTP id 17-20020a170906211100b009a1af6fe373mr15775376ejt.42.1696970919566; Tue, 10 Oct 2023 13:48:39 -0700 (PDT)
MIME-Version: 1.0
References: <CAOYVs2r9e5YnNW+pNrtB8UF-TFFKp5PvHV1ScfdcY40qAZ0atA@mail.gmail.com> <fe1d8341-d511-8b97-6943-e8a8e2a2f6e0@tum.de>
In-Reply-To: <fe1d8341-d511-8b97-6943-e8a8e2a2f6e0@tum.de>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Tue, 10 Oct 2023 13:48:28 -0700
Message-ID: <CAPDSy+7Rioi=vvx4kD8Ly=-adsqas8rDFdB+tcmMyUmVFsE_5A@mail.gmail.com>
Subject: Re: [AVTCORE] Reliable Stream Resets: Requesting a Reset at a Specific Offset
To: QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000dae2aa060762d4dc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/IjWP8W_VCqB4qogn__NFbriQmws>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Oct 2023 20:48:42 -0000

Speaking as a WebTransport enthusiast, I think that this is scope creep,
and should be avoided. WebTransport has a
dependency on draft-ietf-quic-reliable-stream-reset but has no pressing
need for the ENOUGH frame. Adding it would increase the scope of this
draft, which would delay shipping it, which would in turn delay
WebTransport. Having draft-ietf-quic-reliable-stream-reset
and draft-thomson-quic-enough progress in parallel would avoid this problem
and has no clear downside.

David

On Tue, Oct 10, 2023 at 10:55 AM Mathis Engelbart <mathis.engelbart@tum.de>
wrote:

> We also discussed this at the AVTCORE interim meeting in September. In
> RTP over QUIC, receivers may want to use STOP_SENDING to signal that a
> media frame will arrive too late and will be dropped. RTP over QUIC also
> uses length fields to signal the length of the next RTP packet, so a
> receiver could use an ENOUGH frame to indicate where it wants to stop
> reading. However, the receiver can only signal that it wants to finish
> reading an earlier frame but will drop the later one. I don't think that
> will happen very often because I don't see many reasons to keep reading
> older frames if a newer one is already deemed too late. It may be useful
> if the earlier frame is a dependency of even later frames, but those
> will likely also depend on the dropped frame. Thus, I don't expect it to
> be used much in RTP over QUIC.
>
> On 10/10/23 07:37, Marten Seemann wrote:
> > The Reliable Reset draft introduces a CLOSE_STREAM frame that allows
> > resetting a stream at a specific offset, thereby guaranteeing the
> > reliable delivery of stream data up that offset.
> >
> > At IETF 117, there was some discussion (mainly in AVT) about whether
> > there should be a method for an endpoint to abort reading at a specific
> > offset. This would allow an endpoint to communicate that it's only
> > interested in the first N bytes of the stream, and that it will discard
> > all bytes beyond N. This could be done by introducing a STOP_SENDING
> > frame that carries an extra field to carry the value N.
> >
> > This might be useful if the stream is used to send a sequence of
> > (TLV-encoded) media frames, and the receiver knows the size of the frame
> > before actually receiving the entirety of it, or in cases where the
> > receiver possesses out-of-band knowledge about the frame size.
> >
> > I created a PR to make this proposal more specific:
> > https://github.com/quicwg/reliable-stream-reset/pull/26
> > <https://github.com/quicwg/reliable-stream-reset/pull/26>. This PR is
> > based on Martin Thomson's ENOUGH draft
> > (https://datatracker.ietf.org/doc/draft-thomson-quic-enough/
> > <https://datatracker.ietf.org/doc/draft-thomson-quic-enough/>).
> >
> > Is this mechanism actually useful enough to be included in the draft?
> > Implementing support for this frame seems quite easy, but it would be
> > helpful to learn more about use cases it enables first.
>
> _______________________________________________
> Audio/Video Transport Core Maintenance
> avt@ietf.org
> https://www.ietf.org/mailman/listinfo/avt
>