Re: [alto] First set of comments on draft-ietf-alto-multi-cost-00.txt

"Y. Richard Yang" <yry@cs.yale.edu> Mon, 20 July 2015 05:34 UTC

Return-Path: <yang.r.yang@gmail.com>
X-Original-To: alto@ietfa.amsl.com
Delivered-To: alto@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 94DF31B2FC2 for <alto@ietfa.amsl.com>; Sun, 19 Jul 2015 22:34:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level:
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=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 l18FNwqcPBmk for <alto@ietfa.amsl.com>; Sun, 19 Jul 2015 22:34:38 -0700 (PDT)
Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (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 54D8C1B2FC1 for <alto@ietf.org>; Sun, 19 Jul 2015 22:34:38 -0700 (PDT)
Received: by igvi1 with SMTP id i1so69531925igv.1 for <alto@ietf.org>; Sun, 19 Jul 2015 22:34:37 -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:date:message-id:subject :from:to:content-type; bh=Xn5t8oxYeO0wLs9WWQZOgnItovni6qpZMLiQz3/3NRQ=; b=h0rKUrOx9NU3EwIxbj633rhxuJDtu3xQzkN3asoCNQa3rW9B2kJ7LGI+60rvWDK0xy ZA7hPWdZYmzHzUkk5uSmuQtz+CpOxhc5fLKsQNYwPAedXLYa5TZ4F1v939UE2c9Orp0L jkvw3CiJeNUIH3Nf2wmffYLatAmXu9THGlvMqXTdVi4urIu5mhQ7tqoVM9wT9RhEuUBz M1pk46iTY4fbliqA5AtBrnph1nbGUtXSqhz/gfmBN58FeOAl93ofDmHkesOuM+WrDmVf C9MJPgbFwadyz3FHWEZMLeWzy6UuqePmc63lVIydJvNw7s8peAV6PCRZCp0fFA2+oQ3n Sqrw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yale.edu; s=googleprd; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=Xn5t8oxYeO0wLs9WWQZOgnItovni6qpZMLiQz3/3NRQ=; b=JAGEgboImej/vXkfcHBiYh1nDhG8Dm6kI834FKmtmNaFrfBoieNRNQk1pDOgqklVpb Rrwz7Jhe3Eq14dhJlDNdAAOUOFEGgz7L1XdLOVZgMymOuj5ASj9IL2OqeqYwCgV4369G 0HyOaGRNq3wgexFEw0Q9rY/P7satJqCr5UwjY=
MIME-Version: 1.0
X-Received: by 10.50.57.102 with SMTP id h6mr11539011igq.72.1437370477870; Sun, 19 Jul 2015 22:34:37 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.36.141.70 with HTTP; Sun, 19 Jul 2015 22:34:37 -0700 (PDT)
In-Reply-To: <CANUuoLoOVV=hEwA=bHe2T_y1-i7OeHtmYtiyzfCyoF8RhjNB4A@mail.gmail.com>
References: <CANUuoLoOVV=hEwA=bHe2T_y1-i7OeHtmYtiyzfCyoF8RhjNB4A@mail.gmail.com>
Date: Mon, 20 Jul 2015 13:34:37 +0800
X-Google-Sender-Auth: 4KwfXBMcjCS9bjWLfMx2yGKfwZE
Message-ID: <CANUuoLp1ipBKdFPDYqeWPTJhTUT=GE7LxNAaGfaTQ0=V1E_i3g@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: IETF ALTO <alto@ietf.org>
Content-Type: multipart/alternative; boundary="047d7bdc165ebe85b7051b47e462"
Archived-At: <http://mailarchive.ietf.org/arch/msg/alto/weAl04r5NwZvQtUCK_Emi8lKwoY>
Subject: Re: [alto] First set of comments on draft-ietf-alto-multi-cost-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 20 Jul 2015 05:34:40 -0000

Sabine, Wendy, Nico,

My previous comments focused more on the details. At a high level, I feel
that the current writeup did reflect fully the principle and the cleverness
in your design :-)

For example, for both Introduction and Overview, I would use the following
storyline:
- Multi cost is beneficial (already exists)
- What are the design options then?
  Option 1: introduce a new media type? But one should follow a principle
of minimizing the number of media types, avoid duplication, ...
  Option 2: Assume no media type. First show that full cost map cannot be
extended.
  Then your key insight is that filtered cost map (whose capabilities field
allows multiple cost types already) allows the introduction of multicost
without the need of a new media-type, assuming conforming client behaviors.

I feel that the preceding will make the document easier to understand.

Do I understand you correctly?

I will read the detailed grammar next.

Richard

On Mon, Jul 20, 2015 at 1:10 PM, Y. Richard Yang <yry@cs.yale.edu> wrote:

> Dear Sabine, Wendy, Nico,
>
> Great work in the multi-cost document! I read the first sections (before
> Section 4, which provides the formal grammar). I will dig into the formal
> spec in the next one or two days. In the mean time, please see below for
> initial (some quite minor) comments.
>
> =====
> page 4:
>   IETF has designed a new service called ALTO that provides guidance to
>    overlay applications, which have to select one or several hosts from
>
>  [yry] Is there a need to emphasize on overlay?
>
>   This guidance is based on parameters that affect performance and
>    efficiency of the data transmission between the hosts, e.g., the
>    topological distance.  The purpose of ALTO is to improve Quality of
>
>  [yry] The location of "e.g., ..." makes it a bit hard to read. I assume
> that it is an example of guidance? If so, how about move to be after "This
> guidance"?
>
>   System (AS).  Together with this Network Map, it provides the
>
>  [yry] "this Network Map" is not defined.
>
>    Last, it provides the Ranking of Endpoints w.r.t. their routing cost.
>
>  [yry] The preceding is cost map centric. Since there is also the ECS, how
> about mention cost map just as an example?
>
>    It would be ...
>    emerging applications that need information on several Cost Types,
>    having them gathered in one map will save time.
>
>   [yry] Another potential aspect is consistency: since it is a single
> batch,
>   it is less likely to be inconsistent.
>
> page 5:
>   o  {1.2.3}: References of this form are to sections in the ALTO
>       protocol specification [RFC7285].
>
> [yry] What if you want to refer to a section in this document? Maybe
> mention that if it is a section in this document, there will be no {}?
>
>      client to include the case of a CDN client, a client of an
>       application running on a virtual server, a GRID application client
>
> [yry] GRID or Grid?
>
> page 6:
>    The multi-cost extensions defined in this document should not break
>    legacy implementations (that is, clients and servers which are not
>    aware of these extensions).
>
> [yry] "should not" is not a normative term here. I wonder what a legacy
> client will behave if it seems an array. One issue is that the "meta"
> field will not be compatible.
>
> page 7:
>                                "num-hopcount" ],
>           ...
>         }
>
> [yry] The max-cost-types is 3, and the example has two types. So it is an
> example of max?
>
> page 8:
>    This document uses the technique described above to extend Endpoint
>
>  [yry] replace "above" with Section 3.3?
>
>    destination PIDs.  Hence a client can use an extended Filtered Cost
>    Map resource to get a full Multi Cost Map.
>
> [yry] So the implication is that multi cost maps are provided and
> retrieved only by filtered cost maps? How about make it clear upfront, in
> intro?
>
> page 8:
>   Second, the "AND" of simple predicates is not sufficient; to be
>    useful, clients must be able to express "OR" tests.  Hence we add a
>
> [yry] To support "is not sufficient", how about refer to the previous
> example using or?
>
> page 8:
>   Thus the following request tells the server to limit its response to
>    cost points with "routingcost" <= 100 AND "hopcount" <= 2, OR else
>    "routingcost" <= 10 AND "hopcount" <= 6:
>
> [yry] So it is disjunctive normal form without not? Then why not include
> "not", to be compete?
>
> page 9:
> 4.  Protocol Extensions for Multi-Cost ALTO Transactions
>
> [yry] How about adding a transition sentence to say that now it is formal
> spec?
>



-- 
-- 
 =====================================
| Y. Richard Yang <yry@cs.yale.edu>   |
| Professor of Computer Science       |
| http://www.cs.yale.edu/~yry/        |
 =====================================