Re: [Webpush] Receipt subscription follow-up
Costin Manolache <costin@gmail.com> Wed, 27 April 2016 19:42 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 9CB9112DBF3
for <webpush@ietfa.amsl.com>; Wed, 27 Apr 2016 12:42:32 -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 ivP4_Tj55up7 for <webpush@ietfa.amsl.com>;
Wed, 27 Apr 2016 12:42:31 -0700 (PDT)
Received: from mail-io0-x233.google.com (mail-io0-x233.google.com
[IPv6:2607:f8b0:4001:c06::233])
(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 CE47D12DBE5
for <webpush@ietf.org>; Wed, 27 Apr 2016 12:42:30 -0700 (PDT)
Received: by mail-io0-x233.google.com with SMTP id u185so65564412iod.3
for <webpush@ietf.org>; Wed, 27 Apr 2016 12:42:30 -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=ZUvFs+4sNJzBcdbfv6atATnBF2nFcOvipdm6Rpz58jU=;
b=IqCqLyEGc3R6Ney0RnTst1mgJvX7FV1CFtfPV2vBMf1hoVTeE7yU1YSC6pO1m7NuJi
8WPzYBj1C5qEq8aHhbJg8yic5BOKFEOHCUQtS2TMVsbeEsIUJmWjmszSqogeIkXre+KP
OTxZnUne+sopB1U0DmRPN8DdE137dGurDuSvpXAgS3//UFgAFto6j475pTookNXuFH8t
MgCD6cXt19TQK/mD8Xr859jmSb3iLH4nYq0GG1HT12NdG1FH9wBl427s2K8xz56pwKqZ
gEDVXx7gAaWkn52wQDtbu9K9XAaHopsBcDZfkYMPkIePsJnCCe0PI84Dgm9bGhmIwUpv
+kMQ==
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=ZUvFs+4sNJzBcdbfv6atATnBF2nFcOvipdm6Rpz58jU=;
b=DMv7lLRfYqZ5D56xbOx1Z63D1w7HhymNjFD+yzlbJIkAhFNQK8f4RSh91eNsgmHZvR
HHDbZfeANnHDJVj5kngjAB2S6BLmMgLmTYa6a8WYgvczxPxBvKU6ZyoWhq4krSbfPHcx
c5VLzAz6RWwLufGXB5/eil52c+a1Gu6dnumdjtnh935+Al4hOMQyAwututTeHtMg6RPF
4CXYnsXzK1sYwJC60uYJykZm8dNAHSckHWOtG58+F8zcEMUPILtLNmuccmm366PcXAmH
GnVCnjtF8hdKqeJ/acjy0klPah1LtThQHzXsRuD5CyCRzxwoWj/8HtXkqfdEZbz9bV2T
cEvQ==
X-Gm-Message-State: AOPr4FWVpRVycq/5V9Jt35o6YD6Islm+TzmWb+QBMcuAky2S7SMZArp3RoiyJXm5JB0eVuKHcWR2Hkw42YA6uA==
X-Received: by 10.107.175.227 with SMTP id p96mr12282490ioo.72.1461786150184;
Wed, 27 Apr 2016 12:42:30 -0700 (PDT)
MIME-Version: 1.0
References: <CABkgnnXKDZvLWxkhFP0R4jW=ZyFwqiqQREFA5BFKH9i4PQCmyA@mail.gmail.com>
<CO2PR03MB24076724ECF95BDBB9B83E0F83640@CO2PR03MB2407.namprd03.prod.outlook.com>
<CAP8-Fqk8p1HkbJkB60UoE=jeQPa9CKorgc8kqSF7sUMS3FcAfQ@mail.gmail.com>
<CABkgnnU_jnSuUX7TC+qy2SwteU1tW9DEAb0uoHmhOcYNQaYuvw@mail.gmail.com>
<CO2PR03MB24079FEC854A49F60C66F81583640@CO2PR03MB2407.namprd03.prod.outlook.com>
In-Reply-To: <CO2PR03MB24079FEC854A49F60C66F81583640@CO2PR03MB2407.namprd03.prod.outlook.com>
From: Costin Manolache <costin@gmail.com>
Date: Wed, 27 Apr 2016 19:42:20 +0000
Message-ID: <CAP8-Fq=aufZchVdqCM=+0+7WxGvgoaez0t8J2x=U6_Mz91s+Yg@mail.gmail.com>
To: Brian Raymor <Brian.Raymor@microsoft.com>,
Martin Thomson <martin.thomson@gmail.com>
Content-Type: multipart/alternative; boundary=001a11445f5a382e0005317c9ce3
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/hHoM3EO37cPoC7yoX-37RG6a7T8>
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: Wed, 27 Apr 2016 19:42:32 -0000
The main purpose of the DELETE ( from my perspective ) is to prevent PS flooding the AS, i.e. to provide a form of flow control. Secondary reason is to provide more info for load balancing the receipts across AS connections. Having retry on the receipt would be expensive - I think it would be better to not promise that, not sure about other PS but for us it may be tricky. Retry if a AS connection goes down, or it doesn't ack is ok - but not for the entire duration of the message TTL, and without reliability guarantees, i.e. without database storage. Costin On Wed, Apr 27, 2016 at 10:22 AM Brian Raymor <Brian.Raymor@microsoft.com> wrote: > > On Tue, Apr 26, 2016 at 9:21 PM Martin Thomson <martin.thomson@gmail.com> > wrote: > ... > > However, in this case, can we request that the application server > > DELETE (just like the client uses DELETE to acknowledge)? > > To clarify, you're proposing that the application server delete the same > push message resource that was deleted by the user agent to acknowledge > receipt of the message? If so, something like: > > If the push service receives the acknowledgement and the application > has requested a delivery receipt, the push service MUST return a 204 > (No Content) response to the application server monitoring the > receipt subscription. > > To ensure that a receipt is properly delivered to the application > server at least once, the application server MUST acknowledge receipt > of the response by performing a HTTP DELETE on the corresponding > push message resource. > > If the push service does not receive the acknowledgement within a > reasonable amount of time, then the receipt is considered to be not > yet delivered. The push service SHOULD continue to retry delivery of > the receipt until the advertised expiration of the corresponding push > message. > > > > > > >
- [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