Re: [rtcweb] Amount of streams supported for data channels

Taylor Brandstetter <deadbeef@google.com> Fri, 13 April 2018 04:28 UTC

Return-Path: <deadbeef@google.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 321E0126BF0 for <rtcweb@ietfa.amsl.com>; Thu, 12 Apr 2018 21:28:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level:
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 5gTTfDOwsvG5 for <rtcweb@ietfa.amsl.com>; Thu, 12 Apr 2018 21:28:26 -0700 (PDT)
Received: from mail-ua0-x232.google.com (mail-ua0-x232.google.com [IPv6:2607:f8b0:400c:c08::232]) (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 1E8C2124239 for <rtcweb@ietf.org>; Thu, 12 Apr 2018 21:28:26 -0700 (PDT)
Received: by mail-ua0-x232.google.com with SMTP id q26so4978324uab.0 for <rtcweb@ietf.org>; Thu, 12 Apr 2018 21:28:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JV1PfHlXgS5MYxrzAfgnp/W04MCO1I5itbSbFlGzffM=; b=lqudieR7zG6xeVW5HHsEPQUaTsvTCSEwARzUqGY8xrmYDZsa8bQ7sn2FVY8tJTs8Bu pLLbtMF27FmBEIchCz/py9bdD7aAyl8zeCZy1EAOxbOKGHdcC0oJAbEYjJ86YAtxDBiR P9K4cwDF2e02ILPrGLTEGZQD05ATU2NCdASl7CbqBkckgoV7xliOa78waEYRxo2/TmHp MD6DOkZyfCvdY9mErEhlmkSBB/m+1x8Qe3sVXHwmoXGYZfayvZoaUXAVnGes2363qWqP tNZPHIJrHOBO5BCCYbrEJpSQunvRMY/0cHxd/9I6HNNG88EDJ/jV28h7uEkh8XfIOzJT OQDg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JV1PfHlXgS5MYxrzAfgnp/W04MCO1I5itbSbFlGzffM=; b=L9iTXnngrkyutuEeBwchj0ylIejJFjauz8BgfACZn4tRWO14EQd2ZVN+RWLuttQvzt xa664dG/L30feBgb9YQ9b3h1Dkk04xMx1r6s9b9vvvgSCVf99H4UbhjNp/OLIpSXBfS/ RBAuhuA7vNp3lJDyastPk0T5Mk1wjC8i2G5hyZwxhKjcogBX7Atst8oYiu3U94AASy21 d2SjNGyRHsOMrl56ILvrdVWiweLpsvEkrdcoqAXllRX/c0V+GAGgMVndlpXu9k66rlQz yDWxjBSO08xrCiexsYwlrBO1T5+RxUli0zB2oABXAnXqQ/dgIlDBzTzGkHQBroTrBKvF Aa8Q==
X-Gm-Message-State: ALQs6tAjJRDOLelH+h0fZwJJeE4f8DeeO+i782S/RJ1fL4dHkijbFRNb gqO0+x13sGHq0DxoACzGvofInt7ORhYzzyGRivsLcw==
X-Google-Smtp-Source: AIpwx4/vkQs3fEY2iOzJzeOhXbPNoya64HqkzltNy/b4nW5qYmq8Nt9liKiYXM2zFekpAWv6y/BvTKC19R46tVEFoJ4=
X-Received: by 10.176.28.22 with SMTP id a22mr2707629uaj.146.1523593704835; Thu, 12 Apr 2018 21:28:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.189.19 with HTTP; Thu, 12 Apr 2018 21:28:24 -0700 (PDT)
In-Reply-To: <2302437f-68b9-b68f-ac14-011f4cf4066d@gmail.com>
References: <08aec6ec-62ce-a1e4-7781-06d50f5f66f5@gmail.com> <CAK35n0YekgWUSd8opG3YRaYKf4PVYZp9TAtN1beeQ-JO=kzv8A@mail.gmail.com> <7E12AF68-A247-469D-887E-065FEBD47D66@lurchi.franken.de> <CAK35n0Z491szZ+6R8Z+qMQxd2p6m4TT9_XZrjgYwsQPho2H+Kw@mail.gmail.com> <1683BDE2-6E74-40BD-966B-ED7DFEB58083@lurchi.franken.de> <2302437f-68b9-b68f-ac14-011f4cf4066d@gmail.com>
From: Taylor Brandstetter <deadbeef@google.com>
Date: Thu, 12 Apr 2018 21:28:24 -0700
Message-ID: <CAK35n0Y_e-c=YKc0pFTiD+n_NkKhZXb1MaKscnCbgkWoiYsMxA@mail.gmail.com>
To: Lennart Grahl <lennart.grahl@gmail.com>
Cc: RTCWeb IETF <rtcweb@ietf.org>, Michael Tuexen <michael.tuexen@lurchi.franken.de>
Content-Type: multipart/alternative; boundary="089e0820667c8fa3320569b34da8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/B1jwMPR_7HHe_jxbj9q-l0riwso>
Subject: Re: [rtcweb] Amount of streams supported for data channels
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Apr 2018 04:28:28 -0000

>
> FWIW, I don't believe any browser would count as an implementation with
> limited resources.
>

If so, it could say "browsers MUST attempt to negotiate 65535 streams, but
be prepared for negotiating fewer, e.g. when communicating with a
non-WebRTC endpoint with limited resources"?

Or could just add an explanation for the SHOULD; I don't have strong
opinions about this.

On Thu, Apr 12, 2018 at 4:22 PM, Lennart Grahl <lennart.grahl@gmail.com>
wrote:

> On 11.04.2018 23:24, Michael Tuexen wrote:
> >> On 11. Apr 2018, at 22:29, Taylor Brandstetter <deadbeef@google.com>
> wrote:
> >>
> >> I listened to the recording, and this was the main point being
> discussed, but the conclusion seemed to be "efficient implementations
> shouldn't use much (or any) memory for unused streams; we shouldn't make
> sacrifices in the protocol just to reduce implementation complexity."
> > You can implement it in a way to not use much memory for unused streams.
> However, you need some memory
> > for stream you use. That is why I referred to the number of streams used
> in parallel.
>
> So, implementations with limited resources may still choose to negotiate
> less than that to prevent running into exhausting their resources. That
> makes sense to me, so I would withdraw the request to make it a MUST.
> Could this explanation be added as a comment to the draft, so it's clear
> why it's not a MUST?
>
> FWIW, I don't believe any browser would count as an implementation with
> limited resources. But I get that there are other implementations
> outside of the browser and it may make sense there to limit the amount
> of streams. And since we can interoperate with them, we need to handle
> it some way or another in the W3C WebRTC spec.
>
> Taylor, any objections?
>
> Cheers
> Lennart
>