Re: New Version Notification for draft-nottingham-cache-header-00.txt

Alex Rousskov <rousskov@measurement-factory.com> Tue, 11 September 2018 06:36 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D564130E3C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 10 Sep 2018 23:36:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.65
X-Spam-Level:
X-Spam-Status: No, score=-2.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 k4xHGw7tpxTd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 10 Sep 2018 23:36:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 827871277CC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 10 Sep 2018 23:36:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1fzcFW-0004q0-Pv for ietf-http-wg-dist@listhub.w3.org; Tue, 11 Sep 2018 06:34:10 +0000
Resent-Date: Tue, 11 Sep 2018 06:34:10 +0000
Resent-Message-Id: <E1fzcFW-0004q0-Pv@frink.w3.org>
Received: from uranus.w3.org ([128.30.52.58]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <rousskov@measurement-factory.com>) id 1fzcFL-0004oa-JO for ietf-http-wg@listhub.w3.org; Tue, 11 Sep 2018 06:33:59 +0000
Received: from www-data by uranus.w3.org with local (Exim 4.89) (envelope-from <rousskov@measurement-factory.com>) id 1fzcFL-0007PV-A4 for ietf-http-wg@listhub.w3.org; Tue, 11 Sep 2018 06:33:59 +0000
Received: from titan.w3.org ([2603:400a:ffff:804:801e:34:0:4c]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <rousskov@measurement-factory.com>) id 1fzOp5-0001lb-DZ for ietf-http-wg@listhub.w3.org; Mon, 10 Sep 2018 16:13:59 +0000
Received: from mail.measurement-factory.com ([104.237.131.42]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <rousskov@measurement-factory.com>) id 1fzOp4-0003zW-1v for ietf-http-wg@w3.org; Mon, 10 Sep 2018 16:13:59 +0000
Received: from [65.102.233.169] (unknown [65.102.233.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.measurement-factory.com (Postfix) with ESMTPSA id A9714E04C for <ietf-http-wg@w3.org>; Mon, 10 Sep 2018 16:13:36 +0000 (UTC)
To: ietf-http-wg@w3.org
References: <153630251281.11674.4222139546682549239.idtracker@ietfa.amsl.com> <AEDC275A-8CE2-48F4-B08A-8791FB0443B1@mnot.net>
From: Alex Rousskov <rousskov@measurement-factory.com>
Message-ID: <cc6f638c-6ad8-a7b3-c8d1-5f83db0c408f@measurement-factory.com>
Date: Mon, 10 Sep 2018 10:13:36 -0600
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <AEDC275A-8CE2-48F4-B08A-8791FB0443B1@mnot.net>
Content-Type: text/plain; charset="windows-1252"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-W3C-Hub-Spam-Status: No, score=-3.9
X-W3C-Hub-Spam-Report: AWL=0.001, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1fzOp4-0003zW-1v 087865453d446eb70d5ee3a38bd1d628
X-caa-id: 5565c4a843
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-nottingham-cache-header-00.txt
Archived-At: <https://www.w3.org/mid/cc6f638c-6ad8-a7b3-c8d1-5f83db0c408f@measurement-factory.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/35900
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 09/07/2018 12:44 AM, Mark Nottingham wrote:
> FYI; IMO it's past time to standardise x-cache and have a real spec for it. 
> 
> This is a straw-man, based on a bit of research on existing implementations.
> 
> Pretty version at:
>   https://mnot.github.io/I-D/cache-header/
> 
> Comments? I think the primary audience here is proxy cache and CDN
> vendors, and their users.


If we are to standardize X-Cache, then we should be mindful of the trap
created by early implementations that thought a single action value can
adequately relay what has happened at the proxy:

1. The obvious HIT and MISS actions came first.

2. Then we quickly discovered that a "we found it in the cache" HIT
action is often followed by a REFRESH action (and a resulting MISS from
the proxy-server traffic point of view). HIT_REFRESH... concatenations
were used to combat this.

3. Realizing that even fresh cache HITs may become misses due to various
protocol requirements and internal problems, some added X-Cache-Lookup
that was dedicated to the first (and often critical for triage) cache
lookup, depicting what happened to that HIT later in X-Cache.

4. Then flash crowds and collapsed forwarding solutions came along. Now,
a single client HIT or MISS request could cause even more transactions,
some of which could be cache hits, some could be revalidations or even
errors. Some added COLLAPSED_HIT_REFRESH... and/or other variants. This
concatenation approach still loses a lot of info, but it highlights the
fact that a lot of info could be lost by including the COLLAPSED tag.

If the goal here is to standardize the current status quo, then the
document should cover Cache-Lookup and COLLAPSED tags (and/or their
variations).

If the goal here is to standardize a scalable solution based on the
current experience, then we should combine Cache-Lookup and Cache while
enumerating individual cache actions as separate same-node entries
(instead of trying to merge them into a single FOO_BAR_BAZ super-action
summary for one node).


Cheers,

Alex.