Re: [Webpush] FW: New Version Notification for draft-thomson-webpush-protocol-00.txt

Costin Manolache <costin@gmail.com> Tue, 12 May 2015 17:58 UTC

Return-Path: <costin@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 8821A1ACE2F for <webpush@ietfa.amsl.com>; Tue, 12 May 2015 10:58:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=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 WFN5TmkZksS5 for <webpush@ietfa.amsl.com>; Tue, 12 May 2015 10:58:07 -0700 (PDT)
Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) (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 3CFC01ACDEF for <webpush@ietf.org>; Tue, 12 May 2015 10:58:07 -0700 (PDT)
Received: by igbhj9 with SMTP id hj9so22115105igb.1 for <webpush@ietf.org>; Tue, 12 May 2015 10:58:06 -0700 (PDT)
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=87laCPFY+97qvaNyQi7XC9DxG3bkfaDFjciDfXI1ySE=; b=P9B+aiVEniT7WBRkK7jCs7ob3QojqlxmZNh+OF/mzFe2XqYe4xw6S1nrtnarE2mf5d jjjsmBtHnupE7uceNoxlHogdEYDgPvx16o27VwQ77W57Dlr7L1ZrJYmVoC9IzHoCRCbU H/7Gzgd0vX1G+5U8smB/D8OBRvfXLgH1BjlpnMtyIPmlqv+EWo/VDypgcAZ2iWtboU08 hFaRQNVmu29XNFjRTgY4bU5WTOL0PhDtQnYkV5TJdDioX7NOdu9k8RmgZCAcCC2EtVsD wwK/DPhdBpuuz8FPp5+t0hFypal2GvwV35/TTNiKN8CetMsUyjHt7xm2ctduVvsEsNvF Sfmg==
MIME-Version: 1.0
X-Received: by 10.42.187.65 with SMTP id cv1mr4521583icb.87.1431453486763; Tue, 12 May 2015 10:58:06 -0700 (PDT)
Received: by 10.36.9.207 with HTTP; Tue, 12 May 2015 10:58:06 -0700 (PDT)
In-Reply-To: <4AA3A95D6033ED488F8AE4E45F474487455B32A8@CAFRFD1MSGUSRIA.ITServices.sbc.com>
References: <20150416000844.29595.68704.idtracker@ietfa.amsl.com> <BY2PR0301MB06476276461E2A3286266C4583E40@BY2PR0301MB0647.namprd03.prod.outlook.com> <4AA3A95D6033ED488F8AE4E45F474487455B1E2A@CAFRFD1MSGUSRIA.ITServices.sbc.com> <CABkgnnV06rTBPOAQ_yD-Q_8QnoiJMJJQyhFanAchb2WMjA-saA@mail.gmail.com> <4AA3A95D6033ED488F8AE4E45F474487455B32A8@CAFRFD1MSGUSRIA.ITServices.sbc.com>
Date: Tue, 12 May 2015 10:58:06 -0700
Message-ID: <CAP8-Fqnatccu4+-AOCNeqpC6ycRbX9dQha9Ueqd_Ftbhv9EtJg@mail.gmail.com>
From: Costin Manolache <costin@gmail.com>
To: "DRUTA, DAN" <dd5826@att.com>
Content-Type: multipart/alternative; boundary="20cf303ea1029755970515e63ce6"
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/4GKtMF6uhXr7335drhP9mJxE5F4>
Cc: "Brian Raymor (MS OPEN TECH)" <Brian.Raymor@microsoft.com>, Martin Thomson <martin.thomson@gmail.com>, "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] FW: New Version Notification for draft-thomson-webpush-protocol-00.txt
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: <http://www.ietf.org/mail-archive/web/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: Tue, 12 May 2015 17:58:09 -0000

It is hard to support ordering at scale - we would prefer that ordering is
not guaranteed.
But we support de-duplication and retries.

Costin

On Wed, Apr 29, 2015 at 12:24 PM, DRUTA, DAN <dd5826@att.com> wrote:

> Hi Martin,
>
> I think we can address the relative priority in the web push draft at
> minimum with some clarifications on use cases and some of the requirements.
> Much like I tried to explain in my example and you expanded with the device
> nap scenario.
> If NICE proposal gets support in http WG I don't see any reason to
> reinvent the wheel but as of now I believe your draft is expired.
> At least we should determine how important of a feature this is.
>
> Dan
>
> -----Original Message-----
> From: Martin Thomson [mailto:martin.thomson@gmail.com]
> Sent: Wednesday, April 29, 2015 11:57 AM
> To: DRUTA, DAN
> Cc: Brian Raymor (MS OPEN TECH); webpush@ietf.org
> Subject: Re: [Webpush] FW: New Version Notification for
> draft-thomson-webpush-protocol-00.txt
>
> On 29 April 2015 at 10:12, DRUTA, DAN <dd5826@att.com> wrote:
> > 1. Prioritization
> [...]
> > Is the expectation that the app server will send them in the right
> sequence and the push server will use a FIFO (first in first out) queue?
>
> The draft really doesn't say, partly because we didn't discuss it
> much, partly because I think that we'd want some flexibility.  I've
> opened an issue on this in our issue tracker so that we don't forget
> this.
>
> > Priority is a fairly basic requirement and I hope it can get handled in
> a header so it can be consistently enforced by the push service.
>
> Prioritization is a concern if there are multiple messages to deliver
> at the same time.  This happens most often when a device comes back
> from a short nap (as mobile devices do all the time).  With a small
> number of messages, this might not be a big deal, but if there is a
> backlog to clear, it could be.  I have a draft on signaling priorities
> that could be used in this context:
> https://tools.ietf.org/html/draft-thomson-http-nice-02
>
> Do you think that we need to address this in a basic protocol
> specification, or can it rely on other specifications.
>
> > 2. Message deduplication and retries.
>
> Yes, reliability is hard.  The intent is to have the application mark
> messages and perform deduplication if it does resending, especially
> within the TTL period that the push service promises.
>
> In terms of the protocol, there is a proposal for message replacement
> that might reduce the need for some of this, but Brian, Elio and I
> decided that we'd let this draft stabilize before talking about that
> feature: https://github.com/unicorn-wg/webpush-protocol/pull/12
> _______________________________________________
> Webpush mailing list
> Webpush@ietf.org
> https://www.ietf.org/mailman/listinfo/webpush
>