[CDNi] draft-goldstein-cdni-metadata-model-extensions

Kevin Ma <kevin.j.ma.ietf@gmail.com> Mon, 08 November 2021 02:53 UTC

Return-Path: <kevin.j.ma.ietf@gmail.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 89BB13A07AA for <cdni@ietfa.amsl.com>; Sun, 7 Nov 2021 18:53:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 j1GN3ilMo9QT for <cdni@ietfa.amsl.com>; Sun, 7 Nov 2021 18:53:44 -0800 (PST)
Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (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 C6F2F3A07A5 for <cdni@ietf.org>; Sun, 7 Nov 2021 18:53:44 -0800 (PST)
Received: by mail-pg1-x52e.google.com with SMTP id s136so13872786pgs.4 for <cdni@ietf.org>; Sun, 07 Nov 2021 18:53:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=dm8cspTPrwrWw9WckSgWKhwl4dpzUksTgUWx2KYKaQI=; b=bPOnpvU90ZdvGz4/VsKrjRURxsCnFYg3QX93zZ7KnJGCgkuGZjKf/DBrTaPFddAT0i QhWdQZJLpA60jpS7d7qFiHRPIHU6lIsHcUf/7uQFplw0IjmjnysHO6KROOGqL8xhs6W1 qbPVxbmQ23G+H0cEcDFdXuP4Xalcau2n/yFU9LsV8qmiUKXmEM1+H5iiEO6KKQKPZ+dH zdziDJZgu8rAmNIOhjyccJsalv0QuipjSYxg9ETaemiVKEmS+b/Pz0G4vz8mBVyZg+AP YwkUFU7SnogjdMiilhoA7vc3Z5oeP9HmYGSmNDg5QMgmBMYLPfDA4f9C8ZZxnFQ9/RIa yGiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dm8cspTPrwrWw9WckSgWKhwl4dpzUksTgUWx2KYKaQI=; b=Sa5ewhwdVddXdO+p7n8HLUE3rYuQUmeB7al2Bfhki1Hc4pXtZgGERFMbo0myAkNqjf s+f0tPkL8Xsi3x8mUZcf7RP6ysgvyWY8MgU4tHnnTyBxpWMJRqw4fFiS+AbwGZiQDFYb 6fhRr6z1Mb+zAiWzHvF4Mr0ocW7pOQ3gewidefpgIktorh+sY7rAxym7frtOab12WgJ7 16EPsYbQLkj3/LPT7/21I5BLz4N4i/teaIF2YGtI4kSeiimelkyaU9hYcAdfgq4cz9aC xvC2qZ3GXn9wLsQ+rkIkYmQadX7EMtbFpUAl3F+j/fMbvjtV9dHiqb1ifvOvYDte4WN7 Fitg==
X-Gm-Message-State: AOAM532lpqW4ccDvMjiZIoGiDmIhce5wfo1bqVpEdP8gco5i7nMzhlP+ JqNho98LQLF+gR7LwCyHe62NxIYw66i8Jn/gsiOMy0jD034=
X-Google-Smtp-Source: ABdhPJx66C9xdZ7muih0eMcgt1ohHUh8CfDxo+7qWlfrZq8qcCU1K5l3M835HuN/edYu1EzRf4Fngh/vsWXrZpcZMDQ=
X-Received: by 2002:a62:760a:0:b0:494:6fa0:60a2 with SMTP id r10-20020a62760a000000b004946fa060a2mr27388587pfc.39.1636340023041; Sun, 07 Nov 2021 18:53:43 -0800 (PST)
MIME-Version: 1.0
From: Kevin Ma <kevin.j.ma.ietf@gmail.com>
Date: Sun, 07 Nov 2021 21:53:32 -0500
Message-ID: <CAMrHYE3Men1jD4x6MMQZ6o_VOMrAysubS6U10CVhTm+mDPN=Dg@mail.gmail.com>
To: "<cdni@ietf.org>" <cdni@ietf.org>, "Goldstein, Glenn" <Glenn.Goldstein@lumen.com>
Content-Type: multipart/alternative; boundary="000000000000ce239205d03e1984"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/DFgf4RvBSzmu_5OWDm6POJCbndo>
Subject: [CDNi] draft-goldstein-cdni-metadata-model-extensions
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 08 Nov 2021 02:53:50 -0000

Hi Glenn,

  Thanks for the updated draft.  This version contains a lot more detail.
As a general comment, I wonder if it would be more manageable if the
metadata were somehow logically grouped and broken out into separate
documents with more use case descriptions (e.g., processing stages could be
an independent draft)?  Detailed comments below (note: I've only made it
through section 2).

  I need to go through the MEL section in detail, but I assume we have
looked to see if there is any existing framework or specification that
might cover these needs without having to specify a whole new MEL?

thanx!

--  Kevin J. Ma

- section 2.1.1: Is header-value an actual key?  or some token derived from
a key?  Where does the secret-sharing API come in to play?
- section 2.1.2: is secret-access-key an actual key?  Could it be accessed
from a vault in some more secure way using the access-key-id, rather than
embedding the actual key?  Where does the secret-sharing API come in to
play?
- section 2.2: add cross reference for HeaderTransform
- section 2.2: @ithout this metadata today, a dCDN is free to choose to
compress?  It feels more natural to make the default true or change the
metadata to DisallowCompress?  Otherwise, without an FCI advertisement of
whether the dCDN supports the metadata, it's hard to know what its default
behavior will be?
- section 2.3: I'm curious about the use case.  The uCDN could just set the
desired cache policy in the response, rather than setting the metadata.  Is
the primary use case where the uCDN does not want to set the cache policy
in each response and wants a default in the metadata?  Or is there
something else?  Is it to have a push interface (note: the triggers API
provides a way to invalidate)?
- section 2.3: "dCDN. overriding" -> "dCDN, overriding"
- sectino 2.5.1: I'm not sure what "List of valid URLs only scheme and host
name" means.  Is that to say the URLs only have a scheme and hostname
(i.e., no uri path)?  And is the port explicity excluded, or is it an
RFC3986 "authority" (i.e., user, host or ip, and port
https://datatracker.ietf.org/doc/html/rfc3986#section-3.2)?  Perhaps "List
of valid URLs (where the URLs contain only a scheme and authority)"?  Note:
In order to find the metadata, a request must already have matched a host
in the HostMatch object, so depending on what is in the HostMatch, this
could be redundant?  Is this something that could be simplified?
- section 2.6: "it may be desirable to cache error responses at the uCDN
for a short period of time to prevent an overwhelmed origin service from
being flooded with requests"?  Replace 's/uCDN/dCDN/' and 's/origin
service/uCDN/' ?
- section 2.6: Could the uCDN specify the cache policies in the response?
- section 2.6: "Sextions" -> "Sections"
- section 2.7: Is the intent that this metadata would be pulled from the
uCDN on every request and that the uCDN would made decisions based on the
requestor: "CacheBypassPolicy only applies to the current request"?  Though
not explicity prohibited by the MI, it goes a bit beyond the original
intent of the metadata cacheability.
- section 2.8: "OcnDeliver yObject" -> "OcnDelivery Object"
- section 2.8.1: Combine the two Mandatory-to-Specify bullets?
- section 2.9.1: Do you envision a registry for the private features?
- section 2.12: I would expect the type to come from the redirection modes
registry (
https://www.iana.org/assignments/cdni-parameters/cdni-parameters.xhtml#capabilities-redirection-modes
)?
- section 2.13: I'm not clear what the two tiers are.  In the case of a
static ID, would the existing ccid metadata (
https://datatracker.ietf.org/doc/html/rfc8006#section-4.2.8) suffice?
- section 2.13: "model sis" -> "model is"
- section 2.14.1: "use cases requires" -> "use cases require"
- section 2.14.1: For ease of understanding, should probably just duplicate
the acquistion-auth, endpoints, and protocol properties
- section 2.14.2: Is the intent to create a registry for load balancing
algorithms?
- section 2.16: "vod" and "live" are fairly video specific; could this be
more generically categorized?  is the intent to convey information about
source acquisition (e.g., you may have to wait for live content to become
available vs you may be able to prefetch vod), delivery pacing or rate
limiting, both, neither, or other?
- section 2.16: "it should be noted" -> "It should be noted"