Re: [alto] Adopting draft-kiesel-alto-xdom-disc as WG item?

Gao Kai <gaok12@mails.tsinghua.edu.cn> Fri, 15 July 2016 02:27 UTC

Return-Path: <gaok12@mails.tsinghua.edu.cn>
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 C954612D68A for <alto@ietfa.amsl.com>; Thu, 14 Jul 2016 19:27:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.531
X-Spam-Level:
X-Spam-Status: No, score=-0.531 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_RP_RNBL=1.31, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, SPF_PASS=-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 kFtNs8fE0xiz for <alto@ietfa.amsl.com>; Thu, 14 Jul 2016 19:27:23 -0700 (PDT)
Received: from tsinghua.edu.cn (smtp40.tsinghua.edu.cn [166.111.204.64]) by ietfa.amsl.com (Postfix) with ESMTP id A043112D5F2 for <alto@ietf.org>; Thu, 14 Jul 2016 19:27:21 -0700 (PDT)
Received: from [192.168.1.4] (unknown [59.66.206.48]) by app2 (Coremail) with SMTP id C8xvpgCnh4wHSohXC8h5AA--.58960S3; Fri, 15 Jul 2016 10:27:19 +0800 (CST)
To: Sebastian Kiesel <ietf-alto@skiesel.de>, Wendy Roome <wendy.roome@nokia-bell-labs.com>
References: <D3AAB578.7DF072%w.roome@alcatel-lucent.com> <20160712210913.GM3915@gw01.ehlo.wurstkaes.de>
From: Gao Kai <gaok12@mails.tsinghua.edu.cn>
X-Enigmail-Draft-Status: N1110
Message-ID: <57884A02.3000207@mails.tsinghua.edu.cn>
Date: Fri, 15 Jul 2016 10:27:14 +0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
MIME-Version: 1.0
In-Reply-To: <20160712210913.GM3915@gw01.ehlo.wurstkaes.de>
Content-Type: multipart/alternative; boundary="------------080609020508080703070707"
X-CM-TRANSID: C8xvpgCnh4wHSohXC8h5AA--.58960S3
X-Coremail-Antispam: 1UD129KBjvJXoWxuFWkGry8Jr48urWUZF47urg_yoW7Zr45pF WxKanxtFWkXr1Ikw1UZw4jqryFvFWfXrW5Grn8trs8u398XrnFqF1aqFWYkryDCrna9F1Y qr4FqF1ku3WkZFJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUylb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2z4x0Y4vE2Ix0cI8IcVAFwI0_tr0E3s1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_GcCE 3s1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s 1lnxkEFVAIw20F6cxK64vIFxWle2I262IYc4CY6c8Ij28IcVAaY2xG8wAv7VC0I7IYx2IY 67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y4 8IcVAKI48JMx8GjcxK6IxK0xIIj40E5I8CrwCYjI0SjxkI62AI1cAE67vIY487MxkIecxE wVAFwVW8JwCF04k20xvY0x0EwIxGrwC20s026c02F40E14v26r106r1rMI8I3I0E7480Y4 vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jrv_JF1lIxkGc2Ij64vIr41lIxAIcVC0I7IY x2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26c xKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x02 67AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvj7UU6N8UUUUU
X-CM-SenderInfo: 5jdryi2s6ptxtovo32xlqjx3vdohv3gofq/
Archived-At: <https://mailarchive.ietf.org/arch/msg/alto/k75quS0EHaD4XfiKhXnT_Rb3QIo>
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adopting draft-kiesel-alto-xdom-disc as WG item?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.17
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, 15 Jul 2016 02:27:26 -0000

Hi Sebastian, Wendy and all,

Please see below:

On 13/07/16 05:09, Sebastian Kiesel wrote:
> Hi Wendy,
>
> thanks for your review. please see below:
>
>
> On Tue, Jul 12, 2016 at 02:55:52PM -0400, Wendy Roome wrote:
>> My comments on draft-kiesel-alto-xdom-disc-02:
>>
>> Section 1:
>>
>> You might mention that yet another problem with the 1.? solutions is that
>> the values of ALTO cost metrics are not standardized. For example, there
>> is no standard definition of what "routingcost 10" means. Hence cost
>> metric values are not comparable between ALTO servers.
>>
>> This is also a problem for 2.1, because the client cannot tell if the
>> returned costs are from the server it contacted directly, or from some
>> other server. 
> Indeed, this is a problem with all approaches. Please see also 
> the discussion of 3.3. below.
>
>
>> Section 3.2:
>>
>> If a client wants the cost from X => Y, why just do cross-domain discovery
>> on address X? Why not do it for Y instead? Or do it for both X & Y?
> This is again to cope with the not so well-defined "routingcost" metric.
>
> Our assumtion is that XDOM-DISC(X) will discover one ALTO server,
> which will be able to express costs (X,Y) and costs (X,Z) using a
> (locally) consistent routingcost metric, i.e., with the meaning that
> a lower value indicates a higher preference.
>
> If we used XDOM-DISC(Y) and XDOM-DISC(Z) we would probably discover
> two servers, which could use completely incompatible definitions.
>
>
> In other words, the example query given in sec. 11.5.1.7. of RFC 7285
> should be sent to the server yielded from XDOM-DISC(192.0.2.2).
>
> If the "srcs" list contained more than one IP address, the query
> should be split up in several queries, each containing only one
> IP address in "srcs" (but keep all in "dsts"), and each of these
> "sub-queries" would need its own call to XDOM-DISC.
I had the same question as Wendy because for me, sources and
destinations are somewhat symmetric so it is tempting to think there
should be something like XDOM-DISC(X, Y), which might be overcomplicated
though.

I think whether to use the source/destination or to split up queries
depends on the application.  If it is selecting a destination for a
given source, it certainly can choose XDOM-DISC(SRC).  If the selection
is about sources, probably XDOM-DISC(DST) is more reasonable.  If the
application wants to pick the best source-destination pair, maybe the
queries should never be split up.
>
>
>> Section 3.3:
>>
>> This also has the problem that cost metric values are not standardized,
>> which will make it very difficult to merge costs from multiple ALTO
>> servers into a single cost map.
> you are absolutely right.  So the "TBD" in this section is maybe
> not to explain how this could be done, but more like explaining why
> this is impossible unless we have a well-defined cost metric.
>
>
>> Also, I think you mean "NxN cost map" rather than "NxN network map".
> right. (although inconsistent PID definitons among different ALTO servers
> will add further headaches to the problem).
>
>
>> Section 4.2.1:
>>
>> "or redirect the client to another ALTO server using mechanisms of the
>> ALTO protocol (see Sect. 9 of [RFC7285])."
>>
>> Does that refer to a root IRD referencing a secondary IRD, as described in
>> Section 9.2.4?
> Not necessarily a "secondary" IRD, though this could be an option as
> well.  I was thinking more of a dynamically generated IRD,  maybe
> something like: if the client is from within our own network (maybe
> using RFC 7286 to discover our server), return an IRD that points to a
> fine grained PID map and many different cost maps, otherwise, if it
> is a "foreign" client that discovered us using XDOM-DISC, return
> an IRD that has a more coarse grained PID map and fewer cost maps.
>
>
>> If so, I don't think of a secondary IRD as representing a
>> different ALTO server. Rather, I regard secondary IRDs as distributing the
>> resources of one ALTO server over several physical processors. I assumed
>> that the set of resources from the root IRD and secondary IRDs were
>> managed by the same entity, and used the same cost metric definitions, so
>> that cost metric values obtained from any of those resources could be
>> safely compared with each other.
> Hm. I need to think about that.  Did we define this, or is there text
> that at least suggests that behavior?
Personally I think not only the secondary IRD, but also the entries in
an IRD might be on another different ALTO server, where "different"
means "hosted by different authorities".  It is technically possible
that an ALTO server discovers other ALTO servers using XDOM-DISC and
puts their IRD entries in its own directory.

I mean, if we see IRD as a directory in a file system, it is natural to
think that there can be NFS directories (secondary directories pointing
to another ALTO server) and symbolic links (IRD entries pointing to ALTO
services on other ALTO servers).  As Sebastian suggests, we may make it
clear that such behaviour should be avoided.

I would say we accept this, though, since the protocol does not provide
any technical restriction on that.
> But for the discussion of this draft, this is maybe not so important.
> The idea behind xdom disc is, that if we cannot have a single omniscient
> ALTO server a full NxN cost matrix with a consistent metric, we could at
> least do some ranking (relative ordering) using queries like the one in
> sec. 11.5.1.7. of RFC 7285, if operators publish their 1xN "cost
> vectors" via their ALTO servers and the DNS. However, we need to be
> aware that we cannot compare results of different queries.
> Still better than nothing, if the "single omniscient server" scenario
> turns out to be unrealistic, isn't it?
>
>
>
> Thanks
> Sebastian
>

Regards,
Kai