Re: [Webpush] Receipt subscription follow-up
Costin Manolache <costin@gmail.com> Tue, 26 April 2016 05:18 UTC
Return-Path: <costin@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 2A65D12B039
for <webpush@ietfa.amsl.com>; Mon, 25 Apr 2016 22:18:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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,
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 GdIf4hFfGueV for <webpush@ietfa.amsl.com>;
Mon, 25 Apr 2016 22:18:36 -0700 (PDT)
Received: from mail-io0-x229.google.com (mail-io0-x229.google.com
[IPv6:2607:f8b0:4001:c06::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 E7A4C12B017
for <webpush@ietf.org>; Mon, 25 Apr 2016 22:18:35 -0700 (PDT)
Received: by mail-io0-x229.google.com with SMTP id f89so6051567ioi.0
for <webpush@ietf.org>; Mon, 25 Apr 2016 22:18:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=P8abdA77foFaky7Abh8RxOVRZaUNV6csqCSBCzDPAFI=;
b=0tMr38pMmTn2pPnYD0rMayJk/cg5CUy7nugDdXgeg9BEF1DYhul0a8rK6cssdVNB5s
NdPX9kQvz2noOPPhX7cEojMjSMozu1MnJf8jvuxqPKbyhwXUIbP9jQrBbtjW+RLtjPWh
RHmBcmp+0e/J3FepsXgwRXDGXjD0qdFHo+V5urL1HiRkRkXodH95KNq46ffEPxn2/i+9
t5A5Uiv6jE3RuyKKwbW70kQC30mvicu1uhgJCVmUXrGOIIGacUg5nyhCkNsj1NvD4wUS
v+KobyJdG9kaUFAWUUFgbRjsBGUJEzMidIbpTbwObEdHfzPuRbnY/ra+gSJXppQo7Ic1
oxfw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=P8abdA77foFaky7Abh8RxOVRZaUNV6csqCSBCzDPAFI=;
b=cOxcewIJzOqMtCDX8kMWtVilrPfX9jNlbURk2Le9WkNQFXGbh0hgQa9iisZRo6atDb
57iQUqVIDcxcQnNKUEwsSl9tuVCr4DO07uGU6QR3JyiQjD/1Xwo3Arj3m1ZWCLV+ev23
tmpJnBMVZLM4k1F4vciI//wMob5Jbyomf93yYSr3lF6TxlCSs8w97Tx0/luO2CkaUlis
NPFQ2bT+N/3a6E4RiR1Ed0uVeWk4sC8n1dM4KzWNRoLwWJ1T/tXtJy1ZIQks3EL/zm2b
eGxTfqyeGIzv2el5NloPd5hj9VoGTy3ifBXRxG6aswZxdbIth6o/TznDc0FaRaNvQLvz
j3mQ==
X-Gm-Message-State: AOPr4FWuYnUxIrBFzprjGaD8Knv24M4o7MEdDeRDUtiy8jvNIEbhNbj0WGoYtUaTa5YMquE/4AFVDiH5+qtA6A==
X-Received: by 10.107.173.69 with SMTP id w66mr1273145ioe.182.1461647915350;
Mon, 25 Apr 2016 22:18:35 -0700 (PDT)
MIME-Version: 1.0
References: <CABkgnnXKDZvLWxkhFP0R4jW=ZyFwqiqQREFA5BFKH9i4PQCmyA@mail.gmail.com>
<CAP8-Fq=Oi_kGebcRsyHYQdXWwLxFQxFwR=jeOyKS-+vW7eE=0w@mail.gmail.com>
<CABkgnnX35n3K=cGTC2EvwG3=w6X7uWCikw+QFqhO7-RiLV8zJQ@mail.gmail.com>
In-Reply-To: <CABkgnnX35n3K=cGTC2EvwG3=w6X7uWCikw+QFqhO7-RiLV8zJQ@mail.gmail.com>
From: Costin Manolache <costin@gmail.com>
Date: Tue, 26 Apr 2016 05:18:25 +0000
Message-ID: <CAP8-FqmcguLQaVxeNs1ROAG0XEBgYNtDiJ3+sYUcxmRrFfou1Q@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Content-Type: multipart/alternative; boundary=001a114464f4c801cd05315c6c8a
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/ro9d31Ke5fmOu7wBlohYZLvX-Lo>
Cc: "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] Receipt subscription follow-up
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: Tue, 26 Apr 2016 05:18:37 -0000
You mean an AS having multiple instances would use a different receipt set for each instance ? That may be problematic for many reasons - like load balancing, queuing, AS server restarts. I would expect most PS will want to be able to load balance across multiple connections from AS, and deliver receipts locally, i.e. if a device is in EU to use AS connections in EU (if the AS has connections in different regions). And if an AS instance restarts, receipts would go to the remaining. Costin On Mon, Apr 25, 2016 at 10:03 PM Martin Thomson <martin.thomson@gmail.com> wrote: > On 26 April 2016 at 14:47, Costin Manolache <costin@gmail.com> wrote: > > Seems reasonable - but it should be optional if an App Server is using > > VAPID, > > since the push service can simply use the VAPID public key, and it > > simplifies the > > AS logic. > > I was talking primarily about what the application server has to do to > decide what to send. > > If this were solely rate limiting, I'd agree. The choice to send 429 > can definitely use the token. The problem is if there are multiple > application server instances and the push service decides to send the > same subscription back to two different instances, then things might > break. The inclusion of the receipt subscription in the request is > permission to merge receipts. The push service shouldn't merge > receipt subscriptions without permission. >
- [Webpush] Receipt subscription follow-up Martin Thomson
- Re: [Webpush] Receipt subscription follow-up Costin Manolache
- Re: [Webpush] Receipt subscription follow-up Martin Thomson
- Re: [Webpush] Receipt subscription follow-up Costin Manolache
- Re: [Webpush] Receipt subscription follow-up Costin Manolache
- Re: [Webpush] Receipt subscription follow-up Martin Thomson
- Re: [Webpush] Receipt subscription follow-up Costin Manolache
- Re: [Webpush] Receipt subscription follow-up Martin Thomson
- Re: [Webpush] Receipt subscription follow-up Martin Thomson
- Re: [Webpush] Receipt subscription follow-up Costin Manolache
- Re: [Webpush] Receipt subscription follow-up Martin Thomson
- Re: [Webpush] Receipt subscription follow-up Brian Raymor
- Re: [Webpush] Receipt subscription follow-up Costin Manolache
- Re: [Webpush] Receipt subscription follow-up Martin Thomson
- Re: [Webpush] Receipt subscription follow-up Costin Manolache
- Re: [Webpush] Receipt subscription follow-up Martin Thomson
- Re: [Webpush] Receipt subscription follow-up Costin Manolache
- Re: [Webpush] Receipt subscription follow-up Brian Raymor
- Re: [Webpush] Receipt subscription follow-up Costin Manolache
- Re: [Webpush] Receipt subscription follow-up Martin Thomson
- Re: [Webpush] Receipt subscription follow-up Brian Raymor
- Re: [Webpush] Receipt subscription follow-up Martin Thomson
- Re: [Webpush] Receipt subscription follow-up Brian Raymor
- Re: [Webpush] Receipt subscription follow-up Martin Thomson
- Re: [Webpush] Receipt subscription follow-up Costin Manolache
- Re: [Webpush] Receipt subscription follow-up Brian Raymor
- Re: [Webpush] Receipt subscription follow-up RUELLAN Herve