Re: [CDNi] CDNI Metadata Interface

Kevin J Ma <kevin.ma@azukisystems.com> Tue, 18 October 2011 14:26 UTC

Return-Path: <kevin.ma@azukisystems.com>
X-Original-To: cdni@ietfa.amsl.com
Delivered-To: cdni@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 97ECD21F8C0D for <cdni@ietfa.amsl.com>; Tue, 18 Oct 2011 07:26:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.435
X-Spam-Level:
X-Spam-Status: No, score=-2.435 tagged_above=-999 required=5 tests=[AWL=0.164, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YNxxK0DzgG4l for <cdni@ietfa.amsl.com>; Tue, 18 Oct 2011 07:26:49 -0700 (PDT)
Received: from mxout.myoutlookonline.com (mxout.myoutlookonline.com [64.95.72.241]) by ietfa.amsl.com (Postfix) with ESMTP id 6A7B421F8B68 for <cdni@ietf.org>; Tue, 18 Oct 2011 07:26:49 -0700 (PDT)
Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id B6CFD416E13; Tue, 18 Oct 2011 10:26:48 -0400 (EDT)
X-Virus-Scanned: by SpamTitan at mail.lan
Received: from HUB022.mail.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id C6F37416E3E; Tue, 18 Oct 2011 10:26:37 -0400 (EDT)
Received: from MAILR002.mail.lan ([10.110.18.15]) by HUB022.mail.lan ([10.110.17.22]) with mapi; Tue, 18 Oct 2011 10:26:36 -0400
From: Kevin J Ma <kevin.ma@azukisystems.com>
To: Francois Le Faucheur <flefauch@cisco.com>
Date: Tue, 18 Oct 2011 10:26:35 -0400
Thread-Topic: [CDNi] CDNI Metadata Interface
Thread-Index: AcyNMl7nA3rELonvQR+0+Vx712mQfQAaQjwg
Message-ID: <291CC3F9E50E7641901A54E85D0977C651B6682887@MAILR002.mail.lan>
References: <291CC3F9E50E7641901A54E85D0977C651B50AF9D2@MAILR002.mail.lan> <EBE563EB-FE0D-49C1-8107-4BB2557D2B1A@cisco.com>
In-Reply-To: <EBE563EB-FE0D-49C1-8107-4BB2557D2B1A@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "cdni@ietf.org" <cdni@ietf.org>
Subject: Re: [CDNi] CDNI Metadata Interface
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "This list is to discuss issues associated with the Interconnection of Content Delivery Networks \(CDNs\)" <cdni.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cdni>, <mailto:cdni-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cdni>
List-Post: <mailto:cdni@ietf.org>
List-Help: <mailto:cdni-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cdni>, <mailto:cdni-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Oct 2011 14:26:50 -0000

Hi Francois,

  comments inline:

> From: Francois Le Faucheur [mailto:flefauch@cisco.com]
> Sent: Monday, October 17, 2011 3:43 PM
> To: Kevin J Ma
> Cc: Francois Le Faucheur; cdni@ietf.org
> Subject: Re: [CDNi] CDNI Metadata Interface
> 
> Hello Kevin,
> 
> [with Individual hat on]
> 
> A first set of high level questions:
> 
> * directionality of metadata creation/retrieval/removal/update mechanism:
> Could you clarify which of the above operation you see possibly happening
> in which direction?
> For example, regarding update/removal, do you see:
> 	*a)  the POST possibly being issued towards the uCDN to
> update/remove some metadata in the uCDN repository?
> 	*b) the POST possibly being issued by the uCDN towards the dCDN to
> update/remove some metadata in the dCDN repository (after some out-of-date
> metadata had been retrieved by dCDN from uCDN).
> For example, regarding retrieval, clearly we want the dCDN to issue a GET
> towards the uCDN to acquire metadata. Now do you see that the GET could
> possibly be also issued by the uCDN to check metadata stored by the dCDN?

I think POSTs make the most sense going from upstream to downstream.
The agent was intended to moderate this, since any given pair of CDNs
could be both a uCDN and a dCDN for each other in different domains.

I see no reason why GETs could not go in both directions.  I can see a
case where upstream entities would want to verify downstream entities.

> * in your CDNI metadata model, a "domain" is directly associated with a
> set of "hostnames". So this assumes that the same set of unmodified
> hostnames is used unmodified everywhere in all the potential dCDNs. That
> can be the case in some deployment, but that may not always be the case.
> For example, when HTTP redirection is used across CDNs, an upstream CDN
> may want to modify (possibly hide) the actual content provider hostnames
> (and possibly part of the URI path) when redirecting to a dCDN (I believe
> this is mentioned in the framework).

I was thinking (though it is not noted in the document) that hostname
lists could be different in different dCDNs.  What is not entirely
clear to me is how metadata would get set across cascaded CDNs,
i.e., if the CP contracts CDN-A, and CDN-A makes a deal with CDN-B,
and CDN-B makes a deal with CDN-C, does the CP or CDN-A know about
CDN-C and is the CP or CDN-A responsible configuring metadata on
CDN-C?  Or, is CDN metadata only configured by the most immediate
uCDN (or the CP), i.e., only CDN-B (or the CP) will know the values of
metadata in CDN-C?

> Would you consider modifying your proposed CDNI model to allow for the
> fact that a domain may be "referenced" differently by some dCDNs than by
> the uCDN?
> I think it means:
> 	* the concept of "hostnames" should be made more flexible so it
> matches not just on hostnames but on pattern match over hostname/path.
> Let's call this "resource sets".
> 	* "resource sets" should be dependent on "Agents". So perhaps it
> shoudl be folded inside your "Metadata" so it can be defined on a per
> "dCDN" basis.
> Would that work for you?

Would the goal be to use the entire hostname/uri as a single combined
key?  I do not have a problem with merging them if we think that it
would be useful.

> * in section 3.3.3, you have a couple of examples showing
> "/CDNI/MI/domain". Should those not say "/CDNI/MI/metadata"?

Yep.  Those are cut and paste errors, good catch!  I will fix those.

thanx!

--  Kevin J. Ma
 
> Cheers
> 
> Francois
> 
> 
> 
> 
> On 6 Oct 2011, at 22:21, Kevin J Ma wrote:
> 
> 
> Hi all,
> 
>  Just uploaded a new I-D with a proposed metadata model and API:
> 
>    http://www.ietf.org/internet-drafts/draft-ma-cdni-metadata-00.txt
> 
>  The model takes a rather generic approach to metadata representation
>  to support opaque metadata and addresses some of the security issues
>  associated with metadata retrieval.  Comments welcome.
> 
> thanx.
> 
> --  Kevin J. Ma
> 
> _______________________________________________
> CDNi mailing list
> CDNi@ietf.org
> https://www.ietf.org/mailman/listinfo/cdni
>