Re: Alt-Svc alternative cache invalidation (ext#16)

Martin Thomson <martin.thomson@gmail.com> Mon, 18 August 2014 17:45 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 047A51A0704 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Aug 2014 10:45:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.67
X-Spam-Level:
X-Spam-Status: No, score=-7.67 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.668, SPF_HELO_PASS=-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 rMLwIwTvQF4Z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Aug 2014 10:45:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 19ADD1A070F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 18 Aug 2014 10:45:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XJQxb-0004yc-RN for ietf-http-wg-dist@listhub.w3.org; Mon, 18 Aug 2014 17:43:11 +0000
Resent-Date: Mon, 18 Aug 2014 17:43:11 +0000
Resent-Message-Id: <E1XJQxb-0004yc-RN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1XJQxM-0004wH-TM for ietf-http-wg@listhub.w3.org; Mon, 18 Aug 2014 17:42:56 +0000
Received: from mail-wi0-f177.google.com ([209.85.212.177]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1XJQxL-0007Ky-RM for ietf-http-wg@w3.org; Mon, 18 Aug 2014 17:42:56 +0000
Received: by mail-wi0-f177.google.com with SMTP id ho1so4057832wib.16 for <ietf-http-wg@w3.org>; Mon, 18 Aug 2014 10:42:29 -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=zBarRf1jADxyn2EgReY/1Nkcc66CVOSq3uAoZnXI9MQ=; b=l0sYVGDvyIejPh+Ce9RW/VHGycobWIljVk4p4UkkMiDc8EalgkLOn/6Ih8i2C1ZRuH YSh8vJt3cjg9JLgHMBLzzhQvTTX/KpM/NhEB/QLJF8wzsK39zatEp9w/mh3DB4ZUsxrZ fMje2f4kZolmz//alrHH6i1X8HrReP4VckUSz3lVfwz+DtaY7AHgkwmQkYOFWbp2xoeg PxhdofyMidspukPXNLIB4eDfeNjhMp/DWFeK6cdHzmGRAQDSzBITZgB9Nxq9D/1b4bWE 83QFifm18cLHC9IQG9lbw7IsUFXSdLFAAahr6uweVPtFrIcl0yJsIP9NkHZhQnH907Vy IYjA==
MIME-Version: 1.0
X-Received: by 10.180.20.71 with SMTP id l7mr527547wie.64.1408383749414; Mon, 18 Aug 2014 10:42:29 -0700 (PDT)
Received: by 10.194.6.229 with HTTP; Mon, 18 Aug 2014 10:42:29 -0700 (PDT)
In-Reply-To: <CAKC-DJgBKoq_M3xMu5115j+OTudSNMNGwOakXjKRP=odVMPn_A@mail.gmail.com>
References: <CABkgnnUDKqPttrp0T-fyrenkgEm=YzwbdmoaJ=Jti3ER1SEAMw@mail.gmail.com> <CAKC-DJgBKoq_M3xMu5115j+OTudSNMNGwOakXjKRP=odVMPn_A@mail.gmail.com>
Date: Mon, 18 Aug 2014 10:42:29 -0700
Message-ID: <CABkgnnXRw7Rc7MJddW4UqSo2=hQ2E2EysLyzcaVM6_xf7h0R9g@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Erik Nygren <erik@nygren.org>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.212.177; envelope-from=martin.thomson@gmail.com; helo=mail-wi0-f177.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.734, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1XJQxL-0007Ky-RM e256aa2edb28e93cb1ab86b766808ed5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Alt-Svc alternative cache invalidation (ext#16)
Archived-At: <http://www.w3.org/mid/CABkgnnXRw7Rc7MJddW4UqSo2=hQ2E2EysLyzcaVM6_xf7h0R9g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/26641
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 18 August 2014 10:37, Erik Nygren <erik@nygren.org> wrote:
> Would it make more sense for (origin) to be the key with a set of (service
> protocol, service endpoint) tuples being the value?  This allows a reset or
> correction (or removal?) by publishing a new set of [(service protcol,
> service endpoint), ...] values.

The problem is that there are two different ways to update the set:

* The Alt-Svc header field bears multiple values and could be used in
the fashion you describe.

* The ALTSVC frame type bears just a single value.

The latter is the problem here.