Re: [Webpush] Message update PR
Martin Thomson <martin.thomson@gmail.com> Mon, 11 January 2016 23:57 UTC
Return-Path: <martin.thomson@gmail.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 E74B61A888B for <webpush@ietfa.amsl.com>; Mon, 11 Jan 2016 15:57:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 w0ou84MlWdSx for <webpush@ietfa.amsl.com>; Mon, 11 Jan 2016 15:57:22 -0800 (PST)
Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001: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 2FA3B1A877A for <webpush@ietf.org>; Mon, 11 Jan 2016 15:57:22 -0800 (PST)
Received: by mail-ig0-x232.google.com with SMTP id t15so108005026igr.0 for <webpush@ietf.org>; Mon, 11 Jan 2016 15:57:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JxbshI8DtDb6uXlvrcmbMKLLPmL6aSu4OXDf+jUIpAU=; b=K6oglMrqq6I+EJE6lbJDkGIYodid1nyhYB63Z2UO1/vj7SPo7qR4hSpIwdBVPTSzSJ CHFOgyMGSexvSmI6d+5mTn7tRVPIp7nbICAmje7Oljsh8InrYrtaKcL/it8F+nLvTJE7 acwDa0NShgNCjlA76vkigkTi/vKT56BXBphxCtBIjDEmsaEN7SIDhFLzojNXcAOlBRvp cabsbb/ypUyjX4kIgDFCaF0aeAJ4VJsdRfQZlKCgaSC8zKeJK61gXZKMy0q/wJJ6Ut/o 1S7Yik1kw8lnOw5F6sfyHqTuVhqLC8A1fOkkBavObGRGrcUsQ1hNALKzkrdruQjvZmxw w3og==
MIME-Version: 1.0
X-Received: by 10.50.60.6 with SMTP id d6mr15621667igr.94.1452556641566; Mon, 11 Jan 2016 15:57:21 -0800 (PST)
Received: by 10.36.149.130 with HTTP; Mon, 11 Jan 2016 15:57:21 -0800 (PST)
In-Reply-To: <CAP8-FqkTkKSQHEHz=HREjkgAd_PuiUcEMLdTJT+fTY4uf_p0Rg@mail.gmail.com>
References: <CABkgnnX-oO5yc58zp3CzLhsp8UQv_QW6RZw_xEPOd9nUukCoCg@mail.gmail.com> <BY2PR0301MB06470F90FC2A3801FEB0917983F70@BY2PR0301MB0647.namprd03.prod.outlook.com> <CAP8-FqkTkKSQHEHz=HREjkgAd_PuiUcEMLdTJT+fTY4uf_p0Rg@mail.gmail.com>
Date: Tue, 12 Jan 2016 10:57:21 +1100
Message-ID: <CABkgnnVmF0_tw5Yn2w9=QZwWAZmLGDt1bapv0bXWFtp17av_dw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Costin Manolache <costin@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/ZDnGfchA48dkoJcN-0djKiptMzk>
Cc: Brian Raymor <Brian.Raymor@microsoft.com>, "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] Message update PR
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: Mon, 11 Jan 2016 23:57:24 -0000
On 12 January 2016 at 04:00, Costin Manolache <costin@gmail.com> wrote: > - +1 in general > > - Doubts about the name "Topic" - many pubsub users will be confused, it is > not really a topic, > just a key I'm happy to take suggestions on the name, it's just a name :) >From my perspective however, the pubsub use fits almost perfectly with this use, so I think that the name is a bit of an advantage. > - We may relax the '4 collapse keys' limit for GCM, shouldn't be a problem > for webpush. That would be awesome (I hear that collapse keys are very heavily used by some big sites, I wonder if you aren't already feeling the pressure there). > Can we change a bit the wording to allow some optimizations we do: a message > with topic (collapse > key) may be optimized for 'sync usage' - i.e. even if the device is online, > if push service detects > frequent messages in a topic (for example user receives lots of email) it > may delay and collapse > messages. I.e. not only " If the user agent is offline". That should always be possible. If the text implies otherwise, then we should correct that. > Also I would prefer (for implementation purpose) a simpler ID syntax instead > of quoted string. > It's going to be a database key, short an unambiguous seems better. URI path > component would > be nice. Would the base64(url) alphabet suit you well enough? I didn't add that restriction. What about a length restriction? I think that Ben and I discussed just rejecting push messages with ridiculously long topic names. > Finally, a more generic approach would be to allow the sender to specify a > MessageID - than > multiple messages with the same ID could override each other ( identical > with topic ), but the main > benefit is that senders will avoid a lookup and mapping push-service IDs to > their internal IDs in > acks. Push service can internally combine the subscription ID with the > sender-provided message ID. Maybe I'm not understanding you here, but isn't that exactly what this change does?
- [Webpush] Message update PR Martin Thomson
- Re: [Webpush] Message update PR Brian Raymor
- Re: [Webpush] Message update PR Costin Manolache
- Re: [Webpush] Message update PR Martin Thomson
- Re: [Webpush] Message update PR Costin Manolache
- Re: [Webpush] Message update PR Martin Thomson