Re: [Webpush] Use Case related to subscription sets

Brian Raymor <Brian.Raymor@microsoft.com> Sat, 09 January 2016 01:05 UTC

Return-Path: <Brian.Raymor@microsoft.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 3B9D01B2D1B for <webpush@ietfa.amsl.com>; Fri, 8 Jan 2016 17:05:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.492
X-Spam-Level:
X-Spam-Status: No, score=-1.492 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_DKIM_INVALID=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 2RhCwo886beE for <webpush@ietfa.amsl.com>; Fri, 8 Jan 2016 17:05:48 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0122.outbound.protection.outlook.com [65.55.169.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 36D281B2D1A for <webpush@ietf.org>; Fri, 8 Jan 2016 17:05:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+093fRNqJ9VEHV0q3XxkkJplMkwOYHaLX70GlRlqmTw=; b=eq/XVCNEmo/zJ6QpgolGYxmHLgyw0d2fH8HGMGmcbUGVsGFQN/IaRFFBINuLdL4yUm4yKYdnTjRZLR0ofCkZgq5p6xuZP0GHY6OzysYC+QmcnfJo125gX2jg1AjPkld+CnMHOisS4uD/lFGAHnRfjxf1m74XmmrGavGfzlbJA+M=
Received: from BY2PR0301MB0647.namprd03.prod.outlook.com (10.160.63.14) by BY2PR0301MB0647.namprd03.prod.outlook.com (10.160.63.14) with Microsoft SMTP Server (TLS) id 15.1.365.19; Sat, 9 Jan 2016 01:05:45 +0000
Received: from BY2PR0301MB0647.namprd03.prod.outlook.com ([10.160.63.14]) by BY2PR0301MB0647.namprd03.prod.outlook.com ([10.160.63.14]) with mapi id 15.01.0365.022; Sat, 9 Jan 2016 01:05:44 +0000
From: Brian Raymor <Brian.Raymor@microsoft.com>
To: Hervé Ruellan <herve.ruellan@crf.canon.fr>, Martin Thomson <martin.thomson@gmail.com>
Thread-Topic: [Webpush] Use Case related to subscription sets
Thread-Index: AQHRIeqmRM5eVbt/pk6X9PcfmrGbf56iF+eAgAKj+YCAAGUkgIAADnDwgAQ3KYCAAH8PgIAADLUAgAAosSCAACwKgIABPwUAgEcmOKA=
Date: Sat, 09 Jan 2016 01:05:44 +0000
Message-ID: <BY2PR0301MB0647DF16F9FC3B177F8F4CB283F70@BY2PR0301MB0647.namprd03.prod.outlook.com>
References: <564C50B7.7070505@crf.canon.fr> <CABp8EuLXNQWmc0mnt-m_vBQhPuhhef5GDgbrZdyM8TKUZv+GxQ@mail.gmail.com> <564EF895.4020200@crf.canon.fr> <CABp8Eu+OsXiEAsxOQpV_O-bF2o21upbJ14x8bCO=Y9TfgXOw2A@mail.gmail.com> <BY2PR0301MB06474FB76B480F37957A531A831A0@BY2PR0301MB0647.namprd03.prod.outlook.com> <5652E2CD.8090709@crf.canon.fr> <CABp8EuKoWQ+JJdbqcTAge7wK=69P4M-e9kSZjoRW04yYvardUw@mail.gmail.com> <CABkgnnWkWt1=styBxLV6GiZ+D7kcryP3-2gm82T1b-Rv-UuF-g@mail.gmail.com> <BY2PR0301MB06470B1FAFD7C49000DAE3CF83070@BY2PR0301MB0647.namprd03.prod.outlook.com> <CABkgnnUD=64yOuD=kP+2YFnFbftJY9nrT3f1aqCG3FR+y-++ug@mail.gmail.com> <5654AABC.3000000@crf.canon.fr>
In-Reply-To: <5654AABC.3000000@crf.canon.fr>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Brian.Raymor@microsoft.com;
x-originating-ip: [2601:600:8000:5a8:c031:180b:19c3:bca6]
x-microsoft-exchange-diagnostics: 1; BY2PR0301MB0647; 5:n8oy84b6VVNG5NjzbT9wIGDp+gwu0x2uZQCDZEPqG99ecP53j+5fdzIbqbHGhbzdK4/h7kPZvoMaFUTwf5lo95gKoqJFvGKt/7TemSOGjsirp7WOofCsbzPbN0PiC/0WmW5R/z032yty9y4/FiQ1RQ==; 24:bgIwrjwS0DXFrWp/AxHGCB+AkDtW5N2IlSjz6t3jU8rvkc3EWT0nUXgKDVEH+4Tpli/i4pA9bK3ujXrmwdR8aHBHwCgc+bdXfW3cvM5P8zA=
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(42140001); SRVR:BY2PR0301MB0647;
x-ms-office365-filtering-correlation-id: d440c0c3-cf58-4be8-cdf7-08d318910086
x-microsoft-antispam-prvs: <BY2PR0301MB0647D6AE247171FC045D529B83F70@BY2PR0301MB0647.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(601004)(2401047)(5005006)(8121501046)(520078)(3002001)(10201501046)(61426038)(61427038); SRVR:BY2PR0301MB0647; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0301MB0647;
x-forefront-prvs: 0816F1D86E
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(479174004)(377454003)(51914003)(199003)(13464003)(24454002)(40100003)(33656002)(101416001)(87936001)(15975445007)(5008740100001)(77096005)(2906002)(5002640100001)(93886004)(74316001)(10090500001)(10290500002)(5004730100002)(5005710100001)(10400500002)(99286002)(8990500004)(86362001)(105586002)(86612001)(102836003)(106116001)(122556002)(106356001)(19580405001)(19580395003)(5001960100002)(6116002)(189998001)(1220700001)(586003)(92566002)(5003600100002)(5001770100001)(81156007)(97736004)(76576001)(2950100001)(1096002)(2900100001)(76176999)(50986999)(4326007)(54356999)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0301MB0647; H:BY2PR0301MB0647.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2016 01:05:44.5812 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB0647
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/QUntBdoMIAmUdfNN01OaOCTmfhY>
Cc: Benjamin Bangert <bbangert@mozilla.com>, "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] Use Case related to subscription sets
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: Sat, 09 Jan 2016 01:05:50 -0000

Is there any further feedback on Martin's pull request?

https://github.com/webpush-wg/webpush-protocol/pull/67

If there are no objections, I'd like to merge into the webpush draft early next week.

...Brian


-----Original Message-----
From: Hervé Ruellan [mailto:herve.ruellan@crf.canon.fr] 
Sent: Tuesday, November 24, 2015 10:22 AM
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Benjamin Bangert <bbangert@mozilla.com>; webpush@ietf.org; Brian Raymor <Brian.Raymor@microsoft.com>
Subject: Re: [Webpush] Use Case related to subscription sets

Thanks for the pull request.

I find it a good compromise: it covers our use-case while still encouraging UA to reuse subscription sets.

Hervé

On 24/11/15 00:19, Martin Thomson wrote:
> On 23 November 2015 at 13:46, Brian Raymor <Brian.Raymor@microsoft.com> wrote:
> > Perhaps the combination of "user agent decides" with "push service *encourages*"
> > by limiting concurrent HTTP/2 streams is the potential compromise.
>
> That's where I'm headed.  Though I'm also adding "spec *encourages*"
> by using the word MUST.  I don't think that we get any gains for the
> important scenarios if we don't provide at least some encouragement to
> aggregate into a set.
>
> I've added text to the PR that explains what the push service might do
> to punish user agents that don't allow for aggregation.  It's relying
> on the same magical anti-DoS stuff again, which is hardly ever
> perfect, but often adequate in practice.
>
> Here I expect that looking at the connection will work to catch
> genuine but innocent mistakes.  The bad guys are always going to be
> harder to pin down.
>