Re: [alto] [OPS-DIR] FW: I-D Action: draft-ietf-alto-cost-calendar-18.txt

"Y. Richard Yang" <yry@cs.yale.edu> Fri, 28 February 2020 21:26 UTC

Return-Path: <yang.r.yang@gmail.com>
X-Original-To: alto@ietfa.amsl.com
Delivered-To: alto@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C88023A1E44; Fri, 28 Feb 2020 13:26:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.398
X-Spam-Level:
X-Spam-Status: No, score=-1.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 XT39b4lcLt2u; Fri, 28 Feb 2020 13:26:14 -0800 (PST)
Received: from mail-vs1-f43.google.com (mail-vs1-f43.google.com [209.85.217.43]) (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 106A83A1E43; Fri, 28 Feb 2020 13:26:14 -0800 (PST)
Received: by mail-vs1-f43.google.com with SMTP id t12so2863239vso.13; Fri, 28 Feb 2020 13:26:14 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TDhb6NhhmPUSYa/SiwFsnrx5RigqbjDZNpkmWDcn4bQ=; b=RC+Q//FjFhxsz4FIthaFtqP6zDJNEyMy0Zco82Ym73xDWxQtKzmW/nhHegbKixKQ9R 2+M48Wqrdtd4gg9Ik4dcTKnXxbm8vNZcnx6qd37qN+MHt3cuvW5Due+68JNVcOsUGkUn d5+Yip+oMkTMrxvsVb+U6x5FBxJ8+A+VAdlO6eRHeTtthiYF7XjcfgjoGpc5geMqWZ5U 25HhBDtgWlPOyXJHU999854z7p0vs7vk/t1tZ61yVdE5s5g1mrdEC2FuLf0FyG7aY1Tl M4PK7Lv2ImDhzZh/LT7YId+GuyLbvDHqhPTZgnRRb+ORgaYEhszeYDngTFTJfUTKpfQ2 o9Gg==
X-Gm-Message-State: ANhLgQ1cuc9zmomOqa1OYdxbVvHxpCIdRCZfhjXmifPQmLvuCp1qmlbL gLvQY5za3cvvWr8+sKmBMh8UBHvtiNAmGI9gGd0=
X-Google-Smtp-Source: ADFU+vu2l8YWvN+cTbDsYPRFVgT72IDLcjN/CCWzegZ6jv0//yhfKanLq4OlPuFI8Ha6vR2hng+a9LoPLhITYomQ7MI=
X-Received: by 2002:a67:2701:: with SMTP id n1mr3702401vsn.103.1582925173037; Fri, 28 Feb 2020 13:26:13 -0800 (PST)
MIME-Version: 1.0
References: <158290102597.22328.2781470606904693361@ietfa.amsl.com> <PR1PR07MB5100DA089E6CB57E7C8D8D4B95E80@PR1PR07MB5100.eurprd07.prod.outlook.com> <20200228181749.lvstqfpxwatblmz7@anna.jacobs.jacobs-university.de>
In-Reply-To: <20200228181749.lvstqfpxwatblmz7@anna.jacobs.jacobs-university.de>
From: "Y. Richard Yang" <yry@cs.yale.edu>
Date: Fri, 28 Feb 2020 16:26:01 -0500
Message-ID: <CANUuoLoLymofHhmBGDOcZmRiRkWiZqRB=0w8L06PAO2=Mtzq4w@mail.gmail.com>
To: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
Cc: "Randriamasy, Sabine (Nokia - FR/Paris-Saclay)" <sabine.randriamasy@nokia-bell-labs.com>, The IESG <iesg@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "ops-dir@ietf.org" <ops-dir@ietf.org>, "alto-chairs@ietf.org" <alto-chairs@ietf.org>, "draft-ietf-alto-cost-calendar@ietf.org" <draft-ietf-alto-cost-calendar@ietf.org>, IETF ALTO <alto@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a5218c059fa97cea"
Archived-At: <https://mailarchive.ietf.org/arch/msg/alto/K6TbOubU0uHFtbcFZ7v4c0dY-5g>
Subject: Re: [alto] [OPS-DIR] FW: I-D Action: draft-ietf-alto-cost-calendar-18.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Application-Layer Traffic Optimization \(alto\) WG mailing list" <alto.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/alto>, <mailto:alto-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/alto/>
List-Post: <mailto:alto@ietf.org>
List-Help: <mailto:alto-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/alto>, <mailto:alto-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Feb 2020 21:26:16 -0000

Dear Jürgen,

Always excellent comments. Please see below.

On Fri, Feb 28, 2020 at 1:18 PM Schönwälder, Jürgen <
J.Schoenwaelder@jacobs-university.de> wrote:

> On Fri, Feb 28, 2020 at 03:00:31PM +0000, Randriamasy, Sabine (Nokia -
> FR/Paris-Saclay) wrote:
> > Dear IESG reviewers, Jürgen, Brian, Barry,
> >
> > Thank you very much for your review and suggestions. Upon your feedback,
> we have posted a new version 18, that hopefully addresses your comments.
> > Besides, some lower/upper case typo harmonization has been done on
> expressions such as "Client", "Server", "cost type".
> > We look forward to having your feedback,
> >
>
> Thanks for the changes. All looks good but I am still struggling a bit
> with the type change of the cost field. Revision -18 has this new
> text:
>
>    [...] Therefore the implementor of this extension MUST consider
>    that a cost entry is an array of values.
>
> I do not really understand what this MUST tries to achieve or what you
> expect an implementer to do exactly.
>
> RFC 7285 section 11.2.3.6 says:
>
>    [...] An implementation of the protocol in this document
>    SHOULD assume that the cost is a JSONNumber and fail to parse if it
>    is not, unless the implementation is using an extension to this
>    document that indicates when and how costs of other data types are
>    signaled.
>
> It may help to spell out 'when and how costs of other data types are
> signaled' instead of writing "the implementor [...] MUST consider". If
> the idea is that the usage of an array is signaled by the usage of an
> array, then say so, if there is some other way to signal this before I
> try to parse, then say so as well. We should not rely on implementers
> to consider and find their own solutions.
>
> /js
>
> PS: I do not know much about ALTO but out of curiosity: has it been
>     considered to allocate new "cost-mode" values "numerical*" and
>     "ordinal*" that signal that the cost field is a vector of
>     numerical/ordinal values and not just a scalar?
>
>
It indeed can help a lot if we could introduce a new cost mode, but the
change would be
more substantial.

Looking at your proposal on spelling out "when and how costs of other data
types are
signaled," which is an excellent suggestion. How does the following look:

"... Therefore the implementor of this extension MUST consider that a cost
entry is an
array of values. Specifically, an implementation of this extension MUST
parse
the "number-of-intervals" attribute of the "calendar-attributes" in an IRD
entry
announcing a service providing Cost Calendar. The implementation then will
know that a cost entry of the service will be an array of values, and the
expected
size of the array is that specified by the "number-of-intervals" attribute.

Richard








> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>