Re: Informal meeting on blind caching

Erik Nygren <erik@nygren.org> Thu, 28 July 2016 14: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 414F012D77B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 28 Jul 2016 07:36:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.207
X-Spam-Level:
X-Spam-Status: No, score=-8.207 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, 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 9WAjlL2uSjvY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 28 Jul 2016 07:36:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CD17212D7B1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 28 Jul 2016 07:36:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bSmM6-0006V7-5M for ietf-http-wg-dist@listhub.w3.org; Thu, 28 Jul 2016 14:32:10 +0000
Resent-Date: Thu, 28 Jul 2016 14:32:10 +0000
Resent-Message-Id: <E1bSmM6-0006V7-5M@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <nygren@gmail.com>) id 1bSmM0-0006UD-Ub for ietf-http-wg@listhub.w3.org; Thu, 28 Jul 2016 14:32:04 +0000
Received: from mail-io0-f179.google.com ([209.85.223.179]) by maggie.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <nygren@gmail.com>) id 1bSmLv-0008Un-DU for ietf-http-wg@w3.org; Thu, 28 Jul 2016 14:32:04 +0000
Received: by mail-io0-f179.google.com with SMTP id 38so101212740iol.0 for <ietf-http-wg@w3.org>; Thu, 28 Jul 2016 07:31:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=wpNiDK2AHA/mmliz45shFbtpgeXC/ML/XAp2gQbeODk=; b=QN7Y07U1J+moXwMA3UznpVwuNvHqNNws4FlE6hP+eI821MsmQwLkg5of3zrq8Blc2a xMQ04zeUPMv6VL5fFsC+d2sU1hkTCSPlpswy6mJ5hoZq16b3lHZpdv/hxQZAXR7FFUrH yN7m47UKztJInobZwM1RNZ29v2RKwLl/V+WVUSLBpzTkLkR8fC0EPzCgMx4J5tDLV3t7 O6EsMnTXrSBydMXEcTsGKkvDe1kfzG0oG+p7GpqI9S/GCAGsy+WFqvTkX5eV8syvGgnZ tmmfa4OW9fUK2BDqRbsuFJ5tCWog2TfFqSpbmgiqp3y34k3byQ39HocOVERAjej7PNJP Hq5Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=wpNiDK2AHA/mmliz45shFbtpgeXC/ML/XAp2gQbeODk=; b=nAo1GQlVr7goZPlxK+06R5wWc8TtnEyAuhYvi7gpQC0PH5B89ObsQcHXJ9oSOeTgSZ 26lvnzH2UsF/qRGLIo7hH3Z1/ka2C6p0k2enFm1GZ3J1kiIXLZNsPmmLbZakoivg1GSD srgu8y1+lH5ELen2N/lhr31L9zBL5TC56Au+eZBMD8FoQShYFcK/PWxKsb2o/dfER3QE cIG4jTQDTNJv3m4gl9Vpdx80SZ4vnaSP/V6dcaOvQEuFhejW05UW3QdxFg9G1IZZvTFA irJHSqGMS5vpn9++TH4MJ1XRvYfM1/4aXpfUBZxTl3jCFUZF8fyCwgJoIgMN9Y/E+/Pa foWw==
X-Gm-Message-State: AEkoouuEfnU5f6mz+xlrMIg3pAzSpdVzlWsVYBL+1oefZShgxSfkQ3bIBMv4h/3oNMIVbIXyTmAwzuZooEPavw==
X-Received: by 10.107.44.66 with SMTP id s63mr39116310ios.186.1469716292734; Thu, 28 Jul 2016 07:31:32 -0700 (PDT)
MIME-Version: 1.0
Sender: nygren@gmail.com
Received: by 10.107.137.69 with HTTP; Thu, 28 Jul 2016 07:31:31 -0700 (PDT)
In-Reply-To: <03a5d205-4713-bd10-35ab-8efefbdce525@rd.bbc.co.uk>
References: <CABkgnnXYSxyS2hg5aUxT8R2c_M44OoR=g8-7U1iGjNeqXT-zJQ@mail.gmail.com> <57988DF6.9010501@rd.bbc.co.uk> <03a5d205-4713-bd10-35ab-8efefbdce525@rd.bbc.co.uk>
From: Erik Nygren <erik@nygren.org>
Date: Thu, 28 Jul 2016 10:31:31 -0400
X-Google-Sender-Auth: p4Hfrh1L-QYL3vCPcmy8JORM0eE
Message-ID: <CAKC-DJhpGy-senisEFaANrLDXE5_AtZK9kP32rX41OXVYKYXxQ@mail.gmail.com>
To: Richard Bradbury <richard.bradbury@rd.bbc.co.uk>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11393e168c95a20538b2fdcc"
Received-SPF: pass client-ip=209.85.223.179; envelope-from=nygren@gmail.com; helo=mail-io0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-5.3
X-W3C-Hub-Spam-Report: AWL=-0.682, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1bSmLv-0008Un-DU f28862bbad94d13e873691ea95a201ac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Informal meeting on blind caching
Archived-At: <http://www.w3.org/mid/CAKC-DJhpGy-senisEFaANrLDXE5_AtZK9kP32rX41OXVYKYXxQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32071
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>

For the "Blind caching in a CDN edge cache that is acting as a delegated
origin server" scenario I think we'd be better off separating out the
high-level mechanism (ie, getting oob-encoding) right from the actual
business model and implementation details for how the caches get
populated.  The former is something we can tractably do here (have a way to
delegate content bodies out to third-parties) but the latter is something
that could easily fill up its own working group to get all of the details
worked through.

I also think that we shouldn't refer to "CDN" in this scenario as much as
referring to delegating between a server acting as an authoritative origin
and a collection of servers at a lower trust level.  (In some deployment
scenarios, the former might be a CDN and the latter might be either a
different trust tier of CDN nodes or federated-but-less-trusted partners.)

The specific blind caching with a configured proxy cache is a well-defined
use-case, but the others have many different ways to implement that trying
to standardize something now before there has been more experience with
implementations and business models seems like asking for trouble (and is
something that some of us may be less interested in than in defining common
underlying mechanisms and affordances to allow developing technologies in
this area).

        Erik




On Thu, Jul 28, 2016 at 5:07 AM, Richard Bradbury <
richard.bradbury@rd.bbc.co.uk> wrote:

> On 27/07/2016 11:33, Richard Bradbury wrote:
>
> On 17/07/2016 18:03, Martin Thomson wrote:
>
> We are having a meeting on blind caching on Tuesday 08:30 in
> Charlottenburg I.  Folks who are interested are invited to join us.
>
> Rough agenda is to discuss what this is, the status of specs and
> implementations.  Then we are looking to get some input on the work
> that has been done and what might need to happen next.
>
> For those not familiar with this, the following drafts are recommended reading:https://tools.ietf.org/html/draft-thomson-http-scdhttps://tools.ietf.org/html/draft-thomson-http-bchttps://tools.ietf.org/html/draft-reschke-http-oob-encodinghttps://tools.ietf.org/html/draft-thomson-http-micehttps://tools.ietf.org/html/draft-ietf-httpbis-encryption-encoding
>
>
> Hi. Thanks for an interesting session last week.
>
> Based on my reading of the Internet Drafts I think these are the two main
> Use Cases under consideration here:
>
>    1. *Blind caching in a CDN edge cache that is acting as a delegated
>    origin server.*
>       - Described in draft-thomson-http-scd.
>       - Making use of the techniques described in
>       draft-reschke-http-oob-encoding, draft-thomson-http-mice and
>       draft-ietf-httpbis-encryption-encoding.
>       2. *Blind caching in an explicitly configured proxy server.*
>       - Described in draft-thomson-http-bc.
>       - Making use of the techniques described in
>       draft-reschke-http-oob-encoding, draft-thomson-http-mice and
>       draft-ietf-httpbis-encryption-encoding.
>
> The discussion in Berlin last Tuesday morning flowed fairly freely between
> the two Use Cases, so I just wanted to check my understanding.
>
>
> OK. Now I feed I understand Use Case 2 better, I attach a couple of
> sequences describing my (incomplete) understanding of Use Case 1 above. The
> main question in my mind here is whether the resources are explicitly
> pushed into the CDN cache (what I have called "Mode P") or whether they are
> retrieved on demand from the origin server by the CDN only on cache miss
> ("Mode G").
>
> Perhaps you are looking to support both modes of operation? The Internet
> Draft could usefully clarify this.
> *Mode G* In the cache pull-through mode, there appears to be a
> requirement for the CDN to know the resource mapping in order to support
> the URL obfuscation feature. But that appears to negate one of the key
> benefits of the feature – keeping the mapping secret from the CDN provider.
> I'm clearly missing something here. Or maybe URL obfuscation just doesn't
> fly in this mode, which would be a shame since this is our primary mode of
> operation for some media types.
> *Mode P* With the push mode, the resource mapping can remain secret to
> the origin server, which is great. But the mechanism for pushing content
> onto the CDN remains a bit of a mystery, so I have made an educated guess
> on my diagram. Perhaps you intend this mechanism to remain private? In
> which case, perhaps the Internet Draft could include a note to this effect?
>
> Clarifications and comments gratefully received.
>
> Regards,
>
> --
> Richard Bradbury | Lead Research Engineer
> BBC Research & Development
> Centre House, 56 Wood Lane, London  W12 7SB.
> T: 0303 040 9672  F: 020 8811 8815
>
>