Re: [Webpush] Subscription Sets - Pull Request

Darshak Thakore <d.thakore@cablelabs.com> Wed, 28 October 2015 02:30 UTC

Return-Path: <d.thakore@cablelabs.com>
X-Original-To: webpush@ietfa.amsl.com
Delivered-To: webpush@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 53CDA1B413D for <webpush@ietfa.amsl.com>; Tue, 27 Oct 2015 19:30:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.226
X-Spam-Level:
X-Spam-Status: No, score=0.226 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_MODEMCABLE=0.768, HOST_EQ_MODEMCABLE=1.368, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 iDoT4-bdeL6P for <webpush@ietfa.amsl.com>; Tue, 27 Oct 2015 19:30:20 -0700 (PDT)
Received: from ondar.cablelabs.com (ondar.cablelabs.com [192.160.73.61]) by ietfa.amsl.com (Postfix) with ESMTP id 2E00B1B4139 for <webpush@ietf.org>; Tue, 27 Oct 2015 19:30:19 -0700 (PDT)
Received: from kyzyl.cablelabs.com (kyzyl [10.253.0.7]) by ondar.cablelabs.com (8.14.7/8.14.7) with ESMTP id t9S2UHZx001590; Tue, 27 Oct 2015 20:30:17 -0600
Received: from exchange.cablelabs.com (10.5.0.19) by kyzyl.cablelabs.com (F-Secure/fsigk_smtp/407/kyzyl.cablelabs.com); Tue, 27 Oct 2015 20:30:17 -0600 (MDT)
X-Virus-Status: clean(F-Secure/fsigk_smtp/407/kyzyl.cablelabs.com)
Received: from EXCHANGE.cablelabs.com ([::1]) by EXCHANGE.cablelabs.com ([::1]) with mapi id 14.03.0224.002; Tue, 27 Oct 2015 20:30:15 -0600
From: Darshak Thakore <d.thakore@cablelabs.com>
To: Martin Thomson <martin.thomson@gmail.com>, Benjamin Bangert <bbangert@mozilla.com>
Thread-Topic: [Webpush] Subscription Sets - Pull Request
Thread-Index: AdENDOKqfSNDm5A+RAKdgWgblmEh8QA/qEyAAAHArAAAABM5gAADPdkAAAc/V4AAuvBsAA==
Date: Wed, 28 Oct 2015 02:30:14 +0000
Message-ID: <D2558EEC.4D17%d.thakore@cablelabs.com>
References: <BY2PR0301MB064742BE4C5A797250D3F19983270@BY2PR0301MB0647.namprd03.prod.outlook.com> <CABp8EuKed6xwZ-dySt2jFpv7pxzAZtcMwo4o4AAaGyvuM-yt_Q@mail.gmail.com> <BY2PR0301MB0647D49D1B6CBE630419022A83260@BY2PR0301MB0647.namprd03.prod.outlook.com> <CABkgnnUnBbJ_jNiWn6m2YFDvkVSz4Z6FiNsEqbetjm2-uRAYkw@mail.gmail.com> <CABp8EuKWU9h7Z414dUg5XNs9YtBjB6gHoxB2Bf6PJA2sgYEAVA@mail.gmail.com> <CABkgnnVMfer-1oo78UNxWjq7aeFg=674qS19Gh4+8T+LCq-OQg@mail.gmail.com>
In-Reply-To: <CABkgnnVMfer-1oo78UNxWjq7aeFg=674qS19Gh4+8T+LCq-OQg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.5.7.151005
x-originating-ip: [10.5.0.27]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <0EF6EEB8AE38C84EBCD8ABD6212B0622@cablelabs.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/phH-UedXW-pXOIIm3yotl6jisYo>
Cc: Brian Raymor <Brian.Raymor@microsoft.com>, "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] Subscription Sets - Pull Request
X-BeenThere: webpush@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of potential IETF work on a web push protocol <webpush.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webpush>, <mailto:webpush-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webpush/>
List-Post: <mailto:webpush@ietf.org>
List-Help: <mailto:webpush-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webpush>, <mailto:webpush-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2015 02:30:21 -0000

I like the idea of keeping it as a strong recommendation instead of
mandating. 
There might be legitimate use cases (in IoT) where the client may want
multiple subscription sets.

Darshak

On 10/23/15, 9:17 PM, "Webpush on behalf of Martin Thomson"
<webpush-bounces@ietf.org on behalf of martin.thomson@gmail.com> wrote:

>That's true, if the server is using limited concurrency, then the
>client will suffer for forgetting.  I think that the answer here is as
>we already have: a very strong recommendation to do what is necessary
>to reuse subscription sets.
>
>On 23 October 2015 at 16:49, Benjamin Bangert <bbangert@mozilla.com>
>wrote:
>> If the client fails to include it, then the server will make a new
>> subscription set. It's the clients problem that the simultaneous stream
>> limit is going to restrict it to listening to a single subscription set
>>at a
>> time if it wants a free command channel.
>>
>> On Fri, Oct 23, 2015 at 3:16 PM, Martin Thomson
>><martin.thomson@gmail.com>
>> wrote:
>>>
>>> On 23 October 2015 at 15:14, Brian Raymor <Brian.Raymor@microsoft.com>
>>> wrote:
>>> > We initially considered this approach in Prague, but discovered that
>>> > it's fragile. For example, what happens if the client does not
>>>include the
>>> > required subscription set link?
>>>
>>> I don't think that's fragility, that's a feature.  If the server
>>> thinks that a user agent is acting badly and not including these
>>> links, it can (and should) limit the number of subscriptions it is
>>> willing to create on a given connection.
>>
>>
>
>_______________________________________________
>Webpush mailing list
>Webpush@ietf.org
>https://www.ietf.org/mailman/listinfo/webpush