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

Martin Thomson <martin.thomson@gmail.com> Wed, 29 April 2015 18: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 A7B371A8A92 for <webpush@ietfa.amsl.com>; Wed, 29 Apr 2015 11:57:19 -0700 (PDT)
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 P05G8LvnfdFZ for <webpush@ietfa.amsl.com>; Wed, 29 Apr 2015 11:57:18 -0700 (PDT)
Received: from mail-yh0-x229.google.com (mail-yh0-x229.google.com [IPv6:2607:f8b0:4002:c01::229]) (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 E9E2B1A8939 for <webpush@ietf.org>; Wed, 29 Apr 2015 11:57:07 -0700 (PDT)
Received: by yhrr66 with SMTP id r66so7770886yhr.3 for <webpush@ietf.org>; Wed, 29 Apr 2015 11:57:07 -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=hwiF6G2XTkBczHJY2UULMbNRICDH85iCVXddJZnSaOE=; b=acCz5SWLSrzZK1slhSuDUwE7OZSbP11cU1VbiMNqTB9tuBGKY5U6e+fR2Od0Mzfdfy BLcFfWBXa39q1AG9et+0/fCH3/J2U1hzKb8ITMFKOo8nzQJ05nu5QZlGJFid+y3hh1rA E3gqUct4sX8hmIY+undu+6GcJ7hyhDxgg0rMkrGECU7rjn11+MhlcCFN7LOCv1i05+I/ 5QngI57VHdaOLrievCZDT864lsfvTEqRSZwu71etbtZowyfSZXbDrSk5rgGxmtyQCVd+ ABJS+cHQHjiy07W2vElcDmb6Lmzsi3vKlggRwuTAScrkYv/HJr/kfcEJSV6wDyAoilSn DqBA==
MIME-Version: 1.0
X-Received: by 10.170.158.10 with SMTP id z10mr525046ykc.1.1430333827256; Wed, 29 Apr 2015 11:57:07 -0700 (PDT)
Received: by 10.13.247.71 with HTTP; Wed, 29 Apr 2015 11:57:07 -0700 (PDT)
In-Reply-To: <4AA3A95D6033ED488F8AE4E45F474487455B1E2A@CAFRFD1MSGUSRIA.ITServices.sbc.com>
References: <20150416000844.29595.68704.idtracker@ietfa.amsl.com> <BY2PR0301MB06476276461E2A3286266C4583E40@BY2PR0301MB0647.namprd03.prod.outlook.com> <4AA3A95D6033ED488F8AE4E45F474487455B1E2A@CAFRFD1MSGUSRIA.ITServices.sbc.com>
Date: Wed, 29 Apr 2015 11:57:07 -0700
Message-ID: <CABkgnnV06rTBPOAQ_yD-Q_8QnoiJMJJQyhFanAchb2WMjA-saA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: "DRUTA, DAN" <dd5826@att.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/u7M7UZ61soU4cgnH3ZYVq9P-whw>
Cc: "Brian Raymor (MS OPEN TECH)" <Brian.Raymor@microsoft.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: Wed, 29 Apr 2015 18:57:19 -0000

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