Re: [Webpush] Subscription Sets - Pull Request
Benjamin Bangert <bbangert@mozilla.com> Fri, 23 October 2015 21:24 UTC
Return-Path: <bbangert@mozilla.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 4FE291B2A04 for <webpush@ietfa.amsl.com>; Fri, 23 Oct 2015 14:24:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 T7mrd_i5q8L7 for <webpush@ietfa.amsl.com>; Fri, 23 Oct 2015 14:24:44 -0700 (PDT)
Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::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 8A20A1B29F8 for <webpush@ietf.org>; Fri, 23 Oct 2015 14:24:41 -0700 (PDT)
Received: by wicll6 with SMTP id ll6so47321911wic.0 for <webpush@ietf.org>; Fri, 23 Oct 2015 14:24:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8xMkUCHc9GnP4v9BV+JrBdmEx0Ws4yikRmhgfKYAJoA=; b=gNIXY3CF+BSstURPoCVCewXBrssObOXqvkdmTfMx+k9nBwAj9Ph+B9Ph8dAh313p6s mPrht9Qpr50A1G8zOupU1bVwjTqNBW8IUGCZoj2CavccbJ3FIiaFmb0PrIZvPo3xER4g o/cQ6zKoDzMzEUiDNRaVCUr08XPmXBqTN++glFGdL2q2sprLfOphIjfkT3mZiyndeCKP OCxoVZxWlwHX44fhMSumqUXYh8cV5ZQGIa/43SXcPKMk0jyCKLPuH0gHBTsBjy9TPxaa AojFBGimzWMK+1c0oEYAYwoKKlw1dGz1hLVz3M41r1qZ3iogzVXR9IqrR5oqv3IFlutw 4C/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=8xMkUCHc9GnP4v9BV+JrBdmEx0Ws4yikRmhgfKYAJoA=; b=fcBe2/7QjWAdwlm7AYX+yNrC8IVsvj0c+WWRd/oDaRiySpb4Aw5/YGgU2/W3W4efY0 xi0azzF8/gU3iVYzgAbZf2RxUp12Fteyrs64IoxwBis3GpVk3Ds/4+JovU3Rlkdg/Jz5 6YESqPXKDa4koXPzTF/tUUH/IN8RIAgjievBbUXt7H3HaWCUwTGUFM17ZdPL+GhnHN3y fmpBWaDmyNRBo4XZW2E1IJLjvgU3tHvU2F/Zpbb1kuGrODOhiVVBlKW3DxH9T3sxDCnU bSo+hgLt/iCMx47fA4lu2dvnJyDqJr6xzHIvFnzmDZx1Gkv6w5EP5UvER+LUF8wJOUrQ ZFYw==
X-Gm-Message-State: ALoCoQkcZVEP49+nU+anr0Y6UtI9ppCnFE3H40rlfw9t4ojY3HlAy3AwU89PxOqaYe3oa+rQD0sU
MIME-Version: 1.0
X-Received: by 10.194.82.193 with SMTP id k1mr6573581wjy.143.1445635480029; Fri, 23 Oct 2015 14:24:40 -0700 (PDT)
Received: by 10.27.155.207 with HTTP; Fri, 23 Oct 2015 14:24:39 -0700 (PDT)
In-Reply-To: <BY2PR0301MB064742BE4C5A797250D3F19983270@BY2PR0301MB0647.namprd03.prod.outlook.com>
References: <BY2PR0301MB064742BE4C5A797250D3F19983270@BY2PR0301MB0647.namprd03.prod.outlook.com>
Date: Fri, 23 Oct 2015 14:24:39 -0700
Message-ID: <CABp8EuKed6xwZ-dySt2jFpv7pxzAZtcMwo4o4AAaGyvuM-yt_Q@mail.gmail.com>
From: Benjamin Bangert <bbangert@mozilla.com>
To: Brian Raymor <Brian.Raymor@microsoft.com>
Content-Type: multipart/alternative; boundary="047d7bb04a62432fa50522cc3d6f"
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/N-AA2njkcqO5oNnJzIQTyPwH9Gw>
Cc: "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: Fri, 23 Oct 2015 21:24:47 -0000
-- copying my comments on the github PR here Why is the receipt URL now included on every PUSH message frame? The client should already know the receipt URL from the original subscription request, no? re: SHOULD for using subscription set URL vs. subscription URL Could this be 'MUST'? Here's my rationale for why. If its should, then I must maintain multiple indexes on every message for a subscription set. One for the subscription URL, and one for the subscription set. At scale, this is extremely expensive. I planned on dumping all notifications to the same subscription set, into a single bucket. If I need to provide access based on the subscription URL separate from the set URL, then I'll need an additional index. As an additional gotcha if its SHOULD, a client may ask for a subscription set and an individual subscription in the set at the same time, which could result in some odd situations where its likely the client will get dupes of messages since the server could dump what it has under both overlapping concerns before any ack's are received. Overall I like how this looks. The PENDING section on how a server might know to attach new subscription requests to an existing subscription set could be resolved by requiring a client upon connecting to immediately request delivery of a notification set before asking for new subscriptions. This way the connection handler can associate the subscription set with the connection, and a server may then associate new subscriptions with the outstanding subscription set request. This could also provide a client with a way to manage 'groups' of subscription sets, since it could assume that the last subscription set it asked for is what new subscriptions on that connection will be attached to. This could be useful for the IoT use-cases where a client might want to have some input on which subscriptions are grouped together. Martin points out that this could also be handled by having a client include a subscription set in the request. I like that approach as well. Cheers, Ben On Thu, Oct 22, 2015 at 2:16 PM, Brian Raymor <Brian.Raymor@microsoft.com> wrote: > > > I’ve started a pull request for subscription sets for discussion at IETF > 94 - https://github.com/webpush-wg/webpush-protocol/pull/53 - I’d > appreciate any early feedback prior to the meeting. The main open issue is > how to correlate two different subscriptions. > > > > The pull request is based on the earlier proposal from IETF 93 - > http://www.ietf.org/mail-archive/web/webpush/current/msg00272.html - and > subsequent related issues - > https://github.com/webpush-wg/webpush-protocol/issues?q=is%3Aopen+is%3Aissue+label%3A%22subscription+sets%22 > > > > > > …Brian > > > > > > _______________________________________________ > Webpush mailing list > Webpush@ietf.org > https://www.ietf.org/mailman/listinfo/webpush > >
- [Webpush] Subscription Sets - Pull Request Brian Raymor
- Re: [Webpush] Subscription Sets - Pull Request Benjamin Bangert
- Re: [Webpush] Subscription Sets - Pull Request Brian Raymor
- Re: [Webpush] Subscription Sets - Pull Request Martin Thomson
- Re: [Webpush] Subscription Sets - Pull Request Benjamin Bangert
- Re: [Webpush] Subscription Sets - Pull Request Martin Thomson
- Re: [Webpush] Subscription Sets - Pull Request Darshak Thakore