Re: [AVTCORE] Running multiple quic sessions over the same address/port pair

Roman Shpount <roman@telurix.com> Mon, 28 February 2022 04:36 UTC

Return-Path: <roman@telurix.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B36B53A094B for <avt@ietfa.amsl.com>; Sun, 27 Feb 2022 20:36:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=telurix.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 occ1TmrTb8_s for <avt@ietfa.amsl.com>; Sun, 27 Feb 2022 20:36:29 -0800 (PST)
Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (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 34E583A0938 for <avt@ietf.org>; Sun, 27 Feb 2022 20:36:29 -0800 (PST)
Received: by mail-qv1-xf35.google.com with SMTP id 8so11482601qvf.2 for <avt@ietf.org>; Sun, 27 Feb 2022 20:36:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KAF2H1GjZ0eJ73wxB1G1VdybLIV8Qs7sRsr/RtFzErE=; b=l8RepmzMfww3LfhAuQGELkkS4Lhpc4QCP5UtDYJey1A5jMy6C2ZLyLi0h4XovUVtVz F6ojTIU5sRVOeyD4+toEa7ogIgq1LIXO6Et9gXO9nDY5mTVhhJ1jschaT+rxfGCvElSP ca/ksCN71MyTm6qzCt4ySnPAOFtgM1Oz9U2rA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KAF2H1GjZ0eJ73wxB1G1VdybLIV8Qs7sRsr/RtFzErE=; b=JyER8QWsNQ6Qlb4Xc3VDvrOi9CM7rzSZ2HG+5klqB/o1ej6bUlIgiC8bzmemx9lyNw PPm6/vjFwAwCEi3j0pymCgZvp9yJ+Uc0vFcsSVnOEWekaAIOMP/BTEiqxQLZkrbhrnk8 Xz9RlfFDcLTGumUmJz4n6eGRXY7tTo4qRX24MpTHUKLSu9gzsSvo7pfWQspDq3drN0W4 Wr+npYnnb4nORtRQwJrlXw5BmbVt6apCwsBhNa6II1v/tyNf5KSB4l+Dn0HoI8mvJEao hT/HaUZY3riLsLRQUJqGNyRNF+C3vpiCw3p/yosGf9D/FwQ9AQkZsEMvlu5RCyWEM2J6 CnVg==
X-Gm-Message-State: AOAM532OwmYl/WaS4DbxXbME5maC+m14/cuLaCzEyrDhQ436T15B2Do4 jSblgRVgiNCyFFqTHsyiaNhxOSJMQve2UQ==
X-Google-Smtp-Source: ABdhPJwCorrJrenNYb6KWdmOj5Z0hcEx981MNihnV313IH5aVV3wfPTVc+vhDLVBPT5d1xdK4jDWdA==
X-Received: by 2002:a05:6214:2484:b0:432:a1eb:6f63 with SMTP id gi4-20020a056214248400b00432a1eb6f63mr12376106qvb.104.1646022987264; Sun, 27 Feb 2022 20:36:27 -0800 (PST)
Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by smtp.gmail.com with ESMTPSA id u22-20020a05620a455600b00609a429fd8csm4553743qkp.59.2022.02.27.20.36.26 for <avt@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Feb 2022 20:36:26 -0800 (PST)
Received: by mail-yb1-f177.google.com with SMTP id e140so18070766ybh.9 for <avt@ietf.org>; Sun, 27 Feb 2022 20:36:26 -0800 (PST)
X-Received: by 2002:a25:328e:0:b0:611:4095:18b2 with SMTP id y136-20020a25328e000000b00611409518b2mr16254382yby.528.1646022985930; Sun, 27 Feb 2022 20:36:25 -0800 (PST)
MIME-Version: 1.0
References: <CAD5OKxujOvmuNi793cSKfc8A7BkrwxOPmGaRq0QAwGoYXpH2Qw@mail.gmail.com> <F572CCE5-A754-4992-BE1E-FD599A455DFE@gmail.com> <CAD5OKxs8awPt=7vka9tD9Z-ELZO+pGxi0-U8-d-a8c7LnZDwOg@mail.gmail.com> <CAKKJt-dPvthGZOEeXoCBkeq8nW3TgwqZyFZSOVzGdL-JFEX26Q@mail.gmail.com> <CAOW+2dvEPb2MV7ZnPzgUCa7HyP4b9goyuPRHrcGtEKGxjGjkwA@mail.gmail.com>
In-Reply-To: <CAOW+2dvEPb2MV7ZnPzgUCa7HyP4b9goyuPRHrcGtEKGxjGjkwA@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
Date: Sun, 27 Feb 2022 23:36:14 -0500
X-Gmail-Original-Message-ID: <CAD5OKxtsigxZH+mrqeLhHy39DO6N+GOhzSwmD4hUaUOnes1T6g@mail.gmail.com>
Message-ID: <CAD5OKxtsigxZH+mrqeLhHy39DO6N+GOhzSwmD4hUaUOnes1T6g@mail.gmail.com>
To: Bernard Aboba <bernard.aboba@gmail.com>
Cc: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>, IETF AVTCore WG <avt@ietf.org>, Robin Raymond <robinraymond@microsoft.com>
Content-Type: multipart/alternative; boundary="0000000000005e5b9305d90c9756"
Archived-At: <https://mailarchive.ietf.org/arch/msg/avt/EiSQ4GMKL78nsdTb0dlpmysRvRc>
Subject: Re: [AVTCORE] Running multiple quic sessions over the same address/port pair
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/avt/>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Feb 2022 04:36:34 -0000

I want to be clear about what I am asking: I am asking about multiplexing
multiple QUIC connections as a whole over the same transport (address/port
pairs).

In P2P, it is possible for one party to etsablish a new connection over the
same address/port pairs when the previous connection is still used to send
data. Most commonly, this happens due to races between signaling and media.
_____________
Roman Shpount


On Sun, Feb 27, 2022 at 11:15 PM Bernard Aboba <bernard.aboba@gmail.com>
wrote:

> In P2P there is the potential need to multiplex/demultiplex:
> 1. RTP/RTCP over QUIC datagrams,
> 2. Data over QUIC datagrams, (unreliable/unordered)
> 3. Data over a QUIC reliable stream (reliable/ordered),
> 4. Message per stream (reliable/unordered)
>
> Cases 3/4 could be either data or media (e.g. case 3 could be GoP per
> stream, 4 could be encoded frame per stream).
>
> On Sun, Feb 27, 2022, 7:54 PM Spencer Dawkins at IETF <
> spencerdawkins.ietf@gmail.com> wrote:
>
>> I should add one more point.
>>
>> On Sat, Feb 26, 2022 at 11:37 PM Roman Shpount <roman@telurix.com> wrote:
>>
>>> On Sun, Feb 27, 2022 at 12:18 AM Bernard Aboba <bernard.aboba@gmail.com>
>>> wrote:
>>>
>>>> On Feb 26, 2022, at 20:50, Roman Shpount <roman@telurix.com> wrote:
>>>> [BA] This should be possible. The means will differ depending on
>>>> whether we are talking about P2P QUIC (where you could use Connection-Id)
>>>> or something higher up the stack. Multiplexing as defined in rfc7983bis
>>>> wasn’t implemented in the P2P (g)QUIC Origin trial since the QUIC
>>>> implementation was pre-standard and lacked the capability. So only one
>>>> connection was allowed. At the time the focus was on P2P data not media,
>>>> but in the absence of priority support, it seemed desirable to allow
>>>> distinct data and media connections that might be constructed to use
>>>> different cc algorithms.
>>>>
>>>>
>>> This is very interesting and can be one more reason to use QUICK instead
>>> of DTLS. The problem would be to map a pair of tls-id to a Connection-Id.
>>>
>>
>> (After agreeing with Bernard's points)
>>
>> Within the "Media Over QUIC" conspiracy, we have some folks that are
>> assuming they would use datagrams ("because datagrams"), and other folks
>> assuming they would use streams ("because multiplexing"). One of the things
>> that I'm finding in conversations on that side of the fence is that the
>> choice isn't obvious (even though it's obvious to everyone, it's not the
>> same obvious answer).
>>
>> The QUIC working group started out thinking that they obviously needed
>> some way to multiplex datagrams, but then discovered that there were a lot
>> of (potentially conflicting) reasons to want to multiplex datagrams, so
>> they punted that to the application, in
>> https://www.ietf.org/archive/id/draft-ietf-quic-datagram-10.html#name-multiplexing-datagrams
>> .
>>
>> I wrote about this in more detail, in
>> https://spencerdawkins.github.io/sdp-rtp-quic-questions/draft-dawkins-sdp-rtp-quic-questions.html#name-quic-datagram-multiplexing
>> .
>>
>> (I *really *need to update my sdp-rtp-quic*-questions* draft - I wasn't
>> expecting that, but I'm happy to do it)
>>
>> Best,
>>
>> Spencer
>>
>>
>>> _____________
>>> Roman Shpount
>>>
>>>
>>