Re: [Webpush] Non-blocking comments on -05

Martin Thomson <martin.thomson@gmail.com> Thu, 09 June 2016 21:33 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: webpush@ietfa.amsl.com
Delivered-To: webpush@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65A2D12DA14 for <webpush@ietfa.amsl.com>; Thu, 9 Jun 2016 14:33:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 jDIgfqgK6JnI for <webpush@ietfa.amsl.com>; Thu, 9 Jun 2016 14:33:50 -0700 (PDT)
Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (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 5491512DA13 for <webpush@ietf.org>; Thu, 9 Jun 2016 14:33:43 -0700 (PDT)
Received: by mail-qk0-x234.google.com with SMTP id u63so28204813qkh.0 for <webpush@ietf.org>; Thu, 09 Jun 2016 14:33:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yok+XefJCY86fmojwQ3w+l7jAScBjZ3pOs++vTlQ0Xc=; b=kDvu9GnjAVpLFT0SZboM6GCWNDE/7XVpemEds2/wKuo9RCA9pXED6z7ISEcepI1kxS iN4wWq9GoU37zYE7c8jo1AptuuEb5W1mJuQTKZb0mqLnUUUPnQ8xrttiGR9T06B52j0R 0jVYv7DN9tSNLZXa1ZyDw8tlCpjarqV8S3eKC41uSD+ZXnPymwZnN/jnFs7TTzVWm2zP NJKtngr+1r278fbSBgTEaEHJJ5YrhpKZJ4o3TIOlxWT9JJpt7/1qSw7MyxC9eYKCbfI0 Gw9pyNIkx5FO88eedJjUw3QGkyyvi/CfDWXF8dxSOtO3rrGP8i3XEol+UsoH8kaykaok AiOA==
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:from:date :message-id:subject:to:cc; bh=yok+XefJCY86fmojwQ3w+l7jAScBjZ3pOs++vTlQ0Xc=; b=ct3+njBHe49LDyFgk73Y8dvXyLbl8p38KsgB2VenhtHbyins+pgw8qN3xDK6i+b4FI dbJQ9H87oADwmOFoUxJefnVPn9Q7gmTWcBHbTBharxmX3DJZHOb0ItJTaCBMoN7adE9X faT4BkxUbvP6GFj0TgRdqdBTFNqZU7VPAsQ+Wb1abXWW3UUG1zTUf1wLWnq3/3H6c2MB q2SUaz0v3IKsPhioLJnEe42NfhAA3D1JfoReVbiPhc3Zr7jPqXLbJEAEZOmIXd0mKQuo /WztbElOMFPb2pDf1+fpnxZ8sikwhx9Z1e4/f0wIcUhmo5M0bErnh9Ah6Mycqy7OdRuR 47Jw==
X-Gm-Message-State: ALyK8tKZrpB6XtcVdyx0OpE7diZw6w4ZSOZGua6sDVhizmAKjiLRvZeMxn5j0yLAS04/VKMWO0lpC9ZwTBQLPQ==
X-Received: by 10.55.20.208 with SMTP id 77mr12105306qku.124.1465508022383; Thu, 09 Jun 2016 14:33:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.104.37 with HTTP; Thu, 9 Jun 2016 14:33:41 -0700 (PDT)
In-Reply-To: <2953D35A-1FC9-4765-BBE0-83DBCA8CAC10@mozilla.com>
References: <CALt3x6=_yc9TegOut_g+6W5fvhP7sfW+_gwRZnEVFA5PNgER6Q@mail.gmail.com> <6af49c2baf1b4e4f884b812d573b947e@Antiope.crf.canon.fr> <CABkgnnWebfxnPOLMXK+n+2G=c8DOG4Eb4AWMsWXJmmdnE4pUwg@mail.gmail.com> <989D9268-BE9A-47F7-9181-C0F323D1DA1F@mozilla.com> <1464858574.5342.12.camel@crf.canon.fr> <CO2PR03MB2407918AF75578E3AE378FC3835E0@CO2PR03MB2407.namprd03.prod.outlook.com> <2953D35A-1FC9-4765-BBE0-83DBCA8CAC10@mozilla.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 10 Jun 2016 07:33:41 +1000
Message-ID: <CABkgnnV__pKEScT2eD8G5SpEQdth5CcijX9kwNM42u8TGr8=AA@mail.gmail.com>
To: Kit Cambridge <kcambridge@mozilla.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/webpush/jI5l5h3VxzQpqN3505I0q4Zv6kM>
Cc: Costin Manolache <costin@gmail.com>, Brian Raymor <Brian.Raymor@microsoft.com>, "beverloo@google.com" <beverloo@google.com>, "webpush@ietf.org" <webpush@ietf.org>, RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
Subject: Re: [Webpush] Non-blocking comments on -05
X-BeenThere: webpush@ietf.org
X-Mailman-Version: 2.1.17
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: Thu, 09 Jun 2016 21:33:51 -0000

On 10 June 2016 at 05:01, Kit Cambridge <kcambridge@mozilla.com> wrote:
> Does moving a subscription set mean another UA would be able to receive messages sent to subscriptions in that set? (That is, without requiring the old UA to drop all its subscriptions and the new UA to reregister).

I think that you have it. If you have 2 subscriptions that are in the
same set, they have to be monitored together.  If they are in separate
sets, then they can be monitored separately.  The separation enables
intermediation.

I don't think that this is a use case that is particularly important
for the web case; I confess that it isn't that interesting to me.
However, I think that it is an entirely valid use case, and it costs
little.  It does however enable things on the web side that *are* very
interesting to me.

Say you have a UA that wants to go into a deep sleep to save power.
In that mode, it still wants to receive push messages from several
high priority sites.  But it doesn't want to get the deal-of-the-day
and all that junk from other sites.

Now, the UA knows that the push service is unable to discriminate
between important and unimportant properly and it doesn't want to risk
getting things like text message notifications from unimportant sites.
Even if these are normally sent with moderately high urgency,
legitimately.

If it can split the important sites and the unimportant sites into two
subscription sets, then it can monitor the important sites only.
That's not possible if you don't allow the UA to control which
subscriptions get grouped together.

If you want a concrete example, think pagerduty.com vs. skype.com.  A
call might be entirely undesirable at 3am, but if a production site is
on fire, it's wake up time.