Re: [Webpush] Receipt subscription follow-up

Costin Manolache <costin@gmail.com> Wed, 27 April 2016 04:12 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 762FB12D531 for <webpush@ietfa.amsl.com>; Tue, 26 Apr 2016 21:12:13 -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 solEy6JKMOdD for <webpush@ietfa.amsl.com>; Tue, 26 Apr 2016 21:12:11 -0700 (PDT)
Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (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 9D54912D59F for <webpush@ietf.org>; Tue, 26 Apr 2016 21:12:11 -0700 (PDT)
Received: by mail-io0-x22b.google.com with SMTP id f89so35741519ioi.0 for <webpush@ietf.org>; Tue, 26 Apr 2016 21:12:11 -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; bh=1jn2bfgAUqjXbeXNYjpvtvvlEuYZg7QW6kdADGYiOB0=; b=stAW0/SZGzX/ak/O/WiBbXo21Z2HTTysTfKVbQwtAFWaNoTtUuUW5g3cJqyPMUSqro xVNzXSZWE7ufDCXEzrkya8A74UwkyqgDU+wP7102Xz0dCEfJ8CR+8VeLb5GSqyZY8V++ DOIu3IzCp2bUP0+tAILvLiq2gEZLmhp3X67//EX2T7hobSvxYpy2PVHyfonnDobiS8bd EKfv6dQiylpOMKOMCVSsOxeMOY2hNCH+acknP3obes08+T/O8wa+Vvuq13lIyGEbhN2/ qKHDjda2UAYJ/n9Yg87tgFNE8sE018XMar/yvr/RSz9jjiCj36MOxQxzgrSUjD2rf+uo CSrw==
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; bh=1jn2bfgAUqjXbeXNYjpvtvvlEuYZg7QW6kdADGYiOB0=; b=cZsg/kE8srh8OmJ3AsIxUrlRsd7kFZ5G0z0ZNiOUDZA0vqd3xtIAJjDg4fGnbOme4n ei90KyeGcV/NLl36d8RLQwXp1Tkgq/MpA1UEm9RCQ0fy+RSvINIAdXTYpglt7dKGDdhg GcVQlcSEWf+D3UDegvCN9I23OfJozF82zuiQ1gZJ0DBwQUCPTKIK5QlRe/hoePsgUDJ7 WboKeaHFgk2LSVekMFkVDWeYhjYDCnFkueytgpOBgbp8UlSKF0Bya+UE7OTsk4LwlrkJ YE11TckCkNK76qk4nlh9aFiQQQLG62XweIm/SOzj/RmjL5uwccnkB6p5ogPKGDRbcuU+ G7lw==
X-Gm-Message-State: AOPr4FW9uAeQiM4uhSjkLX8Yz8DaFZiBU49DiwtqiBrM1errUYNlZpCTxasDk7xeEYRAltih0Tw9CZe8quc/VA==
X-Received: by 10.107.175.227 with SMTP id p96mr7560910ioo.72.1461730330967; Tue, 26 Apr 2016 21:12:10 -0700 (PDT)
MIME-Version: 1.0
References: <CABkgnnXKDZvLWxkhFP0R4jW=ZyFwqiqQREFA5BFKH9i4PQCmyA@mail.gmail.com> <CO2PR03MB24076724ECF95BDBB9B83E0F83640@CO2PR03MB2407.namprd03.prod.outlook.com>
In-Reply-To: <CO2PR03MB24076724ECF95BDBB9B83E0F83640@CO2PR03MB2407.namprd03.prod.outlook.com>
From: Costin Manolache <costin@gmail.com>
Date: Wed, 27 Apr 2016 04:12:01 +0000
Message-ID: <CAP8-Fqk8p1HkbJkB60UoE=jeQPa9CKorgc8kqSF7sUMS3FcAfQ@mail.gmail.com>
To: Brian Raymor <Brian.Raymor@microsoft.com>, Martin Thomson <martin.thomson@gmail.com>, "webpush@ietf.org" <webpush@ietf.org>
Content-Type: multipart/alternative; boundary=001a11445f5a22863e05316f9dc8
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/cA34GepDqOQeGe4751w-UQwBVT8>
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 04:12:13 -0000

+1

But I'm not sure we can support the mode that Martin described, so I think
we may
take advantage of "PS MAY return a new receipt subscription if it is unable
to reuse".
Buffering and flow control are complicated - the choice is between dropping
receipts
or sending them to a different DC. I haven't checked, but I think there is
no guarantee
on saving receipts if AS doesn't have enough ingress capacity.

One question for HTTP/2 experts: I assumed the receipt promises are subject
to
normal 'max concurrent streams' ( and this will be the main mechanism to do
flow control/balancing from PS to AS). However I see rfc7540:

...
" Note: The client never sends a frame with the END_STREAM flag for

      a server push."


How does the PS know that AS can accept more receipts, and how does it know
a receipt has been accepted by the AS ?



Costin

On Tue, Apr 26, 2016 at 5:29 PM Brian Raymor <Brian.Raymor@microsoft.com>
wrote:

> On Mon, Apr 25, 2016 at 5:02 PM Martin Thomson <martin.thomson@gmail.com>
> wrote:
>
> > Not wanting to steal, Brian's thunder here, but this is the change we
> > discussed during the meeting:
>
> >   https://github.com/webpush-wg/webpush-protocol/pull/84
>
> > It's good stuff, but there's a small wrinkle I thought that I'd raise:
> > https://github.com/webpush-wg/webpush-protocol/issues/85
>
> <snip>
>
> I've adopted Martin's proposal in #85 and made further clarifications
> based on the initial review of the pull request.
> If there are no further comments, I'll merge the pull request on
> Wednesday. I'd like to publish -05 before EOW.
>
> Thanks,
> ...Brian
>
>
>
>
> _______________________________________________
> Webpush mailing list
> Webpush@ietf.org
> https://www.ietf.org/mailman/listinfo/webpush
>