Re: [alto] ALTO Extension: A document defining multi-metrics filtering?

Greg Bernstein <gregb@grotto-networking.com> Mon, 14 October 2013 14:54 UTC

Return-Path: <gregb@grotto-networking.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 EAEE321E8179 for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 07:54:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 G1Dk2BXyIf5j for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 07:54:03 -0700 (PDT)
Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by ietfa.amsl.com (Postfix) with ESMTP id 9AA7C21E80C1 for <alto@ietf.org>; Mon, 14 Oct 2013 07:53:57 -0700 (PDT)
Received: from [192.168.0.124] (c-67-170-243-110.hsd1.ca.comcast.net [67.170.243.110]) by smtp.webfaction.com (Postfix) with ESMTP id 4AB5E209628E; Mon, 14 Oct 2013 14:53:55 +0000 (UTC)
Message-ID: <525C0581.5090104@grotto-networking.com>
Date: Mon, 14 Oct 2013 07:53:53 -0700
From: Greg Bernstein <gregb@grotto-networking.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
MIME-Version: 1.0
To: "Y. Richard Yang" <yry@cs.yale.edu>, IETF ALTO <alto@ietf.org>
References: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com>
In-Reply-To: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com>
X-Enigmail-Version: 1.5.2
Content-Type: multipart/alternative; boundary="------------050200020900060107090007"
Cc: Wendy Roome <W.Roome@alcatel-lucent.com>, "choits@etri.re.kr" <choits@etri.re.kr>, Qin Wu <bill.wu@huawei.com>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 14 Oct 2013 14:54:08 -0000

Hi Richard, in our expired draft on  large bandwidth uses
cases,http://tools.ietf.org/html/draft-bernstein-alto-large-bandwidth-cases-02,
we were counting on some type of multi-cost extension (see section 5).
Hence, I concur with your assessment of the need and usefulness of such
an extension.
Cheers

Greg B.
On 10/13/2013 4:57 PM, Y. Richard Yang wrote:
> Dear all,
>
> The base ALTO protocol
> (http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt) is mostly a
> single-cost-metric centric:
>
> - The Cost Map filtering service uses only one cost-type (Sec. 11.3.2.3):
>
>      object {
>      CostType   cost-type;
>      [JSONString constraints<0..*>;]
>      [PIDFilter  pids;]
>    } ReqFilteredCostMap;
>
>    object {
>      PIDName srcs<0..*>;
>      PIDName dsts<0..*>;
>    } PIDFilter;
>
> ...
>  constraints  Defines a list of additional constraints on which
>       elements of the Cost Map are returned.  This parameter MUST NOT be
>       specified if this resource's capabilities (Section 11.3.2.4)
>       indicate that constraint support is not available.  A constraint
>       contains two entities separated by whitespace: (1) an operator,
>       'gt' for greater than, 'lt' for less than, 'ge' for greater than
>       or equal to, 'le' for less than or equal to, or 'eq' for equal to;
>       (2) a target cost value. 
>
> - The Endpoint Cost service allows filtering (Sec. 11.5.1.3) as well,
> and is similar to Cost Map Filtering:
>
>    object {
>      CostType          cost-type;
>      [JSONString       constraints<0..*>;]
>      EndpointFilter    endpoints;
>    } ReqEndpointCostMap;
>
>    object {
>      [TypedEndpointAddr srcs<0..*>;]
>      [TypedEndpointAddr dsts<0..*>;]
>    } EndpointFilter;
>
>    constraints  Defined equivalently to the "constraints" input
>       parameter of a Filtered Cost Map (see Section 11.3.2).
>
> In other words, in the base protocol, the filtering condition and the
> output are based on the same Cost Metric. It is natural that the
> filtering and the output are based on different Cost metrics. For
> example, a Client asks for routingcost for only pairs whose latency is
> below a threshold (see use cases in
> http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07). 
>
> One may argue that the filter-metric-no-equal-to-output-metric
> function can be implemented on top of the
> filter-and-output-using-one-metric function:
>
> In particular, suppose the filtering is based on metrics M1 and M2,
> and the output is M3, for a set src to a set dsts. The Client can use
> the following three queries:
>
> - Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains
> <srcs1, dsts1> in return;
> - Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains
> <srcs2, dsts2> in return;
> - Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final
> result.
>
> Although this is not too bad, it is inconvenient. Note that preceding
> is first discussed by Sabine, Wendy, Nico in:
> http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07
>
> I saw that this is also the issue discussed in  
> - http://tools.ietf.org/html/draft-wu-alto-json-te-01
> - http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02
>
> Hence, I propose that the WG extends the base protocol with this
> capability, as I see that it is quite useful. One issue is that I see
> three designs, and I am wondering if the authors are preparing on
> discussing their designs at the coming IETF, and if there is a
> possibility for a single, unified document, focusing on this issue.
>
> Thanks a lot!
>
> Richard


-- 
===================================================
Dr Greg Bernstein, Grotto Networking (510) 573-2237