
From richard.alimi@gmail.com  Tue May  7 00:09:25 2013
Return-Path: <richard.alimi@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 D1F4521F919A for <alto@ietfa.amsl.com>; Tue,  7 May 2013 00:09:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 iCI49QKjX8-7 for <alto@ietfa.amsl.com>; Tue,  7 May 2013 00:09:24 -0700 (PDT)
Received: from mail-ve0-x235.google.com (mail-ve0-x235.google.com [IPv6:2607:f8b0:400c:c01::235]) by ietfa.amsl.com (Postfix) with ESMTP id A04B321F90BB for <alto@ietf.org>; Tue,  7 May 2013 00:09:24 -0700 (PDT)
Received: by mail-ve0-f181.google.com with SMTP id d10so193241vea.26 for <alto@ietf.org>; Tue, 07 May 2013 00:09:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=Y0+8Q+UZoIVjmQBU5jCW16zAYqSn1HMt18MQg3Hggro=; b=tv2FJbaLLMu3vAu7ty3ZGfdqxqlb4rIj8V/bhAYwDEI0PrRBinFPJUXDdZxldqP2LY gV9F+hLVEZBNIEmzTVcJ/ktWUJCPRDtfHBojRnBY3wmViEPhDdTZVSvyzLQDjHIZye/g Qqb7EkypdlfQzhAFaJrD+kiDV+Bysttt6BEUCR7bSbYBObqMmEdDvm9WFE7cjmli8X+z 5A4oP289VvcTt2NUH8uoWOXHpqqykaP3gro1Whcvvc06TnyybMxFBsfSy97HpgiMKTW9 tQ+eEIKkFQKCPyYs4IUjdVuIv6q66V8EchkZfRVg+K4KOeBfnjlGv5wY78ijCVnlGD3g xMFg==
X-Received: by 10.58.90.66 with SMTP id bu2mr397489veb.29.1367910564110; Tue, 07 May 2013 00:09:24 -0700 (PDT)
MIME-Version: 1.0
Sender: richard.alimi@gmail.com
Received: by 10.52.178.72 with HTTP; Tue, 7 May 2013 00:09:04 -0700 (PDT)
In-Reply-To: <2A886F9088894347A3BE0CC5B7A85F3E9AB12A6E0A@FRMRSSXCHMBSE3.dc-m.alcatel-lucent.com>
References: <CA+cvDaY5O2mOUGEzXmCnpN31Ch_V836ELtUT=vzi7MA39orHPw@mail.gmail.com> <45A697A8FFD7CF48BCF2BE7E106F06040901E6ED@xmb-rcd-x04.cisco.com> <CA+cvDaZhOrNdYO-nb6ZfD5hxV3jfGbRWBTz2EPqsxyq1OvCtPA@mail.gmail.com> <2A886F9088894347A3BE0CC5B7A85F3E9AB12A6E0A@FRMRSSXCHMBSE3.dc-m.alcatel-lucent.com>
From: Richard Alimi <rich@velvetsea.net>
Date: Tue, 7 May 2013 00:09:04 -0700
X-Google-Sender-Auth: xtTAducn7KBFA1IEbJo9lGyeEGw
Message-ID: <CA+cvDaZ__7OUT2-YTsx8GQtJ4rhHD4cP8hYM_S1YLDWPhx0zrg@mail.gmail.com>
To: "Scharf, Michael (Michael)" <michael.scharf@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=089e013cc386422a9304dc1b7fef
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Error codes in ALTO
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: Tue, 07 May 2013 07:09:25 -0000

--089e013cc386422a9304dc1b7fef
Content-Type: text/plain; charset=ISO-8859-1

Thanks Michael!  A couple of things inline:

On Fri, Mar 22, 2013 at 12:19 PM, Scharf, Michael (Michael) <
michael.scharf@alcatel-lucent.com> wrote:

> Coming back to this, after some research...
>
> > -----Original Message-----
> >       I also would like not to replicate and, for the sake of
> > discussion, say, return (-1) or bytes read to the ALTO layer.
> >
> >       But the current status is more complicated. We already
> > have a mixed bag of things crossing layers.
> >
> >       We already replicate ALTO error codes into HTTP
> > (ALTO->HTTP direction)
> >
> >       "   The HTTP status codes corresponding to each ALTO
> > Error Code are
> >          defined to provide correct behavior with HTTP
> > intermediaries and
> >          clients.  When an ALTO Server returns a particular
> > ALTO Error Code,
> >          it MUST indicate one of the corresponding HTTP
> > status codes in
> >       Table 1 in the HTTP response. "
> >
> > Right.  So one other way would be to not specify this, and
> > leave it up to servers to pick an HTTP status that seems
> > reasonable.  The general idea here was "make sure we still
> > get reasonable behavior when we talk through intermediaries",
> > but if there are better ways to handle this than that would be great.
>
> A reasonable design of an ALTO (client) implementation separates HTTP
> processing from the ALTO protocol engine. The former is mostly a generic
> HTTP instance (e.g., interfacing the well-known curl library), while the
> latter realized the ALTO message parsing etc. In normal operation, both
> "layers" are mostly independent.
>
> However, the RESTful design requires that ALTO error messages have to be
> handled both in the HTTP layer as well as in the ALTO layer. Specifically,
> the HTTP layer will have to decide based on the HTTP error code whether to
> pass a response to the ALTO layer for further ALTO error message
> processing, whether to do something else, or whether to consider the query
> as an entire failure. That distinction is much simpler if the implementor
> knows the HTTP error codes that require further processing not only by the
> HTTP logic, but also by the ALTO logic.
>
> Thus, for interoperability it seems indeed useful that the ALTO protocol
> spec exactly defines the HTTP error codes for any ALTO error type (i.e.,
> error code 400 in spec -14). I don't see a good reason to change that - it
> would make the HTTP logic in an ALTO implementation more complex and less
> interoperable, because the implementor of a client has to guess what a
> server might return.
>
> => Spec -14 seems fine regarding that detail.
>

We had an offline discussion with Ben, Martin (T), and Martin (S) about
exactly this problem.  The guidance was that we shouldn't specify the exact
HTTP status code in the ALTO spec.  The concern was that if a server
returned a different status code for some reason (but it still indicated an
error from the 400 range), the ALTO client may be needlessly surprised.

For the next revision (coming out very shortly), we've removed the explicit
guidance on which HTTP status code to set, and replaced it with generic
guidance indicating that the status code must provide appropriate behavior
at HTTP intermediaries.

I know this is a contentious point, so I'd expect discussion during last
call.


>
> >       And we ask clients to interpret HTTP status codes
> > (HTTP->ALTO direction)
> >
> >       "  o  Return an HTTP 503 ("Service Unavailable") status
> > code to the ALTO
> >             Client.  As indicated by [RFC2616
> > <http://tools.ietf.org/html/rfc2616> ], a the Retry-After HTTP header
> >             may be used to indicate when the ALTO Client
> > should retry the
> >             request."
> >
> > Yes.  I tend to disagree with having this statement in here
> > for exactly the reasons you point out, but it was added after
> > AD feedback saying it was needed to meet the ALTO requirements.
>
> In addition to error HTTP 400, the ALTO spec right now further requires
> special actions on HTTP 503 ("Service Unavailable") and HTTP 307
> ("Temporary Redirect") status codes.
>
> For HTTP 307, the ALTO spec must exactly define whether the redirection
> URI provides the same resource type, or whether it is possibly different
> (e. g., it could be the resource directory of another server with other
> maps). From an implementation perspective, both variants are very
> different. In the former case, the HTTP library can internally realize the
> redirect (e. g., using CURLOPT_FOLLOWLOCATION in the curl library); this is
> probably the simpler variant because it is totally transparent.
> Alternatively, the redirection has to be handled by the ALTO logic, which
> is more heavyweight. Both variants are possible, but an implementor must
> know whether to activate automatic redirect support in HTTP libraries such
> as curl, or not.
>
> => The ALTO spec must specify exactly what type of URI HTTP 307 returns.
>

Thanks for doing this research.   Let's assume for a moment that
CURLOPT_FOLLOWLOCATION was set, and the target of the redirection was a
resource directory.  Would that be a problem?  Presumably the client would
get back a HTTP 300 (Mulitple Choices), and then go from there.  If it
included the direct URI for the corresponding resource at the target
server, then it would be done in a single step.

Thoughts?


>
> For HTTP 503, my current understanding is that an automatic "retry-after"
> is not supported by several HTTP libraries or clients, i. e., an ALTO
> implementation will possibly have to implement the retry timer etc. on its
> own. Still, it seems reasonable to me to rely on a standard HTTP error code
> for that. The motivation is as follows: If more HTTP libraries support this
> error code internally in future, this would at least simplify the design of
> future ALTO implementations.
>
> => Using HTTP error code 503 as in spec -14 seems reasonable to me.
>
> Michael

--089e013cc386422a9304dc1b7fef
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks Michael! =A0A couple of things inline:<br><div clas=
s=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Mar 22, 2013 at 12=
:19 PM, Scharf, Michael (Michael) <span dir=3D"ltr">&lt;<a href=3D"mailto:m=
ichael.scharf@alcatel-lucent.com" target=3D"_blank">michael.scharf@alcatel-=
lucent.com</a>&gt;</span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">Coming back to this, after some research...<br>
<div><br>
&gt; -----Original Message-----<br>
&gt; =A0 =A0 =A0 I also would like not to replicate and, for the sake of<br=
>
&gt; discussion, say, return (-1) or bytes read to the ALTO layer.<br>
&gt;<br>
&gt; =A0 =A0 =A0 But the current status is more complicated. We already<br>
&gt; have a mixed bag of things crossing layers.<br>
&gt;<br>
&gt; =A0 =A0 =A0 We already replicate ALTO error codes into HTTP<br>
&gt; (ALTO-&gt;HTTP direction)<br>
&gt;<br>
&gt; =A0 =A0 =A0 &quot; =A0 The HTTP status codes corresponding to each ALT=
O<br>
&gt; Error Code are<br>
&gt; =A0 =A0 =A0 =A0 =A0defined to provide correct behavior with HTTP<br>
&gt; intermediaries and<br>
&gt; =A0 =A0 =A0 =A0 =A0clients. =A0When an ALTO Server returns a particula=
r<br>
&gt; ALTO Error Code,<br>
&gt; =A0 =A0 =A0 =A0 =A0it MUST indicate one of the corresponding HTTP<br>
&gt; status codes in<br>
&gt; =A0 =A0 =A0 Table 1 in the HTTP response. &quot;<br>
&gt;<br>
&gt; Right. =A0So one other way would be to not specify this, and<br>
&gt; leave it up to servers to pick an HTTP status that seems<br>
&gt; reasonable. =A0The general idea here was &quot;make sure we still<br>
&gt; get reasonable behavior when we talk through intermediaries&quot;,<br>
&gt; but if there are better ways to handle this than that would be great.<=
br>
<br>
</div>A reasonable design of an ALTO (client) implementation separates HTTP=
 processing from the ALTO protocol engine. The former is mostly a generic H=
TTP instance (e.g., interfacing the well-known curl library), while the lat=
ter realized the ALTO message parsing etc. In normal operation, both &quot;=
layers&quot; are mostly independent.<br>



<br>
However, the RESTful design requires that ALTO error messages have to be ha=
ndled both in the HTTP layer as well as in the ALTO layer. Specifically, th=
e HTTP layer will have to decide based on the HTTP error code whether to pa=
ss a response to the ALTO layer for further ALTO error message processing, =
whether to do something else, or whether to consider the query as an entire=
 failure. That distinction is much simpler if the implementor knows the HTT=
P error codes that require further processing not only by the HTTP logic, b=
ut also by the ALTO logic.<br>



<br>
Thus, for interoperability it seems indeed useful that the ALTO protocol sp=
ec exactly defines the HTTP error codes for any ALTO error type (i.e., erro=
r code 400 in spec -14). I don&#39;t see a good reason to change that - it =
would make the HTTP logic in an ALTO implementation more complex and less i=
nteroperable, because the implementor of a client has to guess what a serve=
r might return.<br>



<br>
=3D&gt; Spec -14 seems fine regarding that detail.<br></blockquote><div><br=
></div><div>We had an offline discussion with Ben, Martin (T), and Martin (=
S) about exactly this problem. =A0The guidance was that we shouldn&#39;t sp=
ecify the exact HTTP status code in the ALTO spec. =A0The concern was that =
if a server returned a different status code for some reason (but it still =
indicated an error from the 400 range), the ALTO client may be needlessly s=
urprised.</div>

<div><br></div><div style>For the next revision (coming out very shortly), =
we&#39;ve removed the explicit guidance on which HTTP status code to set, a=
nd replaced it with generic guidance indicating that the status code must p=
rovide appropriate behavior at HTTP intermediaries.</div>

<div style><br></div><div style>I know this is a contentious point, so I&#3=
9;d expect discussion during last call.</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p=
x 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-lef=
t-style:solid;padding-left:1ex">
<div><br>
<br>
&gt; =A0 =A0 =A0 And we ask clients to interpret HTTP status codes<br>
&gt; (HTTP-&gt;ALTO direction)<br>
&gt;<br>
&gt; =A0 =A0 =A0 &quot; =A0o =A0Return an HTTP 503 (&quot;Service Unavailab=
le&quot;) status<br>
&gt; code to the ALTO<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0 Client. =A0As indicated by [RFC2616<br>
</div>&gt; &lt;<a href=3D"http://tools.ietf.org/html/rfc2616" target=3D"_bl=
ank">http://tools.ietf.org/html/rfc2616</a>&gt; ], a the Retry-After HTTP h=
eader<br>
<div>&gt; =A0 =A0 =A0 =A0 =A0 =A0 may be used to indicate when the ALTO Cli=
ent<br>
&gt; should retry the<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0 request.&quot;<br>
&gt;<br>
&gt; Yes. =A0I tend to disagree with having this statement in here<br>
&gt; for exactly the reasons you point out, but it was added after<br>
&gt; AD feedback saying it was needed to meet the ALTO requirements.<br>
<br>
</div>In addition to error HTTP 400, the ALTO spec right now further requir=
es special actions on HTTP 503 (&quot;Service Unavailable&quot;) and HTTP 3=
07 (&quot;Temporary Redirect&quot;) status codes.<br>
<br>
For HTTP 307, the ALTO spec must exactly define whether the redirection URI=
 provides the same resource type, or whether it is possibly different (e. g=
., it could be the resource directory of another server with other maps). F=
rom an implementation perspective, both variants are very different. In the=
 former case, the HTTP library can internally realize the redirect (e. g., =
using CURLOPT_FOLLOWLOCATION in the curl library); this is probably the sim=
pler variant because it is totally transparent. Alternatively, the redirect=
ion has to be handled by the ALTO logic, which is more heavyweight. Both va=
riants are possible, but an implementor must know whether to activate autom=
atic redirect support in HTTP libraries such as curl, or not.<br>



<br>
=3D&gt; The ALTO spec must specify exactly what type of URI HTTP 307 return=
s.<br></blockquote><div><br></div><div style>Thanks for doing this research=
. =A0 Let&#39;s assume for a moment that CURLOPT_FOLLOWLOCATION was set, an=
d the target of the redirection was a resource directory. =A0Would that be =
a problem? =A0Presumably the client would get back a HTTP 300 (Mulitple Cho=
ices), and then go from there. =A0If it included the direct URI for the cor=
responding resource at the target server, then it would be done in a single=
 step.</div>

<div style><br></div><div style>Thoughts?</div><div>=A0</div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px=
;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1e=
x">


<br>
For HTTP 503, my current understanding is that an automatic &quot;retry-aft=
er&quot; is not supported by several HTTP libraries or clients, i. e., an A=
LTO implementation will possibly have to implement the retry timer etc. on =
its own. Still, it seems reasonable to me to rely on a standard HTTP error =
code for that. The motivation is as follows: If more HTTP libraries support=
 this error code internally in future, this would at least simplify the des=
ign of future ALTO implementations.<br>



<br>
=3D&gt; Using HTTP error code 503 as in spec -14 seems reasonable to me.<br=
>
<span><font color=3D"#888888"><br>
Michael</font></span></blockquote></div><br></div></div>

--089e013cc386422a9304dc1b7fef--

From ben@niven-jenkins.co.uk  Tue May  7 00:41:13 2013
Return-Path: <ben@niven-jenkins.co.uk>
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 8CBB421F854D for <alto@ietfa.amsl.com>; Tue,  7 May 2013 00:41:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.74
X-Spam-Level: 
X-Spam-Status: No, score=-100.74 tagged_above=-999 required=5 tests=[BAYES_20=-0.74, USER_IN_WHITELIST=-100]
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 o6SCBCHtXZOq for <alto@ietfa.amsl.com>; Tue,  7 May 2013 00:41:07 -0700 (PDT)
Received: from mailex.mailcore.me (mailex.mailcore.me [94.136.40.61]) by ietfa.amsl.com (Postfix) with ESMTP id 6EC7A21F86B2 for <alto@ietf.org>; Tue,  7 May 2013 00:41:06 -0700 (PDT)
Received: from cpc4-cmbg17-2-0-cust814.5-4.cable.virginmedia.com ([86.14.227.47] helo=[192.168.0.4]) by mail11.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <ben@niven-jenkins.co.uk>) id 1UZcWH-0007q5-Aw; Tue, 07 May 2013 08:41:05 +0100
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=us-ascii
From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
In-Reply-To: <CA+cvDaZ__7OUT2-YTsx8GQtJ4rhHD4cP8hYM_S1YLDWPhx0zrg@mail.gmail.com>
Date: Tue, 7 May 2013 08:41:03 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <24EF0988-16A7-458F-B764-67114377711C@niven-jenkins.co.uk>
References: <CA+cvDaY5O2mOUGEzXmCnpN31Ch_V836ELtUT=vzi7MA39orHPw@mail.gmail.com> <45A697A8FFD7CF48BCF2BE7E106F06040901E6ED@xmb-rcd-x04.cisco.com> <CA+cvDaZhOrNdYO-nb6ZfD5hxV3jfGbRWBTz2EPqsxyq1OvCtPA@mail.gmail.com> <2A886F9088894347A3BE0CC5B7A85F3E9AB12A6E0A@FRMRSSXCHMBSE3.dc-m.alcatel-lucent.com> <CA+cvDaZ__7OUT2-YTsx8GQtJ4rhHD4cP8hYM_S1YLDWPhx0zrg@mail.gmail.com>
To: Richard Alimi <rich@velvetsea.net>
X-Mailer: Apple Mail (2.1085)
X-Mailcore-Auth: 9600544
X-Mailcore-Domain: 172912
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Error codes in ALTO
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: Tue, 07 May 2013 07:41:13 -0000

Michael,

> A reasonable design of an ALTO (client) implementation separates HTTP =
processing from the ALTO protocol engine. The former is mostly a generic =
HTTP instance (e.g., interfacing the well-known curl library), while the =
latter realized the ALTO message parsing etc. In normal operation, both =
"layers" are mostly independent.
>=20
> However, the RESTful design requires that ALTO error messages have to =
be handled both in the HTTP layer as well as in the ALTO layer. =
Specifically, the HTTP layer will have to decide based on the HTTP error =
code whether to pass a response to the ALTO layer for further ALTO error =
message processing, whether to do something else, or whether to consider =
the query as an entire failure.

It could also use the presence of an app/alto-error (or whatever the =
media type is) message body & punt that to the ALTO layer.

Without an ALTO specific error response in the message body HTTP doesn't =
give much room for providing rich error responses anyway, so the ALTO =
layer would be rather constrained with what it can do with just a HTTP =
status of 4xx or 5xx as there is unlikely to be a 1:1 mapping between =
ALTO errors and HTTP status codes.

Ben

> That distinction is much simpler if the implementor knows the HTTP =
error codes that require further processing not only by the HTTP logic, =
but also by the ALTO logic.
>=20
> Thus, for interoperability it seems indeed useful that the ALTO =
protocol spec exactly defines the HTTP error codes for any ALTO error =
type (i.e., error code 400 in spec -14). I don't see a good reason to =
change that - it would make the HTTP logic in an ALTO implementation =
more complex and less interoperable, because the implementor of a client =
has to guess what a server might return.


From yang.r.yang@gmail.com  Tue May  7 13:19:13 2013
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 AB1E021F92BC for <alto@ietfa.amsl.com>; Tue,  7 May 2013 13:19:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 PJr+pIxThh-m for <alto@ietfa.amsl.com>; Tue,  7 May 2013 13:19:00 -0700 (PDT)
Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by ietfa.amsl.com (Postfix) with ESMTP id 062AE21F92CF for <alto@ietf.org>; Tue,  7 May 2013 13:18:59 -0700 (PDT)
Received: by mail-pd0-f182.google.com with SMTP id 3so680842pdj.27 for <alto@ietf.org>; Tue, 07 May 2013 13:18:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=wmGePxgX2OkDkRerJPjLvAhp4DMax0tEO/hKLlp9y98=; b=PNa2RMUccx5F4/0lsyZSQw3h9v2oKzqHPkop/zh6LedwPg/6k06hjFIGrS6jzrRABw Z1outOO/xB+o+TOSmE8pGQ4xUpdc6fUMID7qsdZwrV/9W9dPDE50/cVEdvWKCFAPsR04 4pD9tSsNUY63fE9wC61e64x9frphQIpznrtDuRMaQ6Ewn/RnGWiaLkK2i9dn43bzE8SR Ulccg4506RY9ttjTyt+pzCajteKqBPAmZeOrixwN4sLOIBil6chRq3uaX//KMKzgX7ob fesNPoXmTdZtg2Syipi3HGEmyX3LG+yJS7POGJxTLsmk2M51y80vJLCDfrG0PiC7W5v7 w7Yg==
MIME-Version: 1.0
X-Received: by 10.66.254.225 with SMTP id al1mr4607624pad.111.1367957939676; Tue, 07 May 2013 13:18:59 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.143.197 with HTTP; Tue, 7 May 2013 13:18:59 -0700 (PDT)
Date: Tue, 7 May 2013 16:18:59 -0400
X-Google-Sender-Auth: jaH-4GvM3d9ZTNzbJZ88WLCEzq0
Message-ID: <CANUuoLom_RtVHtTy23jmffP6Rv5WRsmbsqzj9r3P7k3SDU_hwA@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: IETF ALTO <alto@ietf.org>
Content-Type: multipart/alternative; boundary=047d7b15b0d71000d904dc268775
Subject: [alto] IRD declaration
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: Tue, 07 May 2013 20:19:13 -0000

--047d7b15b0d71000d904dc268775
Content-Type: text/plain; charset=ISO-8859-1

Dear all,

As we work to finalize a newer version to get feedback, here is a quick
question that we need feedback/comments to have a quick closure. The issue
can be discussed using the current posted version (
http://datatracker.ietf.org/doc/draft-ietf-alto-protocol/?include_text=1),
although we will post a newer version soon.

Specifically, consider the first IRD example in Sec. 7.6.3. One can
identify that among the six entries, 5 are base or "leaf" entries, which
represent specific Information Resources, and one is a "container" entry:

{
         "uri" : "http://custom.alto.example.com/maps",
         "media-types" : [
           "application/alto-networkmap+json",
           "application/alto-costmap+json"
         ],
         "accepts" : [
           "application/alto-networkmapfilter+json",
           "application/alto-costmapfilter+json"
         ]
       },

In other words, one can envision that IRD can be a hierarchy for
flexibility and delegation.

A question is whether we explicitly distinguish such two types of
entries in syntax -- they are different in semantics already.

Note that distinguishing the two types by simply checking the number
of entries in media-types or accepts will be less robust.

One possibility is the following. A "leaf" IRD entry has the format:
 "uri": ""
 "media-type": ""
 "accept": ""
 "capabilities" : {}

A "container" IRD has the format:
  "uri" :
  "media-types" : []
  "accepts" : []
  // no capabilities

Any thought?

Richard

--047d7b15b0d71000d904dc268775
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear all,<div><br></div><div>As we work to finalize a newe=
r version to get feedback, here is a quick question that we need feedback/c=
omments to have a quick closure. The issue can be discussed using the curre=
nt posted version (<a href=3D"http://datatracker.ietf.org/doc/draft-ietf-al=
to-protocol/?include_text=3D1" target=3D"_blank">http://datatracker.ietf.or=
g/doc/draft-ietf-alto-protocol/?include_text=3D1</a>), although we will pos=
t a newer version soon.</div>


<div><br></div><div>Specifically, consider the first IRD example in Sec. 7.=
6.3. One can identify that among the six entries, 5 are base or &quot;leaf&=
quot; entries, which represent specific Information Resources, and one is a=
 &quot;container&quot; entry:</div>

<div><pre style=3D"white-space:pre-wrap;word-wrap:break-word">{
         &quot;uri&quot; : &quot;<a href=3D"http://custom.alto.example.com/=
maps" target=3D"_blank">http://custom.alto.example.com/maps</a>&quot;,
         &quot;media-types&quot; : [
           &quot;application/alto-networkmap+json&quot;,
           &quot;application/alto-costmap+json&quot;
         ],
         &quot;accepts&quot; : [
           &quot;application/alto-networkmapfilter+json&quot;,
           &quot;application/alto-costmapfilter+json&quot;
         ]
       },</pre><pre style=3D"word-wrap:break-word"><div style=3D"font-famil=
y:arial;white-space:normal">In other words, one can envision that IRD can b=
e a hierarchy for flexibility and delegation.</div><div style=3D"font-famil=
y:arial;white-space:normal">
<br></div><div style=3D"font-family:arial;white-space:normal">A question is=
 whether we explicitly distinguish such two types of entries in syntax -- t=
hey are different in semantics already.=A0</div><div style=3D"font-family:a=
rial;white-space:normal">
<br></div><div style=3D"font-family:arial;white-space:normal">Note that dis=
tinguishing the two types by simply checking the number of entries in media=
-types or accepts will be less robust.=A0</div><div style=3D"font-family:ar=
ial;white-space:normal">
<br></div><div style=3D"font-family:arial;white-space:normal">One possibili=
ty is the following. A &quot;leaf&quot; IRD entry has the format:</div><div=
 style=3D"font-family:arial;white-space:normal">=A0&quot;uri&quot;: &quot;&=
quot;</div>
<div style=3D"font-family:arial;white-space:normal">=A0&quot;media-type&quo=
t;: &quot;&quot;=A0</div><div style=3D"font-family:arial;white-space:normal=
">=A0&quot;accept&quot;: &quot;&quot;</div><div style=3D"font-family:arial;=
white-space:normal">
=A0&quot;capabilities&quot; : {}</div><div style=3D"font-family:arial;white=
-space:normal"><br></div><div style=3D"font-family:arial;white-space:normal=
">A &quot;container&quot; IRD has the format:</div><div style=3D"font-famil=
y:arial;white-space:normal">
=A0 &quot;uri&quot; :=A0</div><div style=3D"font-family:arial;white-space:n=
ormal">=A0 &quot;media-types&quot; : []</div><div style=3D"font-family:aria=
l;white-space:normal">=A0 &quot;accepts&quot; : []</div><div style=3D"font-=
family:arial;white-space:normal">
=A0 // no capabilities</div><div style=3D"font-family:arial;white-space:nor=
mal"><br></div><div style=3D"font-family:arial;white-space:normal">Any thou=
ght?</div><div style=3D"font-family:arial;white-space:normal"><br></div><di=
v style=3D"font-family:arial;white-space:normal">
Richard</div></pre><pre style=3D"white-space:pre-wrap;word-wrap:break-word"=
>  </pre></div></div>

--047d7b15b0d71000d904dc268775--

From internet-drafts@ietf.org  Wed May  8 00:36:08 2013
Return-Path: <internet-drafts@ietf.org>
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 25CDC21F859A; Wed,  8 May 2013 00:36:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.581
X-Spam-Level: 
X-Spam-Status: No, score=-102.581 tagged_above=-999 required=5 tests=[AWL=0.019, BAYES_00=-2.599, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
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 fbymbouz3IPi; Wed,  8 May 2013 00:36:03 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 9725A21F8693; Wed,  8 May 2013 00:35:59 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.44.p7
Message-ID: <20130508073559.2430.68523.idtracker@ietfa.amsl.com>
Date: Wed, 08 May 2013 00:35:59 -0700
Cc: alto@ietf.org
Subject: [alto] I-D Action: draft-ietf-alto-protocol-15.txt
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: Wed, 08 May 2013 07:36:08 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Application-Layer Traffic Optimization Wo=
rking Group of the IETF.

	Title           : ALTO Protocol
	Author(s)       : Richard Alimi
                          Reinaldo Penno
                          Y. Richard Yang
	Filename        : draft-ietf-alto-protocol-15.txt
	Pages           : 79
	Date            : 2013-05-08

Abstract:
   Applications using the Internet already have access to topology
   information of Internet Service Provider (ISP) networks.  For
   example, views to Internet routing tables at looking glass servers
   are available and can be practically downloaded to many application
   clients.  What is missing is knowledge of the underlying network
   topologies from the point of view of ISPs (henceforth referred as
   Providers).  In other words, what a Provider prefers in terms of
   traffic optimization -- and a way to distribute it.

   The Application-Layer Traffic Optimization (ALTO) Service provides
   network information (e.g., basic network location structure and
   preferences of network paths) with the goal of modifying network
   resource consumption patterns while maintaining or improving
   application performance.  The basic information of ALTO is based on
   abstract maps of a network.  These maps provide a simplified view,
   yet enough information about a network for applications to
   effectively utilize them.  Additional services are built on top of
   the maps.

   This document describes a protocol implementing the ALTO Service.
   Although the ALTO Service would primarily be provided by the network
   service providers (e.g., Internet service providers), content service
   providers and third parties could also operate an ALTO service.
   Applications that could use this service are those that have a choice
   to which end points to connect.  Examples of such applications are
   peer-to-peer (P2P) and content delivery networks.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-alto-protocol

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-alto-protocol-15

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-alto-protocol-15


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From richard.alimi@gmail.com  Wed May  8 00:37:43 2013
Return-Path: <richard.alimi@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 4421F21F85A2 for <alto@ietfa.amsl.com>; Wed,  8 May 2013 00:37:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 bH9KhOsUxLKI for <alto@ietfa.amsl.com>; Wed,  8 May 2013 00:37:38 -0700 (PDT)
Received: from mail-ve0-x232.google.com (mail-ve0-x232.google.com [IPv6:2607:f8b0:400c:c01::232]) by ietfa.amsl.com (Postfix) with ESMTP id 990CD21F859A for <alto@ietf.org>; Wed,  8 May 2013 00:37:38 -0700 (PDT)
Received: by mail-ve0-f178.google.com with SMTP id jy13so1467140veb.23 for <alto@ietf.org>; Wed, 08 May 2013 00:37:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=cvTAnot03yZeI27mZYMqG1q1xoO/CwJmOKDwaanD9YM=; b=Rx6UV2Tvvw0QwfVUmqWI0/vo2xQIk61h0Kt0Q8vqXu6wP/Nvwva529o23ai6ju20Za VLa2ogXZgzHBhkzjWfcl0xrP9aJ+Lr4mY7Ccba0mD/8+mWhkAhmU4Ek/3cF1ba7WPArH pJyeiHlLcDa956hIAka3Z/8C+/wr4GNiccc+DotzqPptKZ6grh/VAj+5/zNHMz/Dk+pb lv8FuEGk2qb9MPcEnPrmhVhlRw7mDRAjk84AxLERAtXLbS1BwXCQpmF29577/yNvQHyn IbjpUhu3y0GscoWtzh9ngLPyE1qzYngbP6IkJX6dN5hYPx1L/CIN/rDlgds6z/KE3BnK vhsA==
X-Received: by 10.52.100.230 with SMTP id fb6mr3087915vdb.80.1367998657925; Wed, 08 May 2013 00:37:37 -0700 (PDT)
MIME-Version: 1.0
Sender: richard.alimi@gmail.com
Received: by 10.52.178.72 with HTTP; Wed, 8 May 2013 00:37:17 -0700 (PDT)
In-Reply-To: <20130508073559.2430.68523.idtracker@ietfa.amsl.com>
References: <20130508073559.2430.68523.idtracker@ietfa.amsl.com>
From: Richard Alimi <rich@velvetsea.net>
Date: Wed, 8 May 2013 00:37:17 -0700
X-Google-Sender-Auth: f9ZIAlxqAulyCDx6JgYDF7vjL0Q
Message-ID: <CA+cvDaa+=J4O1PZZcCx6AnsnY3QFgoPUzSPh5J7gjWSRk86Tzw@mail.gmail.com>
To: "alto@ietf.org" <alto@ietf.org>
Content-Type: multipart/alternative; boundary=90e6ba475da50f19f904dc3002ae
Subject: Re: [alto] I-D Action: draft-ietf-alto-protocol-15.txt
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: Wed, 08 May 2013 07:37:43 -0000

--90e6ba475da50f19f904dc3002ae
Content-Type: text/plain; charset=ISO-8859-1

Hi All,

We have posted a new version of the ALTO Protocol draft:
draft-ietf-alto-protocol-15.  There are a large number of editorial changes
(including a heavily-revised Security Considerations section), and quite a
few non-editorial changes that have been discussed on the list and at the
latest meeting.

The non-editorial changes are as follows:
- Clarified that an ALTO Server can return an IRD or an Error; there is no
requirement that the ALTO Client specify those in the Accept header in the
HTTP request (See section 8.3.3).
- Removed guidance on using an HTTP 400 status code when returning ALTO
Errors.
- Renamed Cost Type to Cost Metric, and defined Cost Type to refer to a
(Cost Mode, Cost Metric) tuple.
- An IRD entry for a cost map now declares a list of Cost Types that are
supported (instead of the previous behavior where there was a cross-product
between cost modes and cost metrics).
- Revised the schema for JSON data structures (Section 8.2).
- IRD's can contain relative URIs.
- Resolved discrepancy on cost modes that must be implemented for the
routingcost Cost Metric; only one of numerical or ordinal is mandatory (not
both).
- Clarified requirement on TLS support
- Expanded guidelines for 'priv:' identifiers to endpoint properties (in
addition to cost metrics)

Thank you to everyone who provided feedback for this draft!

Thanks,
Rich


On Wed, May 8, 2013 at 12:35 AM, <internet-drafts@ietf.org> wrote:

>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>  This draft is a work item of the Application-Layer Traffic Optimization
> Working Group of the IETF.
>
>         Title           : ALTO Protocol
>         Author(s)       : Richard Alimi
>                           Reinaldo Penno
>                           Y. Richard Yang
>         Filename        : draft-ietf-alto-protocol-15.txt
>         Pages           : 79
>         Date            : 2013-05-08
>
> Abstract:
>    Applications using the Internet already have access to topology
>    information of Internet Service Provider (ISP) networks.  For
>    example, views to Internet routing tables at looking glass servers
>    are available and can be practically downloaded to many application
>    clients.  What is missing is knowledge of the underlying network
>    topologies from the point of view of ISPs (henceforth referred as
>    Providers).  In other words, what a Provider prefers in terms of
>    traffic optimization -- and a way to distribute it.
>
>    The Application-Layer Traffic Optimization (ALTO) Service provides
>    network information (e.g., basic network location structure and
>    preferences of network paths) with the goal of modifying network
>    resource consumption patterns while maintaining or improving
>    application performance.  The basic information of ALTO is based on
>    abstract maps of a network.  These maps provide a simplified view,
>    yet enough information about a network for applications to
>    effectively utilize them.  Additional services are built on top of
>    the maps.
>
>    This document describes a protocol implementing the ALTO Service.
>    Although the ALTO Service would primarily be provided by the network
>    service providers (e.g., Internet service providers), content service
>    providers and third parties could also operate an ALTO service.
>    Applications that could use this service are those that have a choice
>    to which end points to connect.  Examples of such applications are
>    peer-to-peer (P2P) and content delivery networks.
>
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-alto-protocol
>
> There's also a htmlized version available at:
> http://tools.ietf.org/html/draft-ietf-alto-protocol-15
>
> A diff from the previous version is available at:
> http://www.ietf.org/rfcdiff?url2=draft-ietf-alto-protocol-15
>
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>

--90e6ba475da50f19f904dc3002ae
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi All,<div><br></div><div>We have posted a new version of=
 the ALTO Protocol draft: draft-ietf-alto-protocol-15. =A0There are a large=
 number of editorial changes (including a heavily-revised Security Consider=
ations section), and quite a few non-editorial changes that have been discu=
ssed on the list and at the latest meeting.</div>

<div><br></div><div>The non-editorial changes are as follows:</div><div>- C=
larified that an ALTO Server can return an IRD or an Error; there is no req=
uirement that the ALTO Client specify those in the Accept header in the HTT=
P request (See section 8.3.3).</div>

<div>- Removed guidance on using an HTTP 400 status code when returning ALT=
O Errors. =A0</div><div>- Renamed Cost Type to Cost Metric, and defined Cos=
t Type to refer to a (Cost Mode, Cost Metric) tuple.</div><div>- An IRD ent=
ry for a cost map now declares a list of Cost Types that are supported (ins=
tead of the previous behavior where there was a cross-product between cost =
modes and cost metrics).</div>

<div>- Revised the schema for JSON data structures (Section 8.2).</div><div=
>- IRD&#39;s can contain relative URIs.</div><div>- Resolved discrepancy on=
 cost modes that must be implemented for the routingcost Cost Metric; only =
one of numerical or ordinal is mandatory (not both).</div>

<div>- Clarified requirement on TLS support</div><div>- Expanded guidelines=
 for &#39;priv:&#39; identifiers to endpoint properties (in addition to cos=
t metrics)</div><div><br></div><div>Thank you to everyone who provided feed=
back for this draft!</div>

<div><br></div><div>Thanks,</div><div>Rich=A0</div></div><div class=3D"gmai=
l_extra"><br><br><div class=3D"gmail_quote">On Wed, May 8, 2013 at 12:35 AM=
,  <span dir=3D"ltr">&lt;<a href=3D"mailto:internet-drafts@ietf.org" target=
=3D"_blank">internet-drafts@ietf.org</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
=A0This draft is a work item of the Application-Layer Traffic Optimization =
Working Group of the IETF.<br>
<br>
=A0 =A0 =A0 =A0 Title =A0 =A0 =A0 =A0 =A0 : ALTO Protocol<br>
=A0 =A0 =A0 =A0 Author(s) =A0 =A0 =A0 : Richard Alimi<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Reinaldo Penno<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Y. Richard Yang<br>
=A0 =A0 =A0 =A0 Filename =A0 =A0 =A0 =A0: draft-ietf-alto-protocol-15.txt<b=
r>
=A0 =A0 =A0 =A0 Pages =A0 =A0 =A0 =A0 =A0 : 79<br>
=A0 =A0 =A0 =A0 Date =A0 =A0 =A0 =A0 =A0 =A0: 2013-05-08<br>
<br>
Abstract:<br>
=A0 =A0Applications using the Internet already have access to topology<br>
=A0 =A0information of Internet Service Provider (ISP) networks. =A0For<br>
=A0 =A0example, views to Internet routing tables at looking glass servers<b=
r>
=A0 =A0are available and can be practically downloaded to many application<=
br>
=A0 =A0clients. =A0What is missing is knowledge of the underlying network<b=
r>
=A0 =A0topologies from the point of view of ISPs (henceforth referred as<br=
>
=A0 =A0Providers). =A0In other words, what a Provider prefers in terms of<b=
r>
=A0 =A0traffic optimization -- and a way to distribute it.<br>
<br>
=A0 =A0The Application-Layer Traffic Optimization (ALTO) Service provides<b=
r>
=A0 =A0network information (e.g., basic network location structure and<br>
=A0 =A0preferences of network paths) with the goal of modifying network<br>
=A0 =A0resource consumption patterns while maintaining or improving<br>
=A0 =A0application performance. =A0The basic information of ALTO is based o=
n<br>
=A0 =A0abstract maps of a network. =A0These maps provide a simplified view,=
<br>
=A0 =A0yet enough information about a network for applications to<br>
=A0 =A0effectively utilize them. =A0Additional services are built on top of=
<br>
=A0 =A0the maps.<br>
<br>
=A0 =A0This document describes a protocol implementing the ALTO Service.<br=
>
=A0 =A0Although the ALTO Service would primarily be provided by the network=
<br>
=A0 =A0service providers (e.g., Internet service providers), content servic=
e<br>
=A0 =A0providers and third parties could also operate an ALTO service.<br>
=A0 =A0Applications that could use this service are those that have a choic=
e<br>
=A0 =A0to which end points to connect. =A0Examples of such applications are=
<br>
=A0 =A0peer-to-peer (P2P) and content delivery networks.<br>
<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-alto-protocol" targe=
t=3D"_blank">https://datatracker.ietf.org/doc/draft-ietf-alto-protocol</a><=
br>
<br>
There&#39;s also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-alto-protocol-15" target=
=3D"_blank">http://tools.ietf.org/html/draft-ietf-alto-protocol-15</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-alto-protocol-15" =
target=3D"_blank">http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-alto-protoc=
ol-15</a><br>
<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div>

--90e6ba475da50f19f904dc3002ae--

From enrico.marocco@telecomitalia.it  Wed May  8 01:17:42 2013
Return-Path: <enrico.marocco@telecomitalia.it>
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 24AB321F8FB6 for <alto@ietfa.amsl.com>; Wed,  8 May 2013 01:17:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.719
X-Spam-Level: 
X-Spam-Status: No, score=-101.719 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 B19L+gpnTOqj for <alto@ietfa.amsl.com>; Wed,  8 May 2013 01:17:37 -0700 (PDT)
Received: from GRFEDG701RM001.telecomitalia.it (grfedg701rm001.telecomitalia.it [217.169.121.20]) by ietfa.amsl.com (Postfix) with ESMTP id BCC6521F89B2 for <alto@ietf.org>; Wed,  8 May 2013 01:17:35 -0700 (PDT)
Received: from grfhub702rm001.griffon.local (10.19.3.9) by GRFEDG701RM001.telecomitalia.it (10.173.88.20) with Microsoft SMTP Server (TLS) id 8.3.297.1; Wed, 8 May 2013 10:17:34 +0200
Received: from MacLab.local (10.229.8.74) by smtp.telecomitalia.it (10.19.9.235) with Microsoft SMTP Server (TLS) id 8.3.297.1; Wed, 8 May 2013 10:17:33 +0200
Message-ID: <518A0A1D.20302@telecomitalia.it>
Date: Wed, 8 May 2013 10:17:33 +0200
From: Enrico Marocco <enrico.marocco@telecomitalia.it>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: <alto@ietf.org>
References: <CANUuoLom_RtVHtTy23jmffP6Rv5WRsmbsqzj9r3P7k3SDU_hwA@mail.gmail.com>
In-Reply-To: <CANUuoLom_RtVHtTy23jmffP6Rv5WRsmbsqzj9r3P7k3SDU_hwA@mail.gmail.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms090105040909050004030900"
X-TI-Disclaimer: Disclaimer1
Subject: Re: [alto] IRD declaration
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: Wed, 08 May 2013 08:17:42 -0000

--------------ms090105040909050004030900
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Richard,

since the new version has been submitted, the actual section with the
example you mention is 8.5.3
(http://tools.ietf.org/html/draft-ietf-alto-protocol-15#section-8.5.3).

On the substance of the question, I believe it's essential to have the
syntax flexible enough to reflect proper semantics. However -- forgive
the JavaScript speak --  with the current specification the distinction
between "leaf" and "container" would basically require a check on
(media-types.length =3D=3D 1), while with the proposed change it would tu=
rn
out to (typeof media-types =3D=3D "string"), correct?

If that's the case, honestly I don't see a big gain in doing it. But I'm
not an implementor nor have a strong preference, so I'll let others
express more articulated opinions. Either way works for me.

Enrico

On 5/7/13 10:18 PM, Y. Richard Yang wrote:
> Dear all,
>=20
> As we work to finalize a newer version to get feedback, here is a quick=

> question that we need feedback/comments to have a quick closure. The
> issue can be discussed using the current posted version
> (http://datatracker.ietf.org/doc/draft-ietf-alto-protocol/?include_text=
=3D1),
> although we will post a newer version soon.
>=20
> Specifically, consider the first IRD example in Sec. 7.6.3. One can
> identify that among the six entries, 5 are base or "leaf" entries, whic=
h
> represent specific Information Resources, and one is a "container" entr=
y:
>=20
> {
>          "uri" : "http://custom.alto.example.com/maps",
>          "media-types" : [
>            "application/alto-networkmap+json",
>            "application/alto-costmap+json"
>          ],
>          "accepts" : [
>            "application/alto-networkmapfilter+json",
>            "application/alto-costmapfilter+json"
>          ]
>        },
>=20
> In other words, one can envision that IRD can be a hierarchy for
> flexibility and delegation.
>=20
> A question is whether we explicitly distinguish such two types of
> entries in syntax -- they are different in semantics already.=20
>=20
> Note that distinguishing the two types by simply checking the number of=

> entries in media-types or accepts will be less robust.=20
>=20
> One possibility is the following. A "leaf" IRD entry has the format:
>  "uri": ""
>=20
>  "media-type": ""=20
>  "accept": ""
>  "capabilities" : {}
>=20
> A "container" IRD has the format:
>   "uri" :=20
>   "media-types" : []
>   "accepts" : []
>   // no capabilities
>=20
> Any thought?
>=20
> Richard
>=20
>  =20
>=20



--------------ms090105040909050004030900
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINdzCC
BjQwggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcJg8zOLdgasSmkLhOr
lr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7zM9/UnC6TS2y9UKTpT1v7RSM
zR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8VpH/Clt+4iq7nirMcNh6
qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+jb9x4Pa5gNf1TwSD
kOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2JLKutIxMYqQOJebr/f/h5t95
m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRTcu2SnODaywFcfH6WNU7y1LhRgjAfBgNV
HSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH
MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3
dy5zdGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cu
c3RhcnRzc2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20v
c2ZzY2EuY3JsMIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93
d3cuc3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBAAqD
CH14qywGXLhjjF6uHLkjd02hcdh9hrw+VUsv+q1eeQWB21jWj3kJ96AUlPCoEGZ/ynJNScWy
6QMVQjbbMXltUfO4n4bGGdKo3awPWp61tjAFgraLJgDk+DsSvUD6EowjMTNx25GQgyYJ5RPI
zKKR9tQW8gGK+2+RHxkUCTbYFnL6kl8Ch507rUdPPipJ9CgJFws3kDS3gOS5WFMxcjO5DwKf
KSETEPrHh7p5shuuNktvsv6hxHTLhiMKX893gxdT3XLS9OKmCv87vkINQcNEcIIoFWbP9HOR
z9v3vQwR4e3ksLc2JZOAFK+ssS5XMEoznzpihEP0PLc4dCBYjbvSD7kxgDwZ+Aj8Q9PkbvE9
sIPP7ON0fz095HdThKjiVJe6vofq+n6b1NBc8XdrQvBmunwxD5nvtTW4vtN6VY7mUCmxsCie
uoBJ9OlqmsVWQvifIYf40dJPZkk9YgGTzWLpXDSfLSplbY2LL9C9U0ptvjcDjefLTvqSFc7t
w1sEhF0n/qpA2r0GpvkLRDmcSwVyPvmjFBGqUp/pNy8ZuPGQmHwFi2/14+xeSUDG2bwnsYJQ
G2EdJCB6luQ57GEnTA/yKZSTKI8dDQa8Sd3zfXb19mOgSF0bBdXbuKhEpuP9wirslFe6fQ1t
5j5R0xi72MZ8ikMu1RQZKCyDbMwazlHiMIIHOzCCBiOgAwIBAgIDBKfoMA0GCSqGSIb3DQEB
BQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20g
Q2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcNMTIwODA3MDkxNTQz
WhcNMTMwODA4MDczMzM3WjB1MRkwFwYDVQQNExBvWkNPVnNYc09NME9mcExwMSgwJgYDVQQD
DB9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MS4wLAYJKoZIhvcNAQkBFh9lbnJp
Y28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAshI2shfUZ7P5RVcP04fJ4OfYmK/RUyokJpuJE4KaSOLArtpNtlYo6MtXfmZzA8y/
5HChSAmPvqUwhMMYh1LurWbOdX4uKXO1gsFrPOtxTa6qin6lXaJ3bo2pKnkN9mQkjvm0E23r
rrT3MC6h6UfyFAcvs01+yq9wVuxxRdC4LZTGAbXGkE34GQAnBy9eqvJ+m351hPaaVw9u8CWN
uyv9YKLXpicS/q8j2EOpFBCkZVp0E8fViSXViGtuhfbW6R+TjTXJZN06DEqb/vpRSWkvBDf0
UqDFrgmlmSnXJ/xpaygAJcHyE5qjRXkIV7adTkg9Z/Z2lJXvtDUdHbNBiYcVOwIDAQABo4ID
ujCCA7YwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsG
AQUFBwMEMB0GA1UdDgQWBBT1YgWCbkVCN8iNgS49Fh9R2ZC8wTAfBgNVHSMEGDAWgBRTcu2S
nODaywFcfH6WNU7y1LhRgjAqBgNVHREEIzAhgR9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRh
bGlhLml0MIICIQYDVR0gBIICGDCCAhQwggIQBgsrBgEEAYG1NwECAjCCAf8wLgYIKwYBBQUH
AgEWImh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwgfcGCCsGAQUFBwICMIHq
MCcWIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MAMCAQEagb5UaGlzIGNlcnRp
ZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3JkaW5nIHRvIHRoZSBDbGFzcyAxIFZhbGlkYXRpb24g
cmVxdWlyZW1lbnRzIG9mIHRoZSBTdGFydENvbSBDQSBwb2xpY3ksIHJlbGlhbmNlIG9ubHkg
Zm9yIHRoZSBpbnRlbmRlZCBwdXJwb3NlIGluIGNvbXBsaWFuY2Ugb2YgdGhlIHJlbHlpbmcg
cGFydHkgb2JsaWdhdGlvbnMuMIGcBggrBgEFBQcCAjCBjzAnFiBTdGFydENvbSBDZXJ0aWZp
Y2F0aW9uIEF1dGhvcml0eTADAgECGmRMaWFiaWxpdHkgYW5kIHdhcnJhbnRpZXMgYXJlIGxp
bWl0ZWQhIFNlZSBzZWN0aW9uICJMZWdhbCBhbmQgTGltaXRhdGlvbnMiIG9mIHRoZSBTdGFy
dENvbSBDQSBwb2xpY3kuMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly9jcmwuc3RhcnRzc2wu
Y29tL2NydHUxLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8wOQYIKwYBBQUHMAGGLWh0dHA6
Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MxL2NsaWVudC9jYTBCBggrBgEFBQcwAoY2
aHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMS5jbGllbnQuY2EuY3J0
MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG9w0BAQUFAAOC
AQEAIn8FoRaqvQzo8aGNi4EbPhIMX8aPIMhX3L/N+8sMyFe3cpSyjij47DW1K330zDJnoyZs
kuI10EzfK0wwY+D2qMQPGAmPDkix5t2dYQj6DKh1yBlBwAf7c65Ty1kpgtdymSptDJKVZcK6
R2CJ91oRBCZIObcWrG/0FZIr55+InAYyLDrlk34MwBmINhBZ4oRJdrzG6OC7cK4vG1ZWrAFE
GHVwx1uG2NXRUXQTH9DGYcwwfPo4uinFCwHZAJ2Il/J0Mqui5x+N/7p+WUlGRyb67qxg7ect
f2095+YDnbqIKIz7fGzw8XTwpjYbvWZplkG93qRXr8MRD9ukgxpxpHG2dTGCA90wggPZAgEB
MIGUMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20g
Q2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAwSn6DAJBgUrDgMCGgUA
oIICHTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzA1MDgw
ODE3MzNaMCMGCSqGSIb3DQEJBDEWBBTLc0Y16mA5Pf8aM7/SocBravz03zBsBgkqhkiG9w0B
CQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcNAwcwDgYIKoZIhvcN
AwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGlBgkrBgEE
AYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSsw
KQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9T
dGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDBKfoMIGn
BgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29t
IEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2
BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENB
AgMEp+gwDQYJKoZIhvcNAQEBBQAEggEAA49bliRTLqUGPyjZb0LL6p/i1b4+aCsXQPZa2Tee
iQNXV8Nx4iOjVu0g6TU+27tazjsZIsqLKikd3yrWDbbyWt38l/84mAX5Fv+JoqNlGAjJsTno
7tf3edDwdMHuQFx5WmNYKFe/EOeofPHMjRHPVuLZWysTF9r1AcxdMKcNl+eTmoDqK/wQovfs
VrY7eL8nE+W+qTDodTclVyt1ZMGGcbhvJehNL9wyzR7Dpmm+soyhP7QiZ+wJEOgnrHutpj82
AiHXbTTRJ/SnU+mdXwBO4XzAWPajnMASoN97lp5iGp81e7aceu4NYC+WW9VNLiKXAmLOawEq
fhiQPAaXdRFjwgAAAAAAAA==
--------------ms090105040909050004030900--

From Martin.Stiemerling@neclab.eu  Wed May  8 07:26:31 2013
Return-Path: <Martin.Stiemerling@neclab.eu>
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 3D37A21F926E for <alto@ietfa.amsl.com>; Wed,  8 May 2013 07:26:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.299
X-Spam-Level: 
X-Spam-Status: No, score=-102.299 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 w9Nsmv5cv-Kx for <alto@ietfa.amsl.com>; Wed,  8 May 2013 07:26:27 -0700 (PDT)
Received: from mailer1.neclab.eu (mailer1.neclab.eu [195.37.70.40]) by ietfa.amsl.com (Postfix) with ESMTP id C785F21F9113 for <alto@ietf.org>; Wed,  8 May 2013 07:26:26 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mailer1.neclab.eu (Postfix) with ESMTP id A30BA104060; Wed,  8 May 2013 16:26:25 +0200 (CEST)
X-Virus-Scanned: Amavisd on Debian GNU/Linux (netlab.nec.de)
Received: from mailer1.neclab.eu ([127.0.0.1]) by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RcfjGqJz6al1; Wed,  8 May 2013 16:26:25 +0200 (CEST)
Received: from ENCELADUS.office.hd (enceladus.office.hd [192.168.24.52]) by mailer1.neclab.eu (Postfix) with ESMTP id 7FF7410404E; Wed,  8 May 2013 16:26:10 +0200 (CEST)
Received: from [10.7.0.105] (10.7.0.105) by skoll.office.hd (192.168.125.11) with Microsoft SMTP Server (TLS) id 14.1.323.3; Wed, 8 May 2013 16:25:41 +0200
Message-ID: <518A604A.5080601@neclab.eu>
Date: Wed, 8 May 2013 16:25:14 +0200
From: Martin Stiemerling <martin.stiemerling@neclab.eu>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5
MIME-Version: 1.0
To: Richard Barnes <rlb@ipv.sx>
References: <CAL02cgTRh_VHhf3w+g0oL0wrC58B8AnUPWw=H0_yam42PpVr4g@mail.gmail.com>
In-Reply-To: <CAL02cgTRh_VHhf3w+g0oL0wrC58B8AnUPWw=H0_yam42PpVr4g@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.7.0.105]
Cc: draft-ietf-alto-server-discovery@tools.ietf.org, alto@ietf.org
Subject: Re: [alto] AD review of draft-ietf-alto-server-discovery-08
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: Wed, 08 May 2013 14:26:31 -0000

[writing without my AD hat on]

Hi Richard,

On 04/17/2013 06:53 PM, Richard Barnes wrote:
> Dear ALTO WG,
>
> Since Martin is an author on this document, I'm acting as responsible AD
> during its IESG evaluation.  I've reviewed the document, and have a few
> questions before IETF LC.
>
> Major:
>
> To be blunt, I'm a little puzzled by why this document isn't much
> shorter.  It seems like it could just say "Follow the procedure of RFC
> 5986, except use different tags in the U-NAPTR lookup."  Possibly with
> some additional deployment / UI considerations.  As it is, it seems like
> this document re-states a lot of what's in RFC 5986.  For the rest of
> this review, however, I'll assume we're not going to re-write in the
> above form.

The document has a long and not easy history, as the whole space of 
server discovery seems to be not optimal. Re-writing could be one 
option, but we prefer to just get it going as it is.

>
> In Section 3.1.2., RFC 2132 "still may be useful".  Does that mean that
> a client MAY use it if the RFC 5986 option is not available?  For
> comparison, in RFC 5986: "DHCPv4 option 15 [RFC2132] provides an
> indication of the domain name that a host uses when resolving hostnames
> in DNS.  This option is used when the DHCPv4 access domain name is not
> available."

There is this text just below the cited paragraph explaining this 
(hopefully in an understandable way):

    For IPv6, the ALTO server discovery procedure MUST try to retrieve
    DHCP option 57 (OPTION_V6_ACCESS_DOMAIN).  If no such option can be
    retrieved the procedure fails for this interface.  For IPv4, the ALTO
    server discovery procedure MUST try to retrieve DHCP option 213
    (OPTION_V4_ACCESS_DOMAIN).  If no such option can be retrieved, the
    procedure SHOULD try to retrieve option 15 (Domain Name).  If neither
    option can be retrieved the procedure fails for this interface.  If a
    result can be retrieved it will be used as an input for the next step
    (U-NAPTR resolution).  One example result could be:

       example.net

>
>
> Minor:
>
> In the discussion of PTR lookups in Section 2, it might be helpful to
> refer to draft-ietf-geopriv-res-gw-lis-discovery, which extends RFC 5986
> to cover this problem.  For example, "Clients MAY employ a mechanism
> based on the reverse DNS, such as the one defined in
> [I-D.ietf-geopriv-res-gw-lis-discovery].  However, client developers
> should also note the caveats in that document as to how such mechanisms
> can fail, for example due to network address translation (NAT) devices."
>

draft-ietf-geopriv-res-gw-lis-discovery differs from what we are
describing (and advising not to do) in section 2: the geopriv draft
looks for an U-NAPTR RR in the in-addr.arpa tree.  we write that one
should not attempt to do a PTR lookup and use the result as input
for our algorithm.

Thanks,

   Martin

-- 
martin.stiemerling@neclab.eu

NEC Laboratories Europe
NEC Europe Limited
Registered Office:
Athene, Odyssey Business Park, West End  Road, London, HA4 6QE, GB
Registered in England 2832014

From yang.r.yang@gmail.com  Wed May  8 11:34:35 2013
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 2779A21F90C1 for <alto@ietfa.amsl.com>; Wed,  8 May 2013 11:34:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 XdmMxMLsA8wf for <alto@ietfa.amsl.com>; Wed,  8 May 2013 11:34:27 -0700 (PDT)
Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by ietfa.amsl.com (Postfix) with ESMTP id C902A21F901F for <alto@ietf.org>; Wed,  8 May 2013 11:34:27 -0700 (PDT)
Received: by mail-pd0-f171.google.com with SMTP id r11so1439268pdi.30 for <alto@ietf.org>; Wed, 08 May 2013 11:34:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=wFBHwIzZBEelGlcws7g5Fh2IKypgtRpttx9zJTBw9k8=; b=wAzfARMelFtpUaP8PpZ/KQU7Bx2qxQuRiQCXZykAwH0azEzHplUBwKiMhnU6G6wPOl 88FaLf2He7syA7J5RerzZPC4CEqXMCmhAWmjFK6aEIX6R03bqWev/t/iyzaw5Q9d03WX 3CS14N3ci1qeQHE6/E04crZ/nxDSd8BfYGG+iYbOWBLZSTUMYiGX8Sa+P/EGFN/yVFAI EdP/AvdSCpikW7C22LvFGSe+DYlX6F4l+vBD7hjpJgp5pxbz/qoplTzim62v7LOhMBwo R60SyjyGAq35ImDg7WAFSNIqXhNEscYaRCe3JbYPvqreyAuBa0plF7ZswNGbDvwgpUuH Cq5w==
MIME-Version: 1.0
X-Received: by 10.67.5.168 with SMTP id cn8mr9580713pad.119.1368038067566; Wed, 08 May 2013 11:34:27 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.143.197 with HTTP; Wed, 8 May 2013 11:34:27 -0700 (PDT)
Received: by 10.68.143.197 with HTTP; Wed, 8 May 2013 11:34:27 -0700 (PDT)
In-Reply-To: <518A0A1D.20302@telecomitalia.it>
References: <CANUuoLom_RtVHtTy23jmffP6Rv5WRsmbsqzj9r3P7k3SDU_hwA@mail.gmail.com> <518A0A1D.20302@telecomitalia.it>
Date: Wed, 8 May 2013 14:34:27 -0400
X-Google-Sender-Auth: rRUyNqtFgE2RrFecFzamw7sCc2I
Message-ID: <CANUuoLq6fbRBWqJtz2j2gAUrwnAUO2GgRpBWi5pm62tciBug+A@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Enrico Marocco <enrico.marocco@telecomitalia.it>
Content-Type: multipart/alternative; boundary=047d7b15a59b0e7db704dc392f0d
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] IRD declaration
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: Wed, 08 May 2013 18:34:35 -0000

--047d7b15a59b0e7db704dc392f0d
Content-Type: text/plain; charset=ISO-8859-1

Enrico,

On May 8, 2013 4:17 AM, "Enrico Marocco" <enrico.marocco@telecomitalia.it>
wrote:
>
> Hi Richard,
>
> since the new version has been submitted, the actual section with the
> example you mention is 8.5.3
> (http://tools.ietf.org/html/draft-ietf-alto-protocol-15#section-8.5.3).

Yes.

> On the substance of the question, I believe it's essential to have the
> syntax flexible enough to reflect proper semantics. However -- forgive
> the JavaScript speak --  with the current specification the distinction
> between "leaf" and "container" would basically require a check on
> (media-types.length == 1), while with the proposed change it would turn
> out to (typeof media-types == "string"), correct?

It can be more complex. For example,  the just submitted version allows IRD
to announce multipe cost types of an unfiltered cost map with a single
media type. Hence we have a case that media-types has a length of 1 but we
do not have a leaf node.

As another example. Consider a possible future extension, where we may
consider allowing two media types for one IR: for example,  both the
current cost map format or a new matrix format. Hence, IRD could announce
two media types for it, and ALTO Clients can indicate one using http Accept
in request. Hence, we have a case of media-types with length > 1, but we
have a leaf.

Regardless indicating leaf vs non-leaf explicitly, I do not foresee
encountering non-encodable problems with the current spec. There can be
some difference in ease of implementation. My personal preference is
explicit leaf nodes and hence no need for a Client to request an IR but get
an IRD back. But the current spec works and can be more compact for IRD
representation.

Thanks!

Richard
>
> If that's the case, honestly I don't see a big gain in doing it. But I'm
> not an implementor nor have a strong preference, so I'll let others
> express more articulated opinions. Either way works for me.
>
> Enrico
>
> On 5/7/13 10:18 PM, Y. Richard Yang wrote:
> > Dear all,
> >
> > As we work to finalize a newer version to get feedback, here is a quick
> > question that we need feedback/comments to have a quick closure. The
> > issue can be discussed using the current posted version
> > (
http://datatracker.ietf.org/doc/draft-ietf-alto-protocol/?include_text=1),
> > although we will post a newer version soon.
> >
> > Specifically, consider the first IRD example in Sec. 7.6.3. One can
> > identify that among the six entries, 5 are base or "leaf" entries, which
> > represent specific Information Resources, and one is a "container"
entry:
> >
> > {
> >          "uri" : "http://custom.alto.example.com/maps",
> >          "media-types" : [
> >            "application/alto-networkmap+json",
> >            "application/alto-costmap+json"
> >          ],
> >          "accepts" : [
> >            "application/alto-networkmapfilter+json",
> >            "application/alto-costmapfilter+json"
> >          ]
> >        },
> >
> > In other words, one can envision that IRD can be a hierarchy for
> > flexibility and delegation.
> >
> > A question is whether we explicitly distinguish such two types of
> > entries in syntax -- they are different in semantics already.
> >
> > Note that distinguishing the two types by simply checking the number of
> > entries in media-types or accepts will be less robust.
> >
> > One possibility is the following. A "leaf" IRD entry has the format:
> >  "uri": ""
> >
> >  "media-type": ""
> >  "accept": ""
> >  "capabilities" : {}
> >
> > A "container" IRD has the format:
> >   "uri" :
> >   "media-types" : []
> >   "accepts" : []
> >   // no capabilities
> >
> > Any thought?
> >
> > Richard
> >
> >
> >
>
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>

--047d7b15a59b0e7db704dc392f0d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Enrico,</p>
<p dir=3D"ltr">On May 8, 2013 4:17 AM, &quot;Enrico Marocco&quot; &lt;<a hr=
ef=3D"mailto:enrico.marocco@telecomitalia.it">enrico.marocco@telecomitalia.=
it</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Richard,<br>
&gt;<br>
&gt; since the new version has been submitted, the actual section with the<=
br>
&gt; example you mention is 8.5.3<br>
&gt; (<a href=3D"http://tools.ietf.org/html/draft-ietf-alto-protocol-15#sec=
tion-8.5.3">http://tools.ietf.org/html/draft-ietf-alto-protocol-15#section-=
8.5.3</a>).</p>
<p dir=3D"ltr">Yes.</p>
<p dir=3D"ltr">&gt; On the substance of the question, I believe it&#39;s es=
sential to have the<br>
&gt; syntax flexible enough to reflect proper semantics. However -- forgive=
<br>
&gt; the JavaScript speak -- =A0with the current specification the distinct=
ion<br>
&gt; between &quot;leaf&quot; and &quot;container&quot; would basically req=
uire a check on<br>
&gt; (media-types.length =3D=3D 1), while with the proposed change it would=
 turn<br>
&gt; out to (typeof media-types =3D=3D &quot;string&quot;), correct?</p>
<p dir=3D"ltr">It can be more complex. For example,=A0 the just submitted v=
ersion allows IRD to announce multipe cost types of an unfiltered cost map =
with a single media type. Hence we have a case that media-types has a lengt=
h of 1 but we do not have a leaf node.</p>

<p dir=3D"ltr">As another example. Consider a possible future extension, wh=
ere we may consider allowing two media types for one IR: for example,=A0 bo=
th the current cost map format or a new matrix format. Hence, IRD could ann=
ounce two media types for it, and ALTO Clients can indicate one using http =
Accept in request. Hence, we have a case of media-types with length &gt; 1,=
 but we have a leaf.</p>

<p dir=3D"ltr">Regardless indicating leaf vs non-leaf explicitly, I do not =
foresee encountering non-encodable problems with the current spec. There ca=
n be some difference in ease of implementation. My personal preference is e=
xplicit leaf nodes and hence no need for a Client to request an IR but get =
an IRD back. But the current spec works and can be more compact for IRD rep=
resentation. </p>

<p dir=3D"ltr">Thanks! </p>
<p dir=3D"ltr">Richard<br>
&gt;<br>
&gt; If that&#39;s the case, honestly I don&#39;t see a big gain in doing i=
t. But I&#39;m<br>
&gt; not an implementor nor have a strong preference, so I&#39;ll let other=
s<br>
&gt; express more articulated opinions. Either way works for me.<br>
&gt;<br>
&gt; Enrico<br>
&gt;<br>
&gt; On 5/7/13 10:18 PM, Y. Richard Yang wrote:<br>
&gt; &gt; Dear all,<br>
&gt; &gt;<br>
&gt; &gt; As we work to finalize a newer version to get feedback, here is a=
 quick<br>
&gt; &gt; question that we need feedback/comments to have a quick closure. =
The<br>
&gt; &gt; issue can be discussed using the current posted version<br>
&gt; &gt; (<a href=3D"http://datatracker.ietf.org/doc/draft-ietf-alto-proto=
col/?include_text=3D1">http://datatracker.ietf.org/doc/draft-ietf-alto-prot=
ocol/?include_text=3D1</a>),<br>
&gt; &gt; although we will post a newer version soon.<br>
&gt; &gt;<br>
&gt; &gt; Specifically, consider the first IRD example in Sec. 7.6.3. One c=
an<br>
&gt; &gt; identify that among the six entries, 5 are base or &quot;leaf&quo=
t; entries, which<br>
&gt; &gt; represent specific Information Resources, and one is a &quot;cont=
ainer&quot; entry:<br>
&gt; &gt;<br>
&gt; &gt; {<br>
&gt; &gt; =A0 =A0 =A0 =A0 =A0&quot;uri&quot; : &quot;<a href=3D"http://cust=
om.alto.example.com/maps">http://custom.alto.example.com/maps</a>&quot;,<br=
>
&gt; &gt; =A0 =A0 =A0 =A0 =A0&quot;media-types&quot; : [<br>
&gt; &gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-networkmap+json&quo=
t;,<br>
&gt; &gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-costmap+json&quot;<=
br>
&gt; &gt; =A0 =A0 =A0 =A0 =A0],<br>
&gt; &gt; =A0 =A0 =A0 =A0 =A0&quot;accepts&quot; : [<br>
&gt; &gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-networkmapfilter+js=
on&quot;,<br>
&gt; &gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-costmapfilter+json&=
quot;<br>
&gt; &gt; =A0 =A0 =A0 =A0 =A0]<br>
&gt; &gt; =A0 =A0 =A0 =A0},<br>
&gt; &gt;<br>
&gt; &gt; In other words, one can envision that IRD can be a hierarchy for<=
br>
&gt; &gt; flexibility and delegation.<br>
&gt; &gt;<br>
&gt; &gt; A question is whether we explicitly distinguish such two types of=
<br>
&gt; &gt; entries in syntax -- they are different in semantics already.<br>
&gt; &gt;<br>
&gt; &gt; Note that distinguishing the two types by simply checking the num=
ber of<br>
&gt; &gt; entries in media-types or accepts will be less robust.<br>
&gt; &gt;<br>
&gt; &gt; One possibility is the following. A &quot;leaf&quot; IRD entry ha=
s the format:<br>
&gt; &gt; =A0&quot;uri&quot;: &quot;&quot;<br>
&gt; &gt;<br>
&gt; &gt; =A0&quot;media-type&quot;: &quot;&quot;<br>
&gt; &gt; =A0&quot;accept&quot;: &quot;&quot;<br>
&gt; &gt; =A0&quot;capabilities&quot; : {}<br>
&gt; &gt;<br>
&gt; &gt; A &quot;container&quot; IRD has the format:<br>
&gt; &gt; =A0 &quot;uri&quot; :<br>
&gt; &gt; =A0 &quot;media-types&quot; : []<br>
&gt; &gt; =A0 &quot;accepts&quot; : []<br>
&gt; &gt; =A0 // no capabilities<br>
&gt; &gt;<br>
&gt; &gt; Any thought?<br>
&gt; &gt;<br>
&gt; &gt; Richard<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; alto mailing list<br>
&gt; <a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/alto">https://www.iet=
f.org/mailman/listinfo/alto</a><br>
&gt;<br>
</p>

--047d7b15a59b0e7db704dc392f0d--

From enrico.marocco@telecomitalia.it  Wed May  8 12:26:56 2013
Return-Path: <enrico.marocco@telecomitalia.it>
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 B7C8F21F8624 for <alto@ietfa.amsl.com>; Wed,  8 May 2013 12:26:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.719
X-Spam-Level: 
X-Spam-Status: No, score=-101.719 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 lpbqgv+oJ0lb for <alto@ietfa.amsl.com>; Wed,  8 May 2013 12:26:50 -0700 (PDT)
Received: from GRFEDG701RM001.telecomitalia.it (grfedg701rm001.telecomitalia.it [217.169.121.20]) by ietfa.amsl.com (Postfix) with ESMTP id 5500221F869A for <alto@ietf.org>; Wed,  8 May 2013 12:26:50 -0700 (PDT)
Received: from grfhub703rm001.griffon.local (10.19.3.10) by GRFEDG701RM001.telecomitalia.it (10.173.88.20) with Microsoft SMTP Server (TLS) id 8.3.297.1; Wed, 8 May 2013 21:26:48 +0200
Received: from MacLab.local (163.162.180.246) by smtp.telecomitalia.it (10.19.9.236) with Microsoft SMTP Server (TLS) id 8.3.297.1; Wed, 8 May 2013 21:26:47 +0200
Message-ID: <518AA6F5.9040402@telecomitalia.it>
Date: Wed, 8 May 2013 21:26:45 +0200
From: Enrico Marocco <enrico.marocco@telecomitalia.it>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: "Y. Richard Yang" <yry@cs.yale.edu>
References: <CANUuoLom_RtVHtTy23jmffP6Rv5WRsmbsqzj9r3P7k3SDU_hwA@mail.gmail.com> <518A0A1D.20302@telecomitalia.it> <CANUuoLq6fbRBWqJtz2j2gAUrwnAUO2GgRpBWi5pm62tciBug+A@mail.gmail.com>
In-Reply-To: <CANUuoLq6fbRBWqJtz2j2gAUrwnAUO2GgRpBWi5pm62tciBug+A@mail.gmail.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms010003070101060301030301"
X-TI-Disclaimer: Disclaimer1
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] IRD declaration
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: Wed, 08 May 2013 19:26:56 -0000

--------------ms010003070101060301030301
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 5/8/13 8:34 PM, Y. Richard Yang wrote:
>> On the substance of the question, I believe it's essential to have the=

>> syntax flexible enough to reflect proper semantics. However -- forgive=

>> the JavaScript speak --  with the current specification the distinctio=
n
>> between "leaf" and "container" would basically require a check on
>> (media-types.length =3D=3D 1), while with the proposed change it would=
 turn
>> out to (typeof media-types =3D=3D "string"), correct?
>=20
> It can be more complex. For example,  the just submitted version allows=

> IRD to announce multipe cost types of an unfiltered cost map with a
> single media type. Hence we have a case that media-types has a length o=
f
> 1 but we do not have a leaf node.

Right, didn't think of that.

I agree that current spec is suboptimal for such a case. Can't tell
whether the gain from an extended spec is worth the added complexity.
Would love to hear from implementors.

Enrico



--------------ms010003070101060301030301
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINdzCC
BjQwggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcJg8zOLdgasSmkLhOr
lr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7zM9/UnC6TS2y9UKTpT1v7RSM
zR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8VpH/Clt+4iq7nirMcNh6
qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+jb9x4Pa5gNf1TwSD
kOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2JLKutIxMYqQOJebr/f/h5t95
m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRTcu2SnODaywFcfH6WNU7y1LhRgjAfBgNV
HSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH
MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3
dy5zdGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cu
c3RhcnRzc2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20v
c2ZzY2EuY3JsMIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93
d3cuc3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBAAqD
CH14qywGXLhjjF6uHLkjd02hcdh9hrw+VUsv+q1eeQWB21jWj3kJ96AUlPCoEGZ/ynJNScWy
6QMVQjbbMXltUfO4n4bGGdKo3awPWp61tjAFgraLJgDk+DsSvUD6EowjMTNx25GQgyYJ5RPI
zKKR9tQW8gGK+2+RHxkUCTbYFnL6kl8Ch507rUdPPipJ9CgJFws3kDS3gOS5WFMxcjO5DwKf
KSETEPrHh7p5shuuNktvsv6hxHTLhiMKX893gxdT3XLS9OKmCv87vkINQcNEcIIoFWbP9HOR
z9v3vQwR4e3ksLc2JZOAFK+ssS5XMEoznzpihEP0PLc4dCBYjbvSD7kxgDwZ+Aj8Q9PkbvE9
sIPP7ON0fz095HdThKjiVJe6vofq+n6b1NBc8XdrQvBmunwxD5nvtTW4vtN6VY7mUCmxsCie
uoBJ9OlqmsVWQvifIYf40dJPZkk9YgGTzWLpXDSfLSplbY2LL9C9U0ptvjcDjefLTvqSFc7t
w1sEhF0n/qpA2r0GpvkLRDmcSwVyPvmjFBGqUp/pNy8ZuPGQmHwFi2/14+xeSUDG2bwnsYJQ
G2EdJCB6luQ57GEnTA/yKZSTKI8dDQa8Sd3zfXb19mOgSF0bBdXbuKhEpuP9wirslFe6fQ1t
5j5R0xi72MZ8ikMu1RQZKCyDbMwazlHiMIIHOzCCBiOgAwIBAgIDBKfoMA0GCSqGSIb3DQEB
BQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20g
Q2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcNMTIwODA3MDkxNTQz
WhcNMTMwODA4MDczMzM3WjB1MRkwFwYDVQQNExBvWkNPVnNYc09NME9mcExwMSgwJgYDVQQD
DB9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MS4wLAYJKoZIhvcNAQkBFh9lbnJp
Y28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAshI2shfUZ7P5RVcP04fJ4OfYmK/RUyokJpuJE4KaSOLArtpNtlYo6MtXfmZzA8y/
5HChSAmPvqUwhMMYh1LurWbOdX4uKXO1gsFrPOtxTa6qin6lXaJ3bo2pKnkN9mQkjvm0E23r
rrT3MC6h6UfyFAcvs01+yq9wVuxxRdC4LZTGAbXGkE34GQAnBy9eqvJ+m351hPaaVw9u8CWN
uyv9YKLXpicS/q8j2EOpFBCkZVp0E8fViSXViGtuhfbW6R+TjTXJZN06DEqb/vpRSWkvBDf0
UqDFrgmlmSnXJ/xpaygAJcHyE5qjRXkIV7adTkg9Z/Z2lJXvtDUdHbNBiYcVOwIDAQABo4ID
ujCCA7YwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsG
AQUFBwMEMB0GA1UdDgQWBBT1YgWCbkVCN8iNgS49Fh9R2ZC8wTAfBgNVHSMEGDAWgBRTcu2S
nODaywFcfH6WNU7y1LhRgjAqBgNVHREEIzAhgR9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRh
bGlhLml0MIICIQYDVR0gBIICGDCCAhQwggIQBgsrBgEEAYG1NwECAjCCAf8wLgYIKwYBBQUH
AgEWImh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwgfcGCCsGAQUFBwICMIHq
MCcWIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MAMCAQEagb5UaGlzIGNlcnRp
ZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3JkaW5nIHRvIHRoZSBDbGFzcyAxIFZhbGlkYXRpb24g
cmVxdWlyZW1lbnRzIG9mIHRoZSBTdGFydENvbSBDQSBwb2xpY3ksIHJlbGlhbmNlIG9ubHkg
Zm9yIHRoZSBpbnRlbmRlZCBwdXJwb3NlIGluIGNvbXBsaWFuY2Ugb2YgdGhlIHJlbHlpbmcg
cGFydHkgb2JsaWdhdGlvbnMuMIGcBggrBgEFBQcCAjCBjzAnFiBTdGFydENvbSBDZXJ0aWZp
Y2F0aW9uIEF1dGhvcml0eTADAgECGmRMaWFiaWxpdHkgYW5kIHdhcnJhbnRpZXMgYXJlIGxp
bWl0ZWQhIFNlZSBzZWN0aW9uICJMZWdhbCBhbmQgTGltaXRhdGlvbnMiIG9mIHRoZSBTdGFy
dENvbSBDQSBwb2xpY3kuMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly9jcmwuc3RhcnRzc2wu
Y29tL2NydHUxLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8wOQYIKwYBBQUHMAGGLWh0dHA6
Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MxL2NsaWVudC9jYTBCBggrBgEFBQcwAoY2
aHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMS5jbGllbnQuY2EuY3J0
MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG9w0BAQUFAAOC
AQEAIn8FoRaqvQzo8aGNi4EbPhIMX8aPIMhX3L/N+8sMyFe3cpSyjij47DW1K330zDJnoyZs
kuI10EzfK0wwY+D2qMQPGAmPDkix5t2dYQj6DKh1yBlBwAf7c65Ty1kpgtdymSptDJKVZcK6
R2CJ91oRBCZIObcWrG/0FZIr55+InAYyLDrlk34MwBmINhBZ4oRJdrzG6OC7cK4vG1ZWrAFE
GHVwx1uG2NXRUXQTH9DGYcwwfPo4uinFCwHZAJ2Il/J0Mqui5x+N/7p+WUlGRyb67qxg7ect
f2095+YDnbqIKIz7fGzw8XTwpjYbvWZplkG93qRXr8MRD9ukgxpxpHG2dTGCA90wggPZAgEB
MIGUMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20g
Q2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAwSn6DAJBgUrDgMCGgUA
oIICHTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzA1MDgx
OTI2NDVaMCMGCSqGSIb3DQEJBDEWBBQAdjZkhcR5WYjOrSlrZfz/rfxNSDBsBgkqhkiG9w0B
CQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcNAwcwDgYIKoZIhvcN
AwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGlBgkrBgEE
AYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSsw
KQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9T
dGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDBKfoMIGn
BgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29t
IEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2
BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENB
AgMEp+gwDQYJKoZIhvcNAQEBBQAEggEAS5MDyUnQqYUneZejZ9cWVrHQJmWf3s2uGzyEJmOx
udauRuFfeCDkgD86WBgi/xs3mlMVMwLV1oI2jJI3OfZP5ohK5WHI211F1/KtBL5+43ZVIsn2
LqoUlxz8XcqJfceZu6SRTjKCMIKFiFPyPLAvaLfI7vWmd4ftYuJUhZpoUl4HTUAbW5ZI7e7u
J9nEltSqt6if70MNz7iXkAehWeYHDSW0s9cdiDxsk2Y5uKpK6MVbslxkvFZVU19s5oJ8ZKVp
6pzEdRWhy1eTonyxAIsMwkkTVSIkh3cY4T5A9HrU7q6hetseTC4Ez/bog2jTZtm5hUgggW7C
/ogdoplQjhhphQAAAAAAAA==
--------------ms010003070101060301030301--

From yang.r.yang@gmail.com  Thu May  9 20:28:39 2013
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 6CA0121F8F0C for <alto@ietfa.amsl.com>; Thu,  9 May 2013 20:28:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 M6ydXpjipHMb for <alto@ietfa.amsl.com>; Thu,  9 May 2013 20:28:39 -0700 (PDT)
Received: from mail-pb0-x236.google.com (mail-pb0-x236.google.com [IPv6:2607:f8b0:400e:c01::236]) by ietfa.amsl.com (Postfix) with ESMTP id E736521F85BF for <alto@ietf.org>; Thu,  9 May 2013 20:28:38 -0700 (PDT)
Received: by mail-pb0-f54.google.com with SMTP id rr4so2434890pbb.41 for <alto@ietf.org>; Thu, 09 May 2013 20:28:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=95lyFhwayKN5YG7/C2SzysIXfwTBqowaS4GI7b5g/oQ=; b=RPna3lWPKFgwb0W3r/kV0+2S3J/z9hC92q1DpVOdBfOiVGbYavyhvgnEQKHOPaVM9x UrQyF6OMHtAZSoW9jVeKQJQDkB28vS/Vc3YWI43GqwYZDRbnW00jTUXAI1mlAs17koFR ZRESWlKBsvS0VjACfba+G/qQyjjE3/IqdtfPp0AQV3IxqOBUz9+4oyg4UeiL5jt0S2hT P4qA+4biBdEBmwTu18wSds0GQaD4FlVPgCmaD3akzRowIfxV+Csk7QZvMw2sGi0YFLJZ h9A+LebXbXWbmFVD2+Fyjo4jOjfi2kXSpMVeqWp/he6fSnXMumMZnlI6zrmiTkqRXCyN wYMw==
MIME-Version: 1.0
X-Received: by 10.68.213.231 with SMTP id nv7mr15608113pbc.70.1368156518666; Thu, 09 May 2013 20:28:38 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.143.197 with HTTP; Thu, 9 May 2013 20:28:38 -0700 (PDT)
In-Reply-To: <518AA6F5.9040402@telecomitalia.it>
References: <CANUuoLom_RtVHtTy23jmffP6Rv5WRsmbsqzj9r3P7k3SDU_hwA@mail.gmail.com> <518A0A1D.20302@telecomitalia.it> <CANUuoLq6fbRBWqJtz2j2gAUrwnAUO2GgRpBWi5pm62tciBug+A@mail.gmail.com> <518AA6F5.9040402@telecomitalia.it>
Date: Thu, 9 May 2013 23:28:38 -0400
X-Google-Sender-Auth: 9uq3wbo94Qs-vFDZtqg4pJtDCnk
Message-ID: <CANUuoLr0Fom8O6s__VSp5BEGR+zQ5mkfFVMXX5MjqZPGfCngYw@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Enrico Marocco <enrico.marocco@telecomitalia.it>
Content-Type: multipart/alternative; boundary=e89a8f923c7a4ade2304dc54c32d
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] IRD declaration
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: Fri, 10 May 2013 03:28:39 -0000

--e89a8f923c7a4ade2304dc54c32d
Content-Type: text/plain; charset=ISO-8859-1

Hi Enrico,

It may not worth changing the spec at this moment, but I as well would like
to hear from other implementors such as Wendy, ...

Richard


On Wed, May 8, 2013 at 3:26 PM, Enrico Marocco <
enrico.marocco@telecomitalia.it> wrote:

> On 5/8/13 8:34 PM, Y. Richard Yang wrote:
> >> On the substance of the question, I believe it's essential to have the
> >> syntax flexible enough to reflect proper semantics. However -- forgive
> >> the JavaScript speak --  with the current specification the distinction
> >> between "leaf" and "container" would basically require a check on
> >> (media-types.length == 1), while with the proposed change it would turn
> >> out to (typeof media-types == "string"), correct?
> >
> > It can be more complex. For example,  the just submitted version allows
> > IRD to announce multipe cost types of an unfiltered cost map with a
> > single media type. Hence we have a case that media-types has a length of
> > 1 but we do not have a leaf node.
>
> Right, didn't think of that.
>
> I agree that current spec is suboptimal for such a case. Can't tell
> whether the gain from an extended spec is worth the added complexity.
> Would love to hear from implementors.
>
> Enrico
>
>
>

--e89a8f923c7a4ade2304dc54c32d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Enrico,<div><br></div><div style>It may not worth chang=
ing the spec at this moment, but I as well would like to hear from other im=
plementors such as Wendy, ...</div><div style><br></div><div style>Richard<=
/div>
</div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Wed,=
 May 8, 2013 at 3:26 PM, Enrico Marocco <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:enrico.marocco@telecomitalia.it" target=3D"_blank">enrico.marocco@tele=
comitalia.it</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On 5/8/13 8:34 PM, Y. Rich=
ard Yang wrote:<br>
&gt;&gt; On the substance of the question, I believe it&#39;s essential to =
have the<br>
&gt;&gt; syntax flexible enough to reflect proper semantics. However -- for=
give<br>
&gt;&gt; the JavaScript speak -- =A0with the current specification the dist=
inction<br>
&gt;&gt; between &quot;leaf&quot; and &quot;container&quot; would basically=
 require a check on<br>
&gt;&gt; (media-types.length =3D=3D 1), while with the proposed change it w=
ould turn<br>
&gt;&gt; out to (typeof media-types =3D=3D &quot;string&quot;), correct?<br=
>
&gt;<br>
&gt; It can be more complex. For example, =A0the just submitted version all=
ows<br>
&gt; IRD to announce multipe cost types of an unfiltered cost map with a<br=
>
&gt; single media type. Hence we have a case that media-types has a length =
of<br>
&gt; 1 but we do not have a leaf node.<br>
<br>
</div>Right, didn&#39;t think of that.<br>
<br>
I agree that current spec is suboptimal for such a case. Can&#39;t tell<br>
whether the gain from an extended spec is worth the added complexity.<br>
Would love to hear from implementors.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Enrico<br>
<br>
<br>
</font></span></blockquote></div><br></div>

--e89a8f923c7a4ade2304dc54c32d--

From w.roome@alcatel-lucent.com  Fri May 10 07:24:20 2013
Return-Path: <w.roome@alcatel-lucent.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 709E521F8B38 for <alto@ietfa.amsl.com>; Fri, 10 May 2013 07:24:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.558
X-Spam-Level: 
X-Spam-Status: No, score=-10.558 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, RCVD_IN_DNSWL_HI=-8]
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 HHCPjy2iRdAV for <alto@ietfa.amsl.com>; Fri, 10 May 2013 07:24:09 -0700 (PDT)
Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by ietfa.amsl.com (Postfix) with ESMTP id AA3A021F8B2B for <alto@ietf.org>; Fri, 10 May 2013 07:24:09 -0700 (PDT)
Received: from usnavsmail4.ndc.alcatel-lucent.com (usnavsmail4.ndc.alcatel-lucent.com [135.3.39.12]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id r4AEO8jO023059 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Fri, 10 May 2013 09:24:08 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail4.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r4AEO7mZ021186 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Fri, 10 May 2013 09:24:08 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r4AEO5Kq008782 for <alto@ietf.org>; Fri, 10 May 2013 09:24:06 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.2.130206
Date: Fri, 10 May 2013 10:24:10 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "alto@ietf.org" <alto@ietf.org>
Message-ID: <CDB27B4A.576D2%w.roome@alcatel-lucent.com>
Thread-Topic: Comments on draft 15
Mime-version: 1.0
Content-type: multipart/mixed; boundary="B_3451026252_55807254"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.12
Subject: [alto] Comments on draft 15
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: Fri, 10 May 2013 14:24:20 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3451026252_55807254
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

Attached are my comments on draft 15.

Sorry, but I couldn't resist the urge to suggest a few changes to the
protocol. But they're relatively minor.

	- Wendy Roome


--B_3451026252_55807254
Content-type: text/plain; name="draft-ietf-alto-protocol-15-prelim-notes.txt";
 x-mac-creator="522A6368";
 x-mac-type="54455854"
Content-disposition: attachment;
	filename="draft-ietf-alto-protocol-15-prelim-notes.txt"
Content-transfer-encoding: base64


Q29tbWVudHMgb24gQUxUTyBkcmFmdCAxNS4gUGFnZSBudW1iZXJzIGFyZSBmcm9tIHRoZSBQ
REYgdmVyc2lvbi4KClN1Z2dlc3RlZCBjaGFuZ2VzIG9yIGV4dGVuc2lvbnM6Cgp7OS4yfSBW
ZXJzaW9uIFRhZzoKCglIb3cgYWJvdXQgc2F5aW5nIHRoYXQgdnRhZ3Mgc2hvdWxkIHN0YXJ0
IHdpdGggYSBzdHJpbmcgdGhhdCdzIHVuaXF1ZQoJdG8gdGhlIEFMVE8gc2VydmljZSBwcm92
aWRlciwgc3VjaCBhcyBhbiBJUCBhZGRyZXNzIG9yIGEgZG9tYWluIG5hbWUKCW93bmVkIGJ5
IHRoZSBBTFRPIHByb3ZpZGVyPwlUaGUgcmVhc29uIGlzIHRvIGVuc3VyZSB0aGF0IHR3bwoJ
dW5yZWxhdGVkIEFMVE8gc2VydmVycyBkb24ndCBhY2NpZGVudGFsbHkgdXNlIHRoZSBzYW1l
IHZ0YWcuCgkKezkuNn0gQ29zdCBUeXBlIHN0cnVjdHVyZSBhbmQgSVJEIG1ldGEgaW4gezgu
NS4zfToKCiAgICBIb3cgYWJvdXQgYWRkaW5nIGEgImNvbnNpc3RlbnQtd2l0aCIgaXRlbSBp
biB0aGUgSVJEIG1ldGFkYXRhCiAgICB3aXRoIGEgbGlzdCBvZiBJUkQgVVJJcyBmb3IgQUxU
TyBzZXJ2ZXJzIHRoYXQgYXJlIGNvbnNpc3RlbnQKICAgIHdpdGggdGhpcyBzZXJ2ZXI/ICJD
b25zaXN0ZW50IiBtZWFucyB0aGV5IHVzZSB0aGUgc2FtZSBuZXR3b3JrIG1hcCwKICAgIGFu
ZCBpZiB0aGV5IHByb3ZpZGUgdGhlIHNhbWUgY29zdC1tZXRyaWNzIG9yIHByb3BlcnRpZXMs
IHRoZXknbGwKICAgIGhhdmUgdGhlIHNhbWUgdmFsdWVzLgogICAgCiAgICBFZywKCQkibWV0
YSIgOiB7CgkJCSJjb3N04oiSdHlwZXMiOiB7CgkJCQkibnVt4oiScm91dGluZyI6IHsuLi59
LAoJCQkJIm51beKIkmhvcCI6IHsuLi59CgkJCQkib3Jk4oiScm91dGluZyI6IHsuLi59LAoJ
CQkJIm9yZOKIkmhvcCI6IHsuLi59CgkJCX0sCgkJCSJjb25zaXN0ZW50LXdpdGgiOiBbCgkJ
CQkiaHR0cDovL2N1c3RvbS5hbHRvLmV4YW1wbGUuY29tL21hcHMiCgkJCV0KCQl9LAoKezgu
NS4zfSAmIHs4LjUuNH0gSVJEIGV4YW1wbGVzCgoJezguNS4zfSBnaXZlcyBhbiBleGFtcGxl
IG9mIG9uZSBJUkQgcG9pbnRpbmcgdG8gYW5vdGhlciBBTFRPIHNlcnZlci4KCVRoZSBmaXJz
dCBJUkQgZ2l2ZXMgYSBzdXBlcnNldCBvZiB0aGUgIm1lZGlhLXR5cGVzIiBhbmQgImFjY2Vw
dHMiCglmb3IgdGhlIHNlcnZpY2VzIGF0IHRoZSBvdGhlciBBTFRPIHNlcnZlci4gezguNS40
fSB0aGVuIHNob3dzIGhvdwoJdG8gdXNlIGFuIE9QVElPTlMgcmVxdWVzdCB0byBnZXQgdGhl
IGRldGFpbHMgZnJvbSB0aGUgc2Vjb25kIHNlcnZlci4KCQoJSSBzdWdnZXN0IHNpbXBsaWZ5
aW5nIHRoYXQuIEluc3RlYWQgb2YgdGhlIGZpcnN0IElSRCB0cnlpbmcgdG8gZ2l2ZQoJYSBz
dW1tYXJ5IG9mIHRoZSBzZXJ2aWNlcyBvbiB0aGUgc2Vjb25kIElSRCwgdGhlIGZpcnN0IEFM
VE8gc2VydmVyCglqdXN0IGhhcyBhbiBlbnRyeSB3aXRoIHRoZSBVUkkgb2YgdGhlIElSRCBv
ZiB0aGUgb3RoZXIgQUxUTyBzZXJ2ZXIsCglhbmQgdGhlIHNpbmdsZSBtZWRpYS10eXBlICJh
cHBsaWNhdGlvbi9hbHRv4oiSZGlyZWN0b3J5K2pzb24iIHRvIGluZGljYXRlCgl0aGF0IHRo
aXMgVVJJIHJldHVybnMgYW4gSVJELgoJCglUaGVuIGZvciB7OC41LjR9LCBkZWxldGUgYWxs
IG9mIHRoZSB0ZXh0IGF0IHRoZSB0b3AgZXhwbGFpbmluZyBhYm91dAoJdGhlIDMwMC9NdWx0
aXBsZSBDaG9pY2VzIHN0YXR1cyBjb2Rlcy4gSnVzdCBzYXkgdGhhdCB0aGUgY2xpZW50IGRp
c2NvdmVycwoJdGhlIHNlcnZpY2VzIGZyb20gdGhlIG90aGVyIFVSSSBieSBkb2luZyBhbm90
aGVyIEdFVCBmb3IgdGhhdCBJUkQuCgkKCUVnLCB0aGUgezguNS4zfSBleGFtcGxlIGJlY29t
ZXM6CgkKCQl9LCB7CgkJCSJ1cmkiIDogImh0dHA6Ly9jdXN0b20uYWx0by5leGFtcGxlLmNv
bS9tYXBzIiwKCQkJIm1lZGlh4oiSdHlwZXMiIDogWyJhcHBsaWNhdGlvbi9hbHRv4oiSZGly
ZWN0b3J5K2pzb24iXQoJCX0sIHsKCQkKCUFuZCB7OC41LjR9IGJlY29tZXMgYSBHRVQgaW5z
dGVhZCBvZiBhbiBPUFRJT05TIHJlcXVlc3Q6CgkKCTguNS40IEFub3RoZXIgRXhhbXBsZQoJ
CglUaGUgQUxUTyBDbGllbnQgY2FuIGRpc2NvdmVyIHRoZSBtYXBzIGF2YWlsYWJsZSBhdCAi
Y3VzdG9tLmFsdG8uZXhhbXBsZS5jb20iCglieSBzdWNjZXNzZnVsbHkgcGVyZm9ybWluZyBh
IEdFVCByZXF1ZXN0IHRvICJodHRwOi8vY3VzdG9tLmFsdG8uZXhhbXBsZS5jb20vbWFwcyI6
CgkKCQlHRVQgL21hcHMgSFRUUC8xLjEKCQlIb3N0OiBjdXN0b20uYWx0by5leGFtcGxlLmNv
bQoJCUFjY2VwdDogYXBwbGljYXRpb24vYWx0b+KIkmRpcmVjdG9yeStqc29uLGFwcGxpY2F0
aW9uL2FsdG/iiJJlcnJvcitqc29uCgkJCgkJSFRUUC8xLjEgMjAwIE9LCgkJQ29udGVudOKI
kkxlbmd0aDogVEJBCgkJQ29udGVudOKIklR5cGU6IGFwcGxpY2F0aW9uL2FsdG/iiJJkaXJl
Y3RvcnkranNvbgoJCXsKCQkJIm1ldGEiIDogewoJCQkJY29zdOKIknR5cGVzIjogewoJCQkJ
CSJudW3iiJJyb3V0aW5nIjogey4uLn0sCgkJCQkJIm51beKIkmhvcCI6IHsuLi59CgkJCQkJ
Im9yZOKIknJvdXRpbmciOiB7Li4ufSwKCQkJCQkib3Jk4oiSaG9wIjogey4uLn0KCQkJCX0s
CgkJCQkiY29uc2lzdGVudC13aXRoIjogWwoJCQkJCSJodHRwOi8vYWx0by5leGFtcGxlLmNv
bS9kaXJlY3RvcnkiCgkJCQldCgkJCX0sCgkJCSJyZXNvdXJjZXMiOiBbCgkJCQkuLi4uCgkJ
CV0KCQl9CgkKCU5PVEU6IFRoaXMgdGhlbiBiZWdzIHRoZSBxdWVzdGlvbiBvZiB3aHkgZG8g
Im1lZGlhLXR5cGVzIiBhbmQgImFjY2VwdHMiIG5lZWQgdG8gYmUKCWFycmF5cz8gSXMgdGhl
cmUgZXZlciBhIHJlYXNvbiBmb3IgaGF2aW5nIG1vcmUgdGhhbiBvbmUgbWVkaWEtdHlwZSBv
ciBhY2NlcHRzCglmb3Igb25lIGVudHJ5PyAgSWYgYSBVUkkgZG9lcyBhY2NlcHQgdHdvIGRp
ZmZlcmVudCBmaWx0ZXJlZCBzZXJ2aWNlcywKCWFuZCBkaXN0aW5ndWlzaGVzIHRoZW0gYnkg
dGhlIG1lZGlhIHR5cGUgZm9yIHRoZSBQT1NUIGRhdGEgc2VudCBieQoJdGhlIGNsaWVudCwg
anVzdCB1c2UgdHdvIGRpZmZlcmVudCBlbnRyaWVzIGluIHRoZSBJUkQgd2l0aCB0aGUgc2Ft
ZSBVUkkuCgkKezEwLjQuMS4zfSwgcDUxLTUyLCBFbmRwb2ludCBDb3N0IFBhcmFtZXRlcnMK
CglDdXJyZW50bHkgaXQgc2F5cyB0byB1c2UgdGhlIGNsaWVudCdzIGFkZHJlc3MgaWYgdGhl
IHNvdXJjZSBsaXN0IGlzIG9taXR0ZWQuCglIb3cgYWJvdXQgZXh0ZW5kaW5nIHRoYXQgc2xp
Z2h0bHk6CgkKCSAgICBJZiB0aGUgbGlzdCBvZiBTb3VyY2Ugb3IgRGVzdGluYXRpb24gRW5k
cG9pbnRzIGlzIG1pc3NpbmcgKG9yIG5vdCBpbmNsdWRlZCksCgkgICAgdGhlIEFMVE8gU2Vy
dmVyIE1VU1QgaW50ZXJwcmV0IHRoZSBtaXNzaW5nIGxpc3QgYXMgaWYgaXQgY29udGFpbmVk
CgkgICAgdGhlIEVuZHBvaW50IEFkZHJlc3MgY29ycmVzcG9uZGluZyB0byB0aGUgY2xpZW50
IElQIGFkZHJlc3MgLi4uLi4KCSAgICBUaGUgU291cmNlIGFuZCBEZXN0aW5hdGlvbiBFbmRw
b2ludCBsaXN0cyBNVVNUIE5PVCBib3RoIGJlIGVtcHR5LgoJCQoJRllJIC0tIGluIG1vc3Qg
b2YgdGhlIHVzZSBjYXNlcyBJJ3ZlIHdvcmtlZCBvbiwgdGhlIGNsaWVudCBpcyB0aGUgZGVz
dGluYXRpb24uCglFZywgSSB1c2UgQUxUTyB0byBmaW5kIHRoZSBiZXN0IHNlcnZlciBmcm9t
IHdoaWNoIHRvIGRvd25sb2FkIGEgbW92aWUuCgkKCQpUeXBvczoKCnAxOCwgbmV4dCB0byBs
YXN0IHBhcmFncmFwaDogIm1lbWVyYnMiID0+ICJtZW1iZXJzIgoKcDE4LCBuZXh0IHRvIGxh
c3QgcGFyYWdyYXBoOiBDdXJyZW50bHkgaXQgc2F5cwoKCWFuZCBhbiBhcnJheSBpcyBpbmRp
Y2F0ZWQgYnkgdHdvIG51bWJlcnMsIG0gYW5kIG4sCgl3aGVyZSBtIGluZGljYXRlcyB0aGUg
bWluaW1hbCBudW1iZXIgb2YgdmFsdWVzLCBhbmQgbiBpcyB0aGUgbWF4aW11bS4KCVdoZW4g
d2Ugd3JpdGUgLi4gZm9yIG4sIGl0IG1lYW5zIG5vIHVwcGVyIGJvdW5kLgoJClRoYXQgZG9l
c24ndCBtYXRjaCB0aGUgdXNhZ2UuIEhvdyBhYm91dCByZXBsYWNpbmcgdGhhdCB3aXRoCgog
ICAgYW5kIGFuIGFycmF5IGlzIGluZGljYXRlZCBieSB0d28gbnVtYmVycyBpbiBhbmdsZSBi
cmFja2V0cywgPG0uLm4+LAoJd2hlcmUgbSBpbmRpY2F0ZXMgdGhlIG1pbmltYWwgbnVtYmVy
IG9mIHZhbHVlcywgYW5kIG4gaXMgdGhlIG1heGltdW0uCglXaGVuIHdlIHdyaXRlICogZm9y
IG4sIGl0IG1lYW5zIG5vIHVwcGVyIGJvdW5kLgoKcDIzLCB7OC41LjN9OiBUaGlzIGlzIGFi
b3V0IGFuIEluZm9ybWF0aW9uIFJlc291cmNlIERpcmVjdG9yeSBvciAiSVJEIi4KCVNvIHdo
eSB1c2UgICJJRFIiICBhcyBhIHByZWZpeCBpbiAgIklEUk1ldGEiIGFuZCAiSURSUmVzb3Vy
Y2VFbnRyeSI/CglXb3VsZG4ndCBpdCBtYWtlIG1vcmUgc2Vuc2UgdG8gY2FsbCB0aG9zZSBv
YmplY3RzIElEUk1ldGEgYW5kIElSRFJlc291cmNlRW50cnk/CgkKcDIzLTI1OgoJVGhlcmUn
cyBubyBkZWZpbml0aW9uIG9mIHRoZSBjb3N0LXR5cGVzIGF0dHJpYnV0ZSBpbiB0aGUgSVJE
IG1ldGFkYXRhOwoJaXQncyBvbmx5IGRlZmluZWQgYnkgZXhhbXBsZS4gIHs5LjZ9IGRvZXMg
ZGVmaW5lIGEgQ29zdFR5cGUgc3RydWN0dXJlLAoJYnV0IHRoYXQgQ29zdFR5cGUgZG9lcyBu
b3QgaW5jbHVkZSB0aGUgImRlc2NyaXB0aW9uIiBmaWVsZCB1c2VkIGluCgl0aGUgSVJEIGV4
YW1wbGVzLiBNeSBndWVzcyBpcyB0aGF0IHdlIHdhbnQgdGhlIHs5LjZ9IENvc3RUeXBlIG9i
amVjdAoJdG8gb25seSBhcHBseSB0byBtYXAgcXVlcmllcyBhbmQgcmVzcG9uc2VzOyB0aGUg
aXRlbXMgaW4gdGhlIElSRCBtZXRhIGNvc3QtdHlwZXMKCWxpc3QgYXJlIG9mIGEgZGlmZmVy
ZW50IHR5cGUuCgkKCVNvIHRoYXQgc2hvdWxkIGJlIGRlZmluZWQgaW4gezguNS4yfS4KCQoJ
T3IgaWYgY29zdC10eXBlcyByZWFsbHkgaXMgYSBsaXN0IG9mIHs5LjZ9IENvc3RUeXBlIG9i
amVjdHMsCglkcm9wIHRoZSAiZGVzY3JpcHRpb24iIGZpZWxkcyBmcm9tIHRoZSBleGFtcGxl
cywgYW5kIGdpdmUgYQoJZm9yd2FyZCByZWZlcmVuY2UgdG8gezkuNn0uCgkJCnAyNSwgdG9w
IG9mIHBhZ2U6ICJSZXNvdWNyZXMiID0+ICJSZXNvdXJjZXMiLgoKICAgIEEgZmV3IGxpbmVz
IGRvd24sIHRoZXJlJ3MgICAKICAgICAgIC4uLiBmcm9tIHRoZSAibWV0YSIgbWVtYmVyIG9m
IHRoZSBJRFIuICAgICAgIAogICAgU2hvdWxkbid0IHRoZSBhY3JvbnltIGJlICJJUkQiPwoK
CVdoYXQgYWJvdXQgbW92aW5nIHRoZSBkZWZpbml0aW9uIG9mIHRoZSBDb3N0VHlwZSBvYmpl
Y3QgZnJvbSB7OS42fSB0byB7OC41LjJ9PwoJQXMgaXQgc3RhbmRzIG5vdywgdGhlIGV4YW1w
bGUgb24gcDI1IGdpdmVzIGNvc3QtdHlwZXMgd2l0aG91dCBhbiBleHBsYW5hdGlvbiwKCXdo
aWNoIGlzIGNvbmZ1c2luZyB0byB0aGUgcmVhZGVyLiAgT3IgYXQgbGVhc3QgZ2l2ZSBhIGZv
cndhcmQtcmVmZXJlbmNlIHRvIHs5LjZ9LgoJCnAyNiwgezguNS40fToKCVRoZSBjb21tZW50
cyBhYm91dCAibWF5IGluZGljYXRlIG11bHRpcGxlIElSRHMgd2l0aCBvbmUgQUxUTyBlbmRw
b2ludCIgCglhcmUgaW5jb25zaXN0ZW50IHdpdGggdGhlIGV4YW1wbGUsIGJlY2F1c2UgImh0
dHA6Ly9jdXN0b20uYWx0by5leGFtcGxlLmNvbi9tYXBzIgoJZG9lcyBOT1QgcHJvdmlkZSBt
dWx0aXBsZSBzZXJ2aWNlcy4gSW5zdGVhZCwgdGhhdCBVUkkgcmV0dXJucyBhbiBJUkQuCglB
Y2NvcmRpbmcgdG8gdGhlIGV4YW1wbGUsIHRoZSBmaWx0ZXJlZCBzZXJ2aWNlcyBhcmUgcHJv
dmlkZWQgYnkgZGlmZmVyZW50Cgl1cmlzLgoJCnAyOSwgezguNn06CglEaWRuJ3Qgd2Ugc2F5
IHRoYXQgdGhhdCAibWV0YSIgaXRlbSB3YXMgb3B0aW9uYWw/CgkKcDM1LCB7OS41fSBDb3N0
IE1ldHJpY3M6CgoJRGlkbid0IHRoaXMgdXNlZCB0byBzYXkgdGhhdCAiLiIgaW4gYSBjb3N0
IG1ldHJpYyBuYW1lIHdhcyBsZWdhbAoJYnV0IHJlc2VydmVkIGZvciBmdXR1cmUgdXNlPwoJ
CnAzNiwgezkuNn0gQ29zdCBUeXBlCgoJU2VlIGVhcmxpZXIgY29tbWVudHMgYWJvdXQgd2hl
dGhlciB0aGlzIGlzIHRoZSB0eXBlIG9mIEpTT04gb2JqZWN0cwoJaW4gdGhlIElSRCBtZXRh
IGNvc3QtdHlwZXMgbGlzdC4gIElmIGl0IGlzLCBhbmQgeW91IHdhbnQgdG8gcmV0YWluCgl0
aGUgImRlc2NyaXB0aW9uIiBmaWVsZCwgZGVmaW5lIGl0IGhlcmUsIGFuZCBpbmRpY2F0ZSB0
aGF0IGl0J3Mgb3B0aW9uYWwuCgkKcDQ4IC0gNDksIHsxMC4zLjEuNH0KCglDdXJyZW50bHkg
aXQgaGFzICJwcm9wLXR5cGVzPDAuLio+Ii4gIFNob3VsZG4ndCB0aGF0IGJlIDwxLi4qPj8K
CUl0IHNlZW1zIHNpbGx5IHRvIGhhdmUgYW4gZW5kcG9pbnQgcHJvcCBzZXJ2aWNlIHRoYXQg
ZG9lc24ndCBoYXZlCglhbnkgcHJvcGVydGllcy4gQXNzdW1pbmcgeW91IG1ha2UgdGhhdCBj
aGFuZ2UsIGF0IHRoZSB0b3Agb2YKCXBhZ2UgNDksIGRyb3AgdGhlIHNlbnRlbmNlLAoJCgkJ
SWYgbm90IHByZXNlbnQsIHRoaXMgbWVtYmVyIE1VU1QgYmUgaW50ZXJwcmV0ZWQgYXMgYW4g
ZW1wdHkgYXJyYXkuCgkJCnA2NC02NzoKCVRoZXJlIGFyZSBzZXZlcmFsIGNyb3NzLXJlZnMg
dGhhdCBzaG93IHVwIGFzIDx4cmVmIHRhcmdldD0iLi4uIj4sCglhdCBsZWFzdCBpbiB0aGUg
UERGIHZlcnNpb24uCgkKCQktIFdlbmR5IFJvb21lCg==
--B_3451026252_55807254--



From w.roome@alcatel-lucent.com  Fri May 10 07:31:58 2013
Return-Path: <w.roome@alcatel-lucent.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 E4ACE21F898B for <alto@ietfa.amsl.com>; Fri, 10 May 2013 07:31:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.579
X-Spam-Level: 
X-Spam-Status: No, score=-10.579 tagged_above=-999 required=5 tests=[AWL=0.021, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 kBplU03m9EAl for <alto@ietfa.amsl.com>; Fri, 10 May 2013 07:31:53 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id 78DF221F898A for <alto@ietf.org>; Fri, 10 May 2013 07:31:53 -0700 (PDT)
Received: from usnavsmail4.ndc.alcatel-lucent.com (usnavsmail4.ndc.alcatel-lucent.com [135.3.39.12]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r4AEVqGv009608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Fri, 10 May 2013 09:31:52 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail4.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r4AEVp7o023794 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Fri, 10 May 2013 09:31:52 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r4AEVn7m014281 for <alto@ietf.org>; Fri, 10 May 2013 09:31:51 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.2.130206
Date: Fri, 10 May 2013 10:31:54 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: <alto@ietf.org>
Message-ID: <CDB27BA7.576D3%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] IRD declaration
In-Reply-To: <mailman.5011.1368001063.3503.alto@ietf.org>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.12
Subject: Re: [alto] IRD declaration
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: Fri, 10 May 2013 14:31:59 -0000

Here's my suggestion: In the first IRD, just say that "maps" returns the
media-type for an IRD:

	{
		"uri" : "http://custom.alto.example.com/maps",
		"media-types" : ["application/alto-directory+json"],
	},

If a client wants to find out what services are available via that server,

GET the IRD.

I believe that means that there's no longer any need for "container"
entries;
everything is a leaf, and "accepts" and "media-types" can be single strings
rather than arrays.

	- Wendy Roome

>Date: Tue, 7 May 2013 16:18:59 -0400
>From: "Y. Richard Yang" <yry@cs.yale.edu>
>Subject: [alto] IRD declaration
>
>Dear all,
>
>As we work to finalize a newer version to get feedback, here is a quick
>question that we need feedback/comments to have a quick closure. The issue
>can be discussed using the current posted version (
>http://datatracker.ietf.org/doc/draft-ietf-alto-protocol/?include_text=1),
>although we will post a newer version soon.
>
>Specifically, consider the first IRD example in Sec. 7.6.3. One can
>identify that among the six entries, 5 are base or "leaf" entries, which
>represent specific Information Resources, and one is a "container" entry:
>
>{
>         "uri" : "http://custom.alto.example.com/maps",
>         "media-types" : [
>           "application/alto-networkmap+json",
>           "application/alto-costmap+json"
>         ],
>         "accepts" : [
>           "application/alto-networkmapfilter+json",
>           "application/alto-costmapfilter+json"
>         ]
>       },
>
>In other words, one can envision that IRD can be a hierarchy for
>flexibility and delegation.
>
>A question is whether we explicitly distinguish such two types of
>entries in syntax -- they are different in semantics already.
>
>Note that distinguishing the two types by simply checking the number
>of entries in media-types or accepts will be less robust.
>
>One possibility is the following. A "leaf" IRD entry has the format:
>"uri": ""
>"media-type": ""
>"accept": ""
>"capabilities" : {}
>
>A "container" IRD has the format:
>  "uri" :
>  "media-types" : []
>  "accepts" : []
>  // no capabilities
>
>Any thought?
>
>Richard
>



From w.roome@alcatel-lucent.com  Fri May 10 08:15:42 2013
Return-Path: <w.roome@alcatel-lucent.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 8938421F8E46 for <alto@ietfa.amsl.com>; Fri, 10 May 2013 08:15:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.589
X-Spam-Level: 
X-Spam-Status: No, score=-10.589 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 tBcrF3GHhuLK for <alto@ietfa.amsl.com>; Fri, 10 May 2013 08:15:30 -0700 (PDT)
Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by ietfa.amsl.com (Postfix) with ESMTP id 59A1621F8C40 for <alto@ietf.org>; Fri, 10 May 2013 08:15:30 -0700 (PDT)
Received: from usnavsmail4.ndc.alcatel-lucent.com (usnavsmail4.ndc.alcatel-lucent.com [135.3.39.12]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id r4AFFTfW010959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Fri, 10 May 2013 10:15:29 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail4.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r4AFFSMb005772 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Fri, 10 May 2013 10:15:29 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r4AFFQPG008678 for <alto@ietf.org>; Fri, 10 May 2013 10:15:28 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.2.130206
Date: Fri, 10 May 2013 11:15:32 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: <alto@ietf.org>
Message-ID: <CDB28753.57982%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] IRD declaration
In-Reply-To: <mailman.109.1368039624.8812.alto@ietf.org>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.12
Subject: Re: [alto] IRD declaration
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: Fri, 10 May 2013 15:15:42 -0000

If an ALTO server provides several different services via the same URI,
and distinguishes them via the type of POST data that the client sends,
why not just declare them with several different IRD entries? The uri
isn't a key; nothing says several entries can't have the same uri.

Eg, if "multi-service" provides both endpoint property and cost services,
use:

   }, {
        "uri": "http://myaltoserver.com/multi-service",
        "media?types" : [ "application/alto?endpointprop+json" ],
        "accepts" : [ "application/alto?endpointpropparams+json" ],
        "capabilities" : { "prop?types" : [ "pid" ] }
   }, {
        "uri" : "http://myaltoserver.com/multi-service",
        "media?types" : [ "application/alto?endpointcost+json" ],
        "accepts" : [ "application/alto?endpointcostparams+json" ],
        "capabilities" : {
            "cost?constraints" : true,
            "cost?type?names" : [
"num?routing","num?hop","ord?routing","ord?hop"]
        }
   }


(Sorry if my comments are out-of-order; my sinuses been "out-of-order" for
a few days, and I'm just catching up.)


        - Wendy Roome


On 05/08/2013 15:00, "alto-request@ietf.org" <alto-request@ietf.org> wrote:

>Message: 2
>Date: Wed, 8 May 2013 14:34:27 -0400
>From: "Y. Richard Yang" <yry@cs.yale.edu>
>To: Enrico Marocco <enrico.marocco@telecomitalia.it>
>Cc: IETF ALTO <alto@ietf.org>
>Subject: Re: [alto] IRD declaration
>Message-ID:
>	<CANUuoLq6fbRBWqJtz2j2gAUrwnAUO2GgRpBWi5pm62tciBug+A@mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Enrico,
>
>On May 8, 2013 4:17 AM, "Enrico Marocco" <enrico.marocco@telecomitalia.it>
>wrote:
>>
>>Hi Richard,
>>
>>since the new version has been submitted, the actual section with the
>>example you mention is 8.5.3
>>(http://tools.ietf.org/html/draft-ietf-alto-protocol-15#section-8.5.3).
>
>Yes.
>
>>On the substance of the question, I believe it's essential to have the
>>syntax flexible enough to reflect proper semantics. However -- forgive
>>the JavaScript speak --  with the current specification the distinction
>>between "leaf" and "container" would basically require a check on
>>(media-types.length == 1), while with the proposed change it would turn
>>out to (typeof media-types == "string"), correct?
>
>It can be more complex. For example,  the just submitted version allows
>IRD
>to announce multipe cost types of an unfiltered cost map with a single
>media type. Hence we have a case that media-types has a length of 1 but we
>do not have a leaf node.
>
>As another example. Consider a possible future extension, where we may
>consider allowing two media types for one IR: for example,  both the
>current cost map format or a new matrix format. Hence, IRD could announce
>two media types for it, and ALTO Clients can indicate one using http
>Accept
>in request. Hence, we have a case of media-types with length > 1, but we
>have a leaf.
>



From w.roome@alcatel-lucent.com  Mon May 13 06:11:31 2013
Return-Path: <w.roome@alcatel-lucent.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 ED6F721F95FD for <alto@ietfa.amsl.com>; Mon, 13 May 2013 06:11:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.713
X-Spam-Level: 
X-Spam-Status: No, score=-7.713 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
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 hEfUaXa1xHmg for <alto@ietfa.amsl.com>; Mon, 13 May 2013 06:11:25 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id 6BB6021F95EC for <alto@ietf.org>; Mon, 13 May 2013 06:11:25 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r4DDBL75005919 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Mon, 13 May 2013 08:11:21 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r4DDBKp9002106 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Mon, 13 May 2013 08:11:21 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r4DDBJ8i012397 for <alto@ietf.org>; Mon, 13 May 2013 08:11:20 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.4.130416
Date: Mon, 13 May 2013 09:11:32 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "alto@ietf.org" <alto@ietf.org>
Message-ID: <CDB65EC4.57FE1%w.roome@alcatel-lucent.com>
Thread-Topic: Alto draft 15 CostType object
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3451281094_57355872"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.10
Subject: Re: [alto] Alto draft 15 CostType object
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, 13 May 2013 13:11:32 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3451281094_57355872
Content-type: text/plain;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

A few more suggestions about documentation for the new CostType object.
They're pretty obvious, but it doesn=B9t hurt to remind folks.

{9.6} Cost Type

> Change the last sentence of the last paragraph to read:
>=20
> An ALTO client MAY present this string to a developer, as part of a disco=
very
> process. But otherwise an ALTO Client SHOULD NOT attempt to interpret thi=
s
> field.

{10.2.2.3} Accept Input Parameters for Filtered Cost Map Service

> Change the description of the cost-type field to something like this:
>=20
> cost-type  The CostType (Section 9.6} for the returned costs. The cost-me=
tric
> and cost-mode fields MUST match one of the supported Cost Types indicated=
 in
> this resource=B9s capabilities (Section 10.2.2.4). The ALTO Client SHOULD o=
mit
> the description field, and if present, the ALTO Server MUST ignore the
> description field.
>=20
{10.4.1.3} Accept Input Parameters for Endpoint Cost Service
>=20
> Change the description of the cost-type field to something like this:
>=20
> cost-type  The CostType (Section 9.6} for the returned costs. The cost-me=
tric
> and cost-mode fields MUST match one of the supported Cost Types indicated=
 in
> this resource=B9s capabilities (Section 10.4.1.4). The ALTO Client SHOULD o=
mit
> the description field, and if present, the ALTO Server MUST ignore the
> description field.


-  Wendy Roome



--B_3451281094_57355872
Content-type: text/html;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); "><div sty=
le=3D"font-family: Calibri, sans-serif; font-size: 14px; ">A few more suggesti=
ons about documentation for the new CostType object. They're pretty obvious,=
 but it doesn&#8217;t hurt to remind folks.</div><div style=3D"font-family: Ca=
libri, sans-serif; font-size: 14px; "><br></div><div style=3D"font-family: Cal=
ibri, sans-serif; font-size: 14px; ">{9.6} Cost Type</div><div style=3D"font-f=
amily: Calibri, sans-serif; font-size: 14px; "><br></div><blockquote style=3D"=
font-family: Calibri, sans-serif; font-size: 14px; margin-top: 0px; margin-r=
ight: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; bo=
rder-right-style: none; border-bottom-style: none; border-left-style: none; =
border-width: initial; border-color: initial; padding-top: 0px; padding-righ=
t: 0px; padding-bottom: 0px; padding-left: 0px; "><div>Change the last sente=
nce of the last paragraph to read:</div><div><br></div><div>An ALTO client M=
AY present this string to a developer, as part of a discovery process. But o=
therwise an ALTO Client SHOULD NOT attempt to interpret this field.</div></b=
lockquote><div style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><=
br></div><div style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><d=
iv>{10.2.2.3} Accept Input Parameters for Filtered Cost Map Service</div></d=
iv><div style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><br></di=
v><blockquote style=3D"margin:0 0 0 40px; border:none; padding:0px;"><div styl=
e=3D"font-family: Calibri, sans-serif; font-size: 14px; ">Change the descripti=
on of the cost-type field to something like this:</div><div style=3D"font-fami=
ly: Calibri, sans-serif; font-size: 14px; "><br></div><div style=3D"font-famil=
y: Calibri, sans-serif; font-size: 14px; ">cost-type &nbsp;The CostType (Sec=
tion 9.6}&nbsp;<span class=3D"Apple-style-span" style=3D"font-family: Helvetica;=
 font-size: 12px; ">for the returned costs. The cost-metric and cost-mode fi=
elds&nbsp;</span><span class=3D"Apple-style-span" style=3D"font-family: Helvetic=
a; font-size: 12px; ">MUST match one of the supported Cost Types indicated i=
n this&nbsp;</span><span class=3D"Apple-style-span" style=3D"font-family: Helvet=
ica; font-size: 12px; ">resource&#8217;s capabilities (Section 10.2.2.4). Th=
e ALTO Client SHOULD omit the description field, and if present, the ALTO Se=
rver MUST ignore the description field.</span></div><div style=3D"font-family:=
 Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-style-span" styl=
e=3D"font-family: Helvetica; font-size: 12px; "><br></span></div></blockquote>=
<div style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=
=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: 12px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 14px; font-family: Calibri, sans-=
serif; "><div><div>{10.4.1.3} Accept Input Parameters for Endpoint Cost Serv=
ice</div></div><blockquote style=3D"margin:0 0 0 40px; border:none; padding:0p=
x;"><div><br></div><div>Change the description of the cost-type field to som=
ething like this:</div><div><br></div></blockquote></span></span><blockquote=
 style=3D"margin:0 0 0 40px; border:none; padding:0px;">cost-type &nbsp;The Co=
stType (Section 9.6}&nbsp;<span class=3D"Apple-style-span" style=3D"font-family:=
 Helvetica; font-size: 12px; ">for the returned costs. The cost-metric and c=
ost-mode fields&nbsp;</span><span class=3D"Apple-style-span" style=3D"font-famil=
y: Helvetica; font-size: 12px; ">MUST match one of the supported Cost Types =
indicated in this&nbsp;</span><span class=3D"Apple-style-span" style=3D"font-fam=
ily: Helvetica; font-size: 12px; ">resource&#8217;s capabilities (Section 10=
.4.1.4). The ALTO Client SHOULD omit the description field, and if present, =
the ALTO Server MUST ignore the description field.</span></blockquote></div>=
<div style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=
=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: 12px; "><br></=
span></div><div><font class=3D"Apple-style-span" face=3D"Helvetica"><span class=3D=
"Apple-style-span" style=3D"font-size: 12px;"><br></span></font></div><div><fo=
nt class=3D"Apple-style-span" face=3D"Helvetica"><span class=3D"Apple-style-span" =
style=3D"font-size: 12px;"><span class=3D"Apple-tab-span" style=3D"white-space:pre=
">	</span>- &nbsp;Wendy Roome</span></font></div></body></html>

--B_3451281094_57355872--



From richard.alimi@gmail.com  Tue May 14 09:28:59 2013
Return-Path: <richard.alimi@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 1969621F90F1 for <alto@ietfa.amsl.com>; Tue, 14 May 2013 09:28:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 AVVcXApiHr-g for <alto@ietfa.amsl.com>; Tue, 14 May 2013 09:28:08 -0700 (PDT)
Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by ietfa.amsl.com (Postfix) with ESMTP id C4C2E21F84A6 for <alto@ietf.org>; Tue, 14 May 2013 09:25:48 -0700 (PDT)
Received: by mail-vc0-f172.google.com with SMTP id m17so802375vca.3 for <alto@ietf.org>; Tue, 14 May 2013 09:25:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=0Qh6HzM0Sv/v2JEfCbKwsPHMCJOFN4PH3hA3geHO+WE=; b=vkNCEV4SrN8/cCjkwLOifwhaOM1TJ6dQ3RxOs1VOcfv3adsJgusUoKjvc7U/dDXl7s 7nZAZZ6KIejwJbvPdHPCSq++nawstkleqSrHe1+qqKszwbedLBiwW8fKQggXBZI2nNIp NbmBhOdSxFa5n3skCRDHjtNjoytixnpjm0g35wSKILNTAbA0BShbWoXElSAMFl5DxvEr gNxD3bJdAs9+6IKXYVV8DvCDj+XQ7HJ7gEaMyFZLW5dWs3L220wqN5b1WxdmNcWsIr8R QgZ9+jls+ccA/e/bMZA+TXd1su+ipjh8LwrJLHgn/MAaMUIwZU/nj9BwgmCd5itcoU3j XndQ==
X-Received: by 10.58.226.163 with SMTP id rt3mr21936347vec.55.1368548706267; Tue, 14 May 2013 09:25:06 -0700 (PDT)
MIME-Version: 1.0
Sender: richard.alimi@gmail.com
Received: by 10.52.120.77 with HTTP; Tue, 14 May 2013 09:24:46 -0700 (PDT)
From: Richard Alimi <rich@velvetsea.net>
Date: Tue, 14 May 2013 09:24:46 -0700
X-Google-Sender-Auth: BxGAAX2p3pni4E5nzCxQLkwJmko
Message-ID: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com>
To: "alto@ietf.org" <alto@ietf.org>
Content-Type: multipart/alternative; boundary=047d7bd6aed47eeccc04dcb01318
Subject: [alto] Number of media types per resource
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: Tue, 14 May 2013 16:29:00 -0000

--047d7bd6aed47eeccc04dcb01318
Content-Type: text/plain; charset=ISO-8859-1

When we started specifying the format of the Information Resource Directory
(IRD), one concern was the overall size.  As such, we designed mechanisms
to allowed a single entry in the IRD to specify that it could
handle multiple media types (both in the request  and could provide
multiple media types).  Based on some recent (off-list) discussions with
Wendy, this may be less of a concern and we may want to go for simplicity.

Here's an example of one entry we have now:

       {
         "uri" : "http://custom.alto.example.com/maps",
         "media-types" : [
           "application/alto-networkmap+json",
           "application/alto-costmap+json"
         ],
         "accepts" : [
           "application/alto-networkmapfilter+json",
           "application/alto-costmapfilter+json"
         ]
       }


The proposal is to have each entry declare exactly one media-type for the
response, and either 0 or 1 media types for the request (e.g., the
unfiltered cost map doesn't need anything in the request - it's a simple
GET).

Here's what the corresponding entry from above would look like:


       {
         "uri" : "http://custom.alto.example.com/maps",
         "media-type" : "application/alto-networkmap+json",
         "accepts" : "application/alto-networkmapfilter+json",
       },  {

         "uri" : "http://custom.alto.example.com/maps",
         "media-types" : "application/alto-costmap+json",
         "accepts" : "application/alto-costmapfilter+json",
       }



The editors think this is a reasonable change to make.  Comments are very
welcome.

Since we are on a tight schedule here, if we don't hear anything within the
next week (by May 21st), we will make the corresponding changes to the
draft.

Thanks!
Rich

--047d7bd6aed47eeccc04dcb01318
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">When we started specifying the format of the Information R=
esource Directory (IRD), one concern was the overall size. =A0As such, we d=
esigned mechanisms to allowed a single entry in the IRD to specify that it =
could handle=A0multiple=A0media types (both in the=A0request=A0 and could p=
rovide multiple media types). =A0Based on some recent (off-list) discussion=
s with Wendy, this may be less of a concern and we may want to go for simpl=
icity.<div>

<br></div><div style>Here&#39;s an example of one entry we have now:</div><=
div style><br></div><div style><pre class=3D"" style=3D"font-size:1em;margi=
n-top:0px;margin-bottom:0px;color:rgb(0,0,0)">       {
         &quot;uri&quot; : &quot;<a href=3D"http://custom.alto.example.com/=
maps">http://custom.alto.example.com/maps</a>&quot;,
         &quot;media-types&quot; : [
           &quot;application/alto-networkmap+json&quot;,
           &quot;application/alto-costmap+json&quot;
         ],
         &quot;accepts&quot; : [
           &quot;application/alto-networkmapfilter+json&quot;,
           &quot;application/alto-costmapfilter+json&quot;
         ]
       }</pre><br>The proposal is to have each entry declare exactly one me=
dia-type for the response, and either 0 or 1 media types for the request (e=
.g., the unfiltered cost map doesn&#39;t need anything in the request - it&=
#39;s a simple GET).</div>

<div style><br></div><div style>Here&#39;s what the corresponding entry fro=
m above would look like:</div><div style><br></div><div style><pre class=3D=
"" style=3D"font-size:1em;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)=
">

       {
         &quot;uri&quot; : &quot;<a href=3D"http://custom.alto.example.com/=
maps">http://custom.alto.example.com/maps</a>&quot;,
         &quot;media-type&quot; : &quot;application/alto-networkmap+json&qu=
ot;,
         &quot;accepts&quot; : &quot;application/alto-networkmapfilter+json=
&quot;,
       }, <span style=3D"font-size:1em;font-family:arial"> {</span></pre><p=
re class=3D"" style=3D"margin-top:0px;margin-bottom:0px"><pre class=3D"" st=
yle=3D"color:rgb(0,0,0);font-size:1em;margin-top:0px;margin-bottom:0px">   =
      &quot;uri&quot; : &quot;<a href=3D"http://custom.alto.example.com/map=
s">http://custom.alto.example.com/maps</a>&quot;,
         &quot;media-types&quot; : &quot;application/alto-costmap+json&quot=
;,
         &quot;accepts&quot; : &quot;application/alto-costmapfilter+json&qu=
ot;,
       }</pre><pre class=3D"" style=3D"color:rgb(0,0,0);font-size:1em;margi=
n-top:0px;margin-bottom:0px"><br></pre><pre class=3D"" style=3D"color:rgb(0=
,0,0);font-size:1em;margin-top:0px;margin-bottom:0px"><br></pre><font face=
=3D"arial, helvetica, sans-serif">The editors think this is a reasonable ch=
ange to make. =A0Comments are very welcome.<br>

<br>Since we are on a tight schedule here, if we don&#39;t hear anything wi=
thin the next week (by May 21st), we will make the corresponding changes to=
 the draft.<br><br>Thanks!<br></font><span style=3D"font-family:arial,helve=
tica,sans-serif">Rich</span><font face=3D"arial, helvetica, sans-serif"><br=
>

</font></pre></div></div>

--047d7bd6aed47eeccc04dcb01318--

From sabine.randriamasy@alcatel-lucent.com  Tue May 14 10:07:17 2013
Return-Path: <sabine.randriamasy@alcatel-lucent.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 A58AF11E8100 for <alto@ietfa.amsl.com>; Tue, 14 May 2013 10:07:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
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 q1onyuBj8YIX for <alto@ietfa.amsl.com>; Tue, 14 May 2013 10:06:57 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id D276421F8B64 for <alto@ietf.org>; Tue, 14 May 2013 10:06:56 -0700 (PDT)
Received: from us70tusmtp2.zam.alcatel-lucent.com (h135-5-2-64.lucent.com [135.5.2.64]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r4EH6rag029488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 14 May 2013 12:06:53 -0500 (CDT)
Received: from US70UWXCHHUB02.zam.alcatel-lucent.com (us70uwxchhub02.zam.alcatel-lucent.com [135.5.2.49]) by us70tusmtp2.zam.alcatel-lucent.com (GMO) with ESMTP id r4EH6r2r023087 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 14 May 2013 13:06:53 -0400
Received: from FR711WXCHHUB02.zeu.alcatel-lucent.com (135.239.2.112) by US70UWXCHHUB02.zam.alcatel-lucent.com (135.5.2.49) with Microsoft SMTP Server (TLS) id 14.2.247.3; Tue, 14 May 2013 13:06:52 -0400
Received: from FR711WXCHMBA01.zeu.alcatel-lucent.com ([169.254.1.210]) by FR711WXCHHUB02.zeu.alcatel-lucent.com ([135.239.2.112]) with mapi id 14.02.0247.003; Tue, 14 May 2013 19:06:49 +0200
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: Richard Alimi <rich@velvetsea.net>, "alto@ietf.org" <alto@ietf.org>
Thread-Topic: [alto] Number of media types per resource
Thread-Index: AQHOUMA2qBc0fSQ6hkKhLvL5BuXU7ZkE54GA
Date: Tue, 14 May 2013 17:06:48 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A6816FF@FR711WXCHMBA01.zeu.alcatel-lucent.com>
References: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com>
In-Reply-To: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.41]
Content-Type: multipart/alternative; boundary="_000_A7A5844EB93EB94AB22C2068B10AD65A6816FFFR711WXCHMBA01zeu_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Subject: Re: [alto] Number of media types per resource
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: Tue, 14 May 2013 17:07:18 -0000

--_000_A7A5844EB93EB94AB22C2068B10AD65A6816FFFR711WXCHMBA01zeu_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

Fine with me. It definitely makes transactions clearer and simpler. Another=
 advantage is that in case or errors at the client or server side, the cons=
equences are limited  to a smaller set of requested objects.
Sabine


De : alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] De la part de Ric=
hard Alimi
Envoy=E9 : mardi 14 mai 2013 18:25
=C0 : alto@ietf.org
Objet : [alto] Number of media types per resource

When we started specifying the format of the Information Resource Directory=
 (IRD), one concern was the overall size.  As such, we designed mechanisms =
to allowed a single entry in the IRD to specify that it could handle multip=
le media types (both in the request  and could provide multiple media types=
).  Based on some recent (off-list) discussions with Wendy, this may be les=
s of a concern and we may want to go for simplicity.

Here's an example of one entry we have now:


       {

         "uri" : "http://custom.alto.example.com/maps",

         "media-types" : [

           "application/alto-networkmap+json",

           "application/alto-costmap+json"

         ],

         "accepts" : [

           "application/alto-networkmapfilter+json",

           "application/alto-costmapfilter+json"

         ]

       }

The proposal is to have each entry declare exactly one media-type for the r=
esponse, and either 0 or 1 media types for the request (e.g., the unfiltere=
d cost map doesn't need anything in the request - it's a simple GET).

Here's what the corresponding entry from above would look like:






       {

         "uri" : "http://custom.alto.example.com/maps",

         "media-type" : "application/alto-networkmap+json",

         "accepts" : "application/alto-networkmapfilter+json",

       },  {

         "uri" : "http://custom.alto.example.com/maps",

         "media-types" : "application/alto-costmap+json",

         "accepts" : "application/alto-costmapfilter+json",

       }





The editors think this is a reasonable change to make.  Comments are very w=
elcome.




Since we are on a tight schedule here, if we don't hear anything within the=
 next week (by May 21st), we will make the corresponding changes to the dra=
ft.

Thanks!
Rich




--_000_A7A5844EB93EB94AB22C2068B10AD65A6816FFFR711WXCHMBA01zeu_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.PrformatHTMLCar
	{mso-style-name:"Pr=E9format=E9 HTML Car";
	mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML";
	font-family:Consolas;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi all,<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Fine with me. It definite=
ly makes transactions clearer and simpler. Another advantage is that in cas=
e or errors at the client or server side, the consequences
 are limited &nbsp;to a smaller set of requested objects. &nbsp;<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sabine<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> alto-bounces@ietf.org [mai=
lto:alto-bounces@ietf.org]
<b>De la part de</b> Richard Alimi<br>
<b>Envoy=E9&nbsp;:</b> mardi 14 mai 2013 18:25<br>
<b>=C0&nbsp;:</b> alto@ietf.org<br>
<b>Objet&nbsp;:</b> [alto] Number of media types per resource<o:p></o:p></s=
pan></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">When we started specify=
ing the format of the Information Resource Directory (IRD), one concern was=
 the overall size. &nbsp;As such, we designed mechanisms to allowed a singl=
e entry in the IRD to specify that it could
 handle&nbsp;multiple&nbsp;media types (both in the&nbsp;request&nbsp; and =
could provide multiple media types). &nbsp;Based on some recent (off-list) =
discussions with Wendy, this may be less of a concern and we may want to go=
 for simplicity.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Here's an example of on=
e entry we have now:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;uri&quot; : &quo=
t;<a href=3D"http://custom.alto.example.com/maps">http://custom.alto.exampl=
e.com/maps</a>&quot;,<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;media-types&quot=
; : [<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&quot;appl=
ication/alto-networkmap&#43;json&quot;,<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;appl=
ication/alto-costmap&#43;json&quot;<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],<o:p></o:p></span></=
pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;accepts&quot; : =
[<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;appl=
ication/alto-networkmapfilter&#43;json&quot;,<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;appl=
ication/alto-costmapfilter&#43;json&quot;<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]<o:p></o:p></span></p=
re>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></pre>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><br>
The proposal is to have each entry declare exactly one media-type for the r=
esponse, and either 0 or 1 media types for the request (e.g., the unfiltere=
d cost map doesn't need anything in the request - it's a simple GET).<o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Here's what the corresp=
onding entry from above would look like:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck"><o:p>&nbsp;</o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck"><o:p>&nbsp;</o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;uri&quot; : &quo=
t;<a href=3D"http://custom.alto.example.com/maps">http://custom.alto.exampl=
e.com/maps</a>&quot;,<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;media-type&quot;=
 : &quot;application/alto-networkmap&#43;json&quot;,<o:p></o:p></span></pre=
>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;accepts&quot; : =
&quot;application/alto-networkmapfilter&#43;json&quot;,<o:p></o:p></span></=
pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt;color:bla=
ck">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }, </span><span style=3D"font-size=
:12.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">&=
nbsp;{</span><span style=3D"font-size:12.0pt;color:black"><o:p></o:p></span=
></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"color:black">&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;uri&quot; : &quot;<a href=3D"http=
://custom.alto.example.com/maps">http://custom.alto.example.com/maps</a>&qu=
ot;,<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"color:black">&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;media-types&quot; : &quot;applica=
tion/alto-costmap&#43;json&quot;,<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"color:black">&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;accepts&quot; : &quot;application=
/alto-costmapfilter&#43;json&quot;,<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"color:black">&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"color:black"><o:p>&nbsp;</=
o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"color:black"><o:p>&nbsp;</=
o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-family:&quot;Arial&qu=
ot;,&quot;sans-serif&quot;">The editors think this is a reasonable change t=
o make. &nbsp;Comments are very welcome.<br><br><o:p></o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-family:&quot;Arial&qu=
ot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-family:&quot;Arial&qu=
ot;,&quot;sans-serif&quot;"><br>Since we are on a tight schedule here, if w=
e don't hear anything within the next week (by May 21st), we will make the =
corresponding changes to the draft.<br><br>Thanks!<br>Rich<br><br><o:p></o:=
p></span></pre>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-family:&quot;Arial&qu=
ot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></pre>
</div>
</div>
</div>
</body>
</html>

--_000_A7A5844EB93EB94AB22C2068B10AD65A6816FFFR711WXCHMBA01zeu_--

From ben@niven-jenkins.co.uk  Tue May 14 12:29:25 2013
Return-Path: <ben@niven-jenkins.co.uk>
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 9CD9821F8519 for <alto@ietfa.amsl.com>; Tue, 14 May 2013 12:29:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.251
X-Spam-Level: 
X-Spam-Status: No, score=-103.251 tagged_above=-999 required=5 tests=[AWL=-0.651, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 mN40+NyalSkb for <alto@ietfa.amsl.com>; Tue, 14 May 2013 12:29:20 -0700 (PDT)
Received: from mailex.mailcore.me (mailex.mailcore.me [94.136.40.61]) by ietfa.amsl.com (Postfix) with ESMTP id AD30021F859B for <alto@ietf.org>; Tue, 14 May 2013 12:29:18 -0700 (PDT)
Received: from cpc4-cmbg17-2-0-cust814.5-4.cable.virginmedia.com ([86.14.227.47] helo=[192.168.0.4]) by mail11.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <ben@niven-jenkins.co.uk>) id 1UcKuS-00072h-2d; Tue, 14 May 2013 20:29:16 +0100
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=us-ascii
From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
In-Reply-To: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com>
Date: Tue, 14 May 2013 20:29:15 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <9509DCE6-6619-4FD0-92EF-0CC9DEF470FA@niven-jenkins.co.uk>
References: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com>
To: Richard Alimi <rich@velvetsea.net>
X-Mailer: Apple Mail (2.1085)
X-Mailcore-Auth: 9600544
X-Mailcore-Domain: 172912
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Number of media types per resource
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: Tue, 14 May 2013 19:29:25 -0000

I support the change.

One thing that might be worth making clear is that the client MUST NOT =
assume that the media type returned by the ALTO server is the media type =
advertised in the IRD (i.e. the client must still check the Content-Type =
header). The expectation is the media type returned should normally be =
the media type advertised but in some cases it may legitimately not =
match (e.g. ALTO error).

Ben

On 14 May 2013, at 17:24, Richard Alimi wrote:

> When we started specifying the format of the Information Resource =
Directory (IRD), one concern was the overall size.  As such, we designed =
mechanisms to allowed a single entry in the IRD to specify that it could =
handle multiple media types (both in the request  and could provide =
multiple media types).  Based on some recent (off-list) discussions with =
Wendy, this may be less of a concern and we may want to go for =
simplicity.
>=20
> Here's an example of one entry we have now:
>=20
>        {
>          "uri" : "
> http://custom.alto.example.com/maps
> ",
>          "media-types" : [
>            "application/alto-networkmap+json",
>            "application/alto-costmap+json"
>          ],
>          "accepts" : [
>            "application/alto-networkmapfilter+json",
>            "application/alto-costmapfilter+json"
>          ]
>        }
>=20
>=20
> The proposal is to have each entry declare exactly one media-type for =
the response, and either 0 or 1 media types for the request (e.g., the =
unfiltered cost map doesn't need anything in the request - it's a simple =
GET).
>=20
> Here's what the corresponding entry from above would look like:
>=20
>=20
>        {
>          "uri" : "
> http://custom.alto.example.com/maps
> ",
>          "media-type" : "application/alto-networkmap+json",
>          "accepts" : "application/alto-networkmapfilter+json",
>        },=20
>  {
>          "uri" : "http://custom.alto.example.com/maps
> ",
>          "media-types" : "application/alto-costmap+json",
>          "accepts" : "application/alto-costmapfilter+json",
>        }
>=20
>=20
>=20
> The editors think this is a reasonable change to make.  Comments are =
very welcome.
>=20
>=20
>=20
>=20
> Since we are on a tight schedule here, if we don't hear anything =
within the next week (by May 21st), we will make the corresponding =
changes to the draft.
>=20
> Thanks!
> Rich
>=20
>=20
>=20
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto


From w.roome@alcatel-lucent.com  Wed May 15 07:03:43 2013
Return-Path: <w.roome@alcatel-lucent.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 42A1C21F8EED for <alto@ietfa.amsl.com>; Wed, 15 May 2013 07:03:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.156
X-Spam-Level: 
X-Spam-Status: No, score=-9.156 tagged_above=-999 required=5 tests=[AWL=1.443,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 5c8gNDr0GGrO for <alto@ietfa.amsl.com>; Wed, 15 May 2013 07:03:36 -0700 (PDT)
Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by ietfa.amsl.com (Postfix) with ESMTP id 4359821F8E94 for <alto@ietf.org>; Wed, 15 May 2013 07:03:31 -0700 (PDT)
Received: from usnavsmail3.ndc.alcatel-lucent.com (usnavsmail3.ndc.alcatel-lucent.com [135.3.39.11]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id r4FE3UvX021688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Wed, 15 May 2013 09:03:30 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail3.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r4FDt8Mi027278 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Wed, 15 May 2013 08:55:08 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r4FDt6UX020468 for <alto@ietf.org>; Wed, 15 May 2013 08:55:07 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.4.130416
Date: Wed, 15 May 2013 09:55:26 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "alto@ietf.org" <alto@ietf.org>
Message-ID: <CDB90C0E.598D3%w.roome@alcatel-lucent.com>
Thread-Topic: Should server use "Expires" HTTP header
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.11
Subject: [alto] Should server use "Expires" HTTP header
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: Wed, 15 May 2013 14:03:43 -0000

I don't think we've addressed the issue of how frequently a client should
refresh cached data, such as the IRD, the network map, or the cost map.

How about saying something like,

"The ALTO Server SHOULD send an HTTP Expires header [RFC2616] in the
response, as well as a Date header, to indicate the expected lifetime of
the information. The client SHOULD refresh the data sometime after that.
Note that the Expires date is a guideline, not a contract; the ALTO server
may change the data at any time."

I guess that should go in Section 8, but I'm not sure which subsection.

	- Wendy Roome



From richard.alimi@gmail.com  Wed May 15 09:46:10 2013
Return-Path: <richard.alimi@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 E059021F9354 for <alto@ietfa.amsl.com>; Wed, 15 May 2013 09:46:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 C1XSEVVuz+Ax for <alto@ietfa.amsl.com>; Wed, 15 May 2013 09:46:09 -0700 (PDT)
Received: from mail-ve0-x22e.google.com (mail-ve0-x22e.google.com [IPv6:2607:f8b0:400c:c01::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 32B1D21F853A for <alto@ietf.org>; Wed, 15 May 2013 09:46:09 -0700 (PDT)
Received: by mail-ve0-f174.google.com with SMTP id db10so2185943veb.33 for <alto@ietf.org>; Wed, 15 May 2013 09:46:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=dindF2uOS4H5mdLTS9xTpCJFABdsoYT8rHP+vonUpLY=; b=c/F9yQWnXVOGEcjaJbId36M/LeiakKI7BOC4C5MoEQDWIRcrk3/iqtA/z7YgvcqmT6 bc/JPCt9R5BHYJU74byR6jx40TAQV+Kx71dAJTe+ff/srcOyJgYO5Ok4ny3ItHXqDHdj jPXh7wdVhnYLrcthplgKArPVtHsI14NClAaXZqshS00ny90xNcsn5pmrlzIKlhUGyGZA UxNUgoLzJZ5UaHgnsYXjdcQSE2KuWrM7gIdKa+VUmcUdHXRUJOP6KIVpJL7p1wdxZxL6 lcgCZpB1hWnpnvKOr6qbezH3r4OLHp1I4rHD55UR/h+Gj79JoR7LjODgEdEtByCoHXFA YzdQ==
X-Received: by 10.220.85.66 with SMTP id n2mr25681373vcl.31.1368636368426; Wed, 15 May 2013 09:46:08 -0700 (PDT)
MIME-Version: 1.0
Sender: richard.alimi@gmail.com
Received: by 10.52.120.77 with HTTP; Wed, 15 May 2013 09:45:48 -0700 (PDT)
From: Richard Alimi <rich@velvetsea.net>
Date: Wed, 15 May 2013 09:45:48 -0700
X-Google-Sender-Auth: 55Dj75D13VRjahCdEa-nrHEUePg
Message-ID: <CA+cvDaa_wOP01YiFBi937Bh11V_-ro6mq06X-ThNUCm6bGMjNw@mail.gmail.com>
To: "alto@ietf.org" <alto@ietf.org>
Content-Type: multipart/alternative; boundary=001a11c2b9ec91721c04dcc47c49
Subject: [alto] Equivalence of various identifiers from an ALTO Server
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: Wed, 15 May 2013 16:46:10 -0000

--001a11c2b9ec91721c04dcc47c49
Content-Type: text/plain; charset=ISO-8859-1

One question that Wendy brought up was: "if one resource directory can
refer to a different resource directory which may live at a different
server or administrative domain, when is it safe for an ALTO Client to
conclude that a cost metric means the same thing?" A particular example
here is the full cost map and filtered cost map.  If the client fetched the
full cost map with the 'routingcost' cost metric, and then later wanted to
use a more refined query, then presumably the client should be able to
assume that the values in the filtered cost map (also with the
'routingcost' cost metric) mean the same thing.

A similar thing holds for version tags.  If the client finds a cost map
with version tag '1234', under what conditions should it declare that it
matches the version tag for a particular network map?  Similar to the cost
map example above, both may come from a different server or administrative
domain.

To resolve this ambiguity, we are proposing to add the following to Section
8.3.1:

"The meanings of identifiers used in resources discovered via an entry
point to an ALTO Server (i.e., by the ALTO Discovery Protocol) SHOULD be
consistent with each other. In particular, a particular values for a
different cost maps of the same cost metric should be comparable, and the
version tag for a cost map should be comparable to the version tag for the
network map on which it was based, even if the two maps are provided by a
different server."

I hope the intent here is clear.  Admittedly, this is probably not a crisp
enough statement to put in the draft yet, but suggestions on improving it
would be appreciated.

Thanks,
Rich

--001a11c2b9ec91721c04dcc47c49
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-family:arial,sans-serif;font-size:13px=
">One question that Wendy brought up was: &quot;if one resource directory c=
an refer to a different resource directory which may live at a different se=
rver or administrative domain, when is it safe for an ALTO Client to conclu=
de that a cost metric means the same thing?&quot; A particular example here=
 is the full cost map and filtered cost map. =A0If the client fetched the f=
ull cost map with the &#39;routingcost&#39; cost metric, and then later wan=
ted to use a more refined query, then presumably the client should be able =
to assume that the values in the filtered cost map (also with the &#39;rout=
ingcost&#39; cost metric) mean the same thing.</span><div>

<span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span></di=
v><div><span style=3D"font-family:arial,sans-serif;font-size:13px">A simila=
r thing holds for version tags. =A0If the client finds a cost map with vers=
ion tag &#39;1234&#39;, under what conditions should it declare that it mat=
ches the version tag for a particular network map? =A0Similar to the cost m=
ap example above, both may come from a different server or administrative d=
omain.</span></div>

<div><span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span=
></div><div style><span style=3D"font-family:arial,sans-serif;font-size:13p=
x">To resolve this ambiguity, we are proposing to add the following to Sect=
ion 8.3.1:</span></div>

<div style><span style=3D"font-family:arial,sans-serif;font-size:13px"><br>=
</span></div><div style><font face=3D"arial, sans-serif">&quot;The meanings=
 of identifiers used in resources discovered via an entry point to an ALTO =
Server (i.e., by the ALTO Discovery Protocol) SHOULD be consistent with eac=
h other. In particular, a particular values for a different cost maps of th=
e same cost metric should be comparable, and the version tag for a cost map=
 should be comparable to the version tag for the network map on which it wa=
s based, even if the two maps are provided by a different server.&quot;</fo=
nt></div>

<div style><font face=3D"arial, sans-serif"><br></font></div><div style>I h=
ope the intent here is clear. =A0Admittedly, this is probably not a crisp e=
nough statement to put in the draft yet, but suggestions on improving it wo=
uld be appreciated.</div>

<div style><br></div><div style>Thanks,</div><div style><font face=3D"arial=
, sans-serif">Rich</font></div></div>

--001a11c2b9ec91721c04dcc47c49--

From richard.alimi@gmail.com  Wed May 15 09:48:20 2013
Return-Path: <richard.alimi@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 83D4221F93EA for <alto@ietfa.amsl.com>; Wed, 15 May 2013 09:48:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 gVWt-r4E09GK for <alto@ietfa.amsl.com>; Wed, 15 May 2013 09:48:20 -0700 (PDT)
Received: from mail-ve0-x233.google.com (mail-ve0-x233.google.com [IPv6:2607:f8b0:400c:c01::233]) by ietfa.amsl.com (Postfix) with ESMTP id F0BB221F93D1 for <alto@ietf.org>; Wed, 15 May 2013 09:48:19 -0700 (PDT)
Received: by mail-ve0-f179.google.com with SMTP id oz10so2153202veb.38 for <alto@ietf.org>; Wed, 15 May 2013 09:48:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=eTnaerb/UF34k3nllcBODNBXJ2ZApC2ebyURc0z02HU=; b=KgFWRS2kp3liG+XQgCmgZF7031CfbqyLZNiyI5Ohz02Y7yarD4pVBQ8xxh6+0F0uJa 5LiWCVAE6M30q5HIWwsaFOePCTYcHhWEQK3+2VgE30qj9qQ0S0AKUsRyol8TafW0Vs7Z h8ujeQwMsQhLQzyHY3x1QqSQvltJBZHzJH7hNXQfG57ejXI952Bs+1rP8vF66WIhgmxO MBpRh0872ZNKw1WHYSaA7HJtVOFQdpHoGOE8Mf+GU8AzyqJEilevGMMqmU9FPo9cFGTq Vftc8kSmpJGp3wxoExjNojklq0t1HstRvABoSv82IJHdL2+azGaeyqMwsiiBIOi00iWV iqFg==
X-Received: by 10.52.37.4 with SMTP id u4mr22164093vdj.54.1368636499309; Wed, 15 May 2013 09:48:19 -0700 (PDT)
MIME-Version: 1.0
Sender: richard.alimi@gmail.com
Received: by 10.52.120.77 with HTTP; Wed, 15 May 2013 09:47:59 -0700 (PDT)
In-Reply-To: <CDB90C0E.598D3%w.roome@alcatel-lucent.com>
References: <CDB90C0E.598D3%w.roome@alcatel-lucent.com>
From: Richard Alimi <rich@velvetsea.net>
Date: Wed, 15 May 2013 09:47:59 -0700
X-Google-Sender-Auth: kpLLqzkDJ9bArZweejFH2rKX0D0
Message-ID: <CA+cvDabyP-9pa4B7PY11xiSDUZKMo++ypFM+2Bjxv4UJpaL2pg@mail.gmail.com>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=20cf307d02845e721704dcc4843a
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Should server use "Expires" HTTP header
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: Wed, 15 May 2013 16:48:20 -0000

--20cf307d02845e721704dcc4843a
Content-Type: text/plain; charset=ISO-8859-1

On Wed, May 15, 2013 at 6:55 AM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> I don't think we've addressed the issue of how frequently a client should
> refresh cached data, such as the IRD, the network map, or the cost map.
>
> How about saying something like,
>
> "The ALTO Server SHOULD send an HTTP Expires header [RFC2616] in the
> response, as well as a Date header, to indicate the expected lifetime of
> the information. The client SHOULD refresh the data sometime after that.
> Note that the Expires date is a guideline, not a contract; the ALTO server
> may change the data at any time."
>
> I guess that should go in Section 8, but I'm not sure which subsection.
>

We used to have statements like this (guiding how to use HTTP), except we
received feedback that its better to just leave this out of the ALTO spec.

Rich


>
>         - Wendy Roome
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>

--20cf307d02845e721704dcc4843a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quo=
te">On Wed, May 15, 2013 at 6:55 AM, Wendy Roome <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel=
-lucent.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">I don&#39;t think we&#39;ve addressed the is=
sue of how frequently a client should<br>
refresh cached data, such as the IRD, the network map, or the cost map.<br>
<br>
How about saying something like,<br>
<br>
&quot;The ALTO Server SHOULD send an HTTP Expires header [RFC2616] in the<b=
r>
response, as well as a Date header, to indicate the expected lifetime of<br=
>
the information. The client SHOULD refresh the data sometime after that.<br=
>
Note that the Expires date is a guideline, not a contract; the ALTO server<=
br>
may change the data at any time.&quot;<br>
<br>
I guess that should go in Section 8, but I&#39;m not sure which subsection.=
<br></blockquote><div><br></div><div style>We used to have statements like =
this (guiding how to use HTTP), except we received feedback that its better=
 to just leave this out of the ALTO spec.</div>

<div style><br></div><div style>Rich</div><div>=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<br>
=A0 =A0 =A0 =A0 - Wendy Roome<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div></div>

--20cf307d02845e721704dcc4843a--

From richard.alimi@gmail.com  Wed May 15 09:50:16 2013
Return-Path: <richard.alimi@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 B459921F8746 for <alto@ietfa.amsl.com>; Wed, 15 May 2013 09:50:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 7PXvBO3HxCXM for <alto@ietfa.amsl.com>; Wed, 15 May 2013 09:50:12 -0700 (PDT)
Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by ietfa.amsl.com (Postfix) with ESMTP id 5D9E321F85EB for <alto@ietf.org>; Wed, 15 May 2013 09:50:12 -0700 (PDT)
Received: by mail-vc0-f180.google.com with SMTP id gd11so1999570vcb.11 for <alto@ietf.org>; Wed, 15 May 2013 09:50:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=bwKxYdK8UHp45nPGYVU663r05OPP/Mm3uvWgL+5OnNA=; b=1I5cd6ZStvOOX4KADft2Li4FZW0Tqe299NDi7U5GqRdsqVVN5B0sLOuZamSP6patmJ eCuJdnDzlOtD6TKbRPsvfz6CCQ0zRta0izp8vLC4vGMU9XTUg8WOIR7oTA0qBo/0zDiG hMDBQoJ+bZzmV89iY/qc1WAS44RCRR8g1bj5TZaXzAJpxu02s5C8ijk1P1z4QTPwsavK TlHfwIELtjEJ0Q2wH1acbbROXY75IrVxGGYno5rfUTSt0S9WCZ2+SlvxheNU09CWkpu5 03HDSWOF24cILcZW4O5y9tWwGpalu6LKFoA3ehBI0SW9M1bVKmtNo6Ecg63x/tsR4bd2 svPw==
X-Received: by 10.52.66.229 with SMTP id i5mr21527502vdt.131.1368636611684; Wed, 15 May 2013 09:50:11 -0700 (PDT)
MIME-Version: 1.0
Sender: richard.alimi@gmail.com
Received: by 10.52.120.77 with HTTP; Wed, 15 May 2013 09:49:51 -0700 (PDT)
In-Reply-To: <9509DCE6-6619-4FD0-92EF-0CC9DEF470FA@niven-jenkins.co.uk>
References: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com> <9509DCE6-6619-4FD0-92EF-0CC9DEF470FA@niven-jenkins.co.uk>
From: Richard Alimi <rich@velvetsea.net>
Date: Wed, 15 May 2013 09:49:51 -0700
X-Google-Sender-Auth: gMDx3tTHnfv0FPxewbGg75I0-ao
Message-ID: <CA+cvDaYWaYubJTUAG9eibXjpvzRc=JS0E53TbDV3yYYbp=3AcA@mail.gmail.com>
To: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Content-Type: multipart/alternative; boundary=20cf307cfc8211429904dcc48b75
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Number of media types per resource
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: Wed, 15 May 2013 16:50:16 -0000

--20cf307cfc8211429904dcc48b75
Content-Type: text/plain; charset=ISO-8859-1

On Tue, May 14, 2013 at 12:29 PM, Ben Niven-Jenkins <ben@niven-jenkins.co.uk
> wrote:

> I support the change.
>
> One thing that might be worth making clear is that the client MUST NOT
> assume that the media type returned by the ALTO server is the media type
> advertised in the IRD (i.e. the client must still check the Content-Type
> header). The expectation is the media type returned should normally be the
> media type advertised but in some cases it may legitimately not match (e.g.
> ALTO error).
>

Thanks Sabine and Ben for the feedback.

Ben - we'll be sure to make this clear in the draft.

Thanks,
Rich


>
> Ben
>
> On 14 May 2013, at 17:24, Richard Alimi wrote:
>
> > When we started specifying the format of the Information Resource
> Directory (IRD), one concern was the overall size.  As such, we designed
> mechanisms to allowed a single entry in the IRD to specify that it could
> handle multiple media types (both in the request  and could provide
> multiple media types).  Based on some recent (off-list) discussions with
> Wendy, this may be less of a concern and we may want to go for simplicity.
> >
> > Here's an example of one entry we have now:
> >
> >        {
> >          "uri" : "
> > http://custom.alto.example.com/maps
> > ",
> >          "media-types" : [
> >            "application/alto-networkmap+json",
> >            "application/alto-costmap+json"
> >          ],
> >          "accepts" : [
> >            "application/alto-networkmapfilter+json",
> >            "application/alto-costmapfilter+json"
> >          ]
> >        }
> >
> >
> > The proposal is to have each entry declare exactly one media-type for
> the response, and either 0 or 1 media types for the request (e.g., the
> unfiltered cost map doesn't need anything in the request - it's a simple
> GET).
> >
> > Here's what the corresponding entry from above would look like:
> >
> >
> >        {
> >          "uri" : "
> > http://custom.alto.example.com/maps
> > ",
> >          "media-type" : "application/alto-networkmap+json",
> >          "accepts" : "application/alto-networkmapfilter+json",
> >        },
> >  {
> >          "uri" : "http://custom.alto.example.com/maps
> > ",
> >          "media-types" : "application/alto-costmap+json",
> >          "accepts" : "application/alto-costmapfilter+json",
> >        }
> >
> >
> >
> > The editors think this is a reasonable change to make.  Comments are
> very welcome.
> >
> >
> >
> >
> > Since we are on a tight schedule here, if we don't hear anything within
> the next week (by May 21st), we will make the corresponding changes to the
> draft.
> >
> > Thanks!
> > Rich
> >
> >
> >
> > _______________________________________________
> > alto mailing list
> > alto@ietf.org
> > https://www.ietf.org/mailman/listinfo/alto
>
>

--20cf307cfc8211429904dcc48b75
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Tue, May 14, 2013 at 12:29 PM, Ben Niven-Jenkins <span =
dir=3D"ltr">&lt;<a href=3D"mailto:ben@niven-jenkins.co.uk" target=3D"_blank=
">ben@niven-jenkins.co.uk</a>&gt;</span> wrote:<br><div class=3D"gmail_extr=
a"><div class=3D"gmail_quote">

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">I support the change.<br>
<br>
One thing that might be worth making clear is that the client MUST NOT assu=
me that the media type returned by the ALTO server is the media type advert=
ised in the IRD (i.e. the client must still check the Content-Type header).=
 The expectation is the media type returned should normally be the media ty=
pe advertised but in some cases it may legitimately not match (e.g. ALTO er=
ror).<br>

</blockquote><div><br></div><div style>Thanks Sabine and Ben for the feedba=
ck.</div><div style><br></div><div style>Ben - we&#39;ll be sure to make th=
is clear in the draft.</div><div style><br></div><div style>Thanks,</div>

<div style>Rich</div><div>=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Ben<br>
<div><div class=3D"h5"><br>
On 14 May 2013, at 17:24, Richard Alimi wrote:<br>
<br>
&gt; When we started specifying the format of the Information Resource Dire=
ctory (IRD), one concern was the overall size. =A0As such, we designed mech=
anisms to allowed a single entry in the IRD to specify that it could handle=
 multiple media types (both in the request =A0and could provide multiple me=
dia types). =A0Based on some recent (off-list) discussions with Wendy, this=
 may be less of a concern and we may want to go for simplicity.<br>


&gt;<br>
&gt; Here&#39;s an example of one entry we have now:<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0{<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;uri&quot; : &quot;<br>
&gt; <a href=3D"http://custom.alto.example.com/maps" target=3D"_blank">http=
://custom.alto.example.com/maps</a><br>
&gt; &quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;media-types&quot; : [<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-networkmap+json&quot;,<b=
r>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-costmap+json&quot;<br>
&gt; =A0 =A0 =A0 =A0 =A0],<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;accepts&quot; : [<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-networkmapfilter+json&qu=
ot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-costmapfilter+json&quot;=
<br>
&gt; =A0 =A0 =A0 =A0 =A0]<br>
&gt; =A0 =A0 =A0 =A0}<br>
&gt;<br>
&gt;<br>
&gt; The proposal is to have each entry declare exactly one media-type for =
the response, and either 0 or 1 media types for the request (e.g., the unfi=
ltered cost map doesn&#39;t need anything in the request - it&#39;s a simpl=
e GET).<br>


&gt;<br>
&gt; Here&#39;s what the corresponding entry from above would look like:<br=
>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0{<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;uri&quot; : &quot;<br>
&gt; <a href=3D"http://custom.alto.example.com/maps" target=3D"_blank">http=
://custom.alto.example.com/maps</a><br>
&gt; &quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;media-type&quot; : &quot;application/alto-net=
workmap+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;accepts&quot; : &quot;application/alto-networ=
kmapfilter+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0},<br>
&gt; =A0{<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;uri&quot; : &quot;<a href=3D"http://custom.al=
to.example.com/maps" target=3D"_blank">http://custom.alto.example.com/maps<=
/a><br>
&gt; &quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;media-types&quot; : &quot;application/alto-co=
stmap+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;accepts&quot; : &quot;application/alto-costma=
pfilter+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0}<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; The editors think this is a reasonable change to make. =A0Comments are=
 very welcome.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Since we are on a tight schedule here, if we don&#39;t hear anything w=
ithin the next week (by May 21st), we will make the corresponding changes t=
o the draft.<br>
&gt;<br>
&gt; Thanks!<br>
&gt; Rich<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; alto mailing list<br>
&gt; <a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blan=
k">https://www.ietf.org/mailman/listinfo/alto</a><br>
<br>
</blockquote></div><br></div></div>

--20cf307cfc8211429904dcc48b75--

From richard.alimi@gmail.com  Wed May 15 09:53:52 2013
Return-Path: <richard.alimi@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 A9BB721F94D0 for <alto@ietfa.amsl.com>; Wed, 15 May 2013 09:53:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 yVLrtu5vYheJ for <alto@ietfa.amsl.com>; Wed, 15 May 2013 09:53:51 -0700 (PDT)
Received: from mail-ve0-x234.google.com (mail-ve0-x234.google.com [IPv6:2607:f8b0:400c:c01::234]) by ietfa.amsl.com (Postfix) with ESMTP id 1368F21F943A for <alto@ietf.org>; Wed, 15 May 2013 09:53:50 -0700 (PDT)
Received: by mail-ve0-f180.google.com with SMTP id pa12so2193779veb.11 for <alto@ietf.org>; Wed, 15 May 2013 09:53:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=2KKVkkAZyFa++iGyAlO/qSjZ/1asJFosbPlbX5qlomE=; b=PX6wWZRvsOAhyZhl7mTR/3qylm6gtHbWlvlzr3HNRW+7updPGiw64OijmPOOkDabR0 77YbGnetTW34i0GwyEoTu3uHHqfpsnDYqzxOsdjx4As7uru+VC4fc0NjCuZT3N5QroC2 mB4GZ9VVPcNrS/Fl2+Rtl6QKtECAc7E4PHIDaGGQ7qns4vTd0+iYgIZ1leofkYfQ5FSZ ewLHWQoK3uMLzvp3Ulgr7beR+EuxoSXfYox6rAl2IbNMn35L1G+ExS0u98MfBciI+wSC CloffrmJOniknzAmJGwBpOMVV0DIvFRAo+G25bulXwP3cJVk8RNhESViuYbHWeHbB8Wy oEiw==
X-Received: by 10.220.253.8 with SMTP id my8mr25686967vcb.23.1368636827233; Wed, 15 May 2013 09:53:47 -0700 (PDT)
MIME-Version: 1.0
Sender: richard.alimi@gmail.com
Received: by 10.52.120.77 with HTTP; Wed, 15 May 2013 09:53:27 -0700 (PDT)
In-Reply-To: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com>
References: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com>
From: Richard Alimi <rich@velvetsea.net>
Date: Wed, 15 May 2013 09:53:27 -0700
X-Google-Sender-Auth: s4ehv70wHwBEdYB0D9bx21LuhtE
Message-ID: <CA+cvDaYTOxOmrPg9WPHr4OPm5c_X+zNmvOztDHqkmzXDSSzhyw@mail.gmail.com>
To: "alto@ietf.org" <alto@ietf.org>
Content-Type: multipart/alternative; boundary=047d7bdc8bc6ea280b04dcc4976b
Subject: Re: [alto] Number of media types per resource
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: Wed, 15 May 2013 16:53:52 -0000

--047d7bdc8bc6ea280b04dcc4976b
Content-Type: text/plain; charset=ISO-8859-1

One clarification to this.

Along with this change, in order to retain the ability for an ALTO Server
referring to a set of resources in another IRD, we would also like to allow
an IRD entry to point directly to another iRD.  This would basically mean
that there would be entries specifying the media type
of "application/alto-directory+json".  Without this, it would force an ALTO
Server to explicitly list all resources at the other server, and we thought
that would be coupling them too tightly.

Thanks,
Rich


On Tue, May 14, 2013 at 9:24 AM, Richard Alimi <rich@velvetsea.net> wrote:

> When we started specifying the format of the Information Resource
> Directory (IRD), one concern was the overall size.  As such, we designed
> mechanisms to allowed a single entry in the IRD to specify that it could
> handle multiple media types (both in the request  and could provide
> multiple media types).  Based on some recent (off-list) discussions with
> Wendy, this may be less of a concern and we may want to go for simplicity.
>
> Here's an example of one entry we have now:
>
>        {
>          "uri" : "http://custom.alto.example.com/maps",
>          "media-types" : [
>            "application/alto-networkmap+json",
>            "application/alto-costmap+json"
>          ],
>          "accepts" : [
>            "application/alto-networkmapfilter+json",
>            "application/alto-costmapfilter+json"
>          ]
>        }
>
>
> The proposal is to have each entry declare exactly one media-type for the
> response, and either 0 or 1 media types for the request (e.g., the
> unfiltered cost map doesn't need anything in the request - it's a simple
> GET).
>
> Here's what the corresponding entry from above would look like:
>
>        {
>          "uri" : "http://custom.alto.example.com/maps",
>          "media-type" : "application/alto-networkmap+json",
>          "accepts" : "application/alto-networkmapfilter+json",
>        },  {
>
>          "uri" : "http://custom.alto.example.com/maps",
>          "media-types" : "application/alto-costmap+json",
>          "accepts" : "application/alto-costmapfilter+json",
>        }
>
>
>
> The editors think this is a reasonable change to make.  Comments are very
> welcome.
>
> Since we are on a tight schedule here, if we don't hear anything within
> the next week (by May 21st), we will make the corresponding changes to the
> draft.
>
> Thanks!
> Rich
>
>

--047d7bdc8bc6ea280b04dcc4976b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">One clarification to this.<div><br></div><div style>Along =
with this change, in order to retain the ability for an ALTO Server referri=
ng to a set of resources in another IRD, we would also like to allow an IRD=
 entry to point directly to another iRD. =A0This would basically mean that =
there would be entries specifying the media type of=A0&quot;application/alt=
o-directory+json&quot;. =A0Without this, it would force an ALTO Server to e=
xplicitly list all resources at the other server, and we thought that would=
 be coupling them too tightly.</div>

<div style><br></div><div style>Thanks,</div><div style>Rich</div></div><di=
v class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Tue, May 14, =
2013 at 9:24 AM, Richard Alimi <span dir=3D"ltr">&lt;<a href=3D"mailto:rich=
@velvetsea.net" target=3D"_blank">rich@velvetsea.net</a>&gt;</span> wrote:<=
br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">When we started specifying =
the format of the Information Resource Directory (IRD), one concern was the=
 overall size. =A0As such, we designed mechanisms to allowed a single entry=
 in the IRD to specify that it could handle=A0multiple=A0media types (both =
in the=A0request=A0 and could provide multiple media types). =A0Based on so=
me recent (off-list) discussions with Wendy, this may be less of a concern =
and we may want to go for simplicity.<div>


<br></div><div>Here&#39;s an example of one entry we have now:</div><div><b=
r></div><div><pre style=3D"font-size:1em;margin-bottom:0px;margin-top:0px">=
       {
         &quot;uri&quot; : &quot;<a href=3D"http://custom.alto.example.com/=
maps" target=3D"_blank">http://custom.alto.example.com/maps</a>&quot;,
         &quot;media-types&quot; : [
           &quot;application/alto-networkmap+json&quot;,
           &quot;application/alto-costmap+json&quot;
         ],
         &quot;accepts&quot; : [
           &quot;application/alto-networkmapfilter+json&quot;,
           &quot;application/alto-costmapfilter+json&quot;
         ]
       }</pre><br>The proposal is to have each entry declare exactly one me=
dia-type for the response, and either 0 or 1 media types for the request (e=
.g., the unfiltered cost map doesn&#39;t need anything in the request - it&=
#39;s a simple GET).</div>


<div><br></div><div>Here&#39;s what the corresponding entry from above woul=
d look like:</div><div><br></div><div><pre style=3D"font-size:1em;margin-bo=
ttom:0px;margin-top:0px">       {
         &quot;uri&quot; : &quot;<a href=3D"http://custom.alto.example.com/=
maps" target=3D"_blank">http://custom.alto.example.com/maps</a>&quot;,
         &quot;media-type&quot; : &quot;application/alto-networkmap+json&qu=
ot;,
         &quot;accepts&quot; : &quot;application/alto-networkmapfilter+json=
&quot;,
       }, <span style=3D"font-size:1em;font-family:arial"> {</span></pre><p=
re style=3D"margin-top:0px;margin-bottom:0px"><pre style=3D"font-size:1em;m=
argin-bottom:0px;margin-top:0px">         &quot;uri&quot; : &quot;<a href=
=3D"http://custom.alto.example.com/maps" target=3D"_blank">http://custom.al=
to.example.com/maps</a>&quot;,
         &quot;media-types&quot; : &quot;application/alto-costmap+json&quot=
;,
         &quot;accepts&quot; : &quot;application/alto-costmapfilter+json&qu=
ot;,
       }</pre><pre style=3D"font-size:1em;margin-bottom:0px;margin-top:0px"=
><br></pre><pre style=3D"font-size:1em;margin-bottom:0px;margin-top:0px"><b=
r></pre><font face=3D"arial, helvetica, sans-serif">The editors think this =
is a reasonable change to make. =A0Comments are very welcome.<br>


<br>Since we are on a tight schedule here, if we don&#39;t hear anything wi=
thin the next week (by May 21st), we will make the corresponding changes to=
 the draft.<br><br>Thanks!<br></font><span style=3D"font-family:arial,helve=
tica,sans-serif">Rich</span><font face=3D"arial, helvetica, sans-serif"><br=
>


</font></pre></div></div>
</blockquote></div><br></div>

--047d7bdc8bc6ea280b04dcc4976b--

From yang.r.yang@gmail.com  Wed May 15 13:41:01 2013
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 CF35221F8756 for <alto@ietfa.amsl.com>; Wed, 15 May 2013 13:41:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 XjZ3QK5d3rz3 for <alto@ietfa.amsl.com>; Wed, 15 May 2013 13:41:01 -0700 (PDT)
Received: from mail-da0-x22e.google.com (mail-da0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 01BBD21F8746 for <alto@ietf.org>; Wed, 15 May 2013 13:40:57 -0700 (PDT)
Received: by mail-da0-f46.google.com with SMTP id e20so1200189dak.33 for <alto@ietf.org>; Wed, 15 May 2013 13:40:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Oi0TsupZB1PO5025pV2oXAREMY6TNxgNyVdytMchP34=; b=N3E/bDu335bpa5XXOUx+I7Y+DDOxmlCmc/YWw6ZO3jM6Cw8jX22u43+OowHTc5jNN6 od+trRl41soD9/SU2pGcVhcB+TeVq0AOvKJwvbHxeuWSbWQRkWXBKJeWOSYbMdXZwHzd YqA5MWjo6RlA+XWhNapFu52zZ5f1wiA91hwUvrWgU8h39bNyI+7vZMJqD2/Vb8J6gwqM oeXggMzFy+h/vboLE6PMauj6uy7vfgPEZFfKfYIi4D7Q1M5uCAuqqWsaK7ORlzzbZVVI ObuhLjXgqY5ZzdVrjI81fbqBi6sKEZPRf38P9bgjCiuV4x1DzHCr+vaXKjPVoMTVn4gJ mlZA==
MIME-Version: 1.0
X-Received: by 10.69.16.5 with SMTP id fs5mr15577794pbd.52.1368650457684; Wed, 15 May 2013 13:40:57 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.27.233 with HTTP; Wed, 15 May 2013 13:40:57 -0700 (PDT)
In-Reply-To: <CA+cvDaYWaYubJTUAG9eibXjpvzRc=JS0E53TbDV3yYYbp=3AcA@mail.gmail.com>
References: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com> <9509DCE6-6619-4FD0-92EF-0CC9DEF470FA@niven-jenkins.co.uk> <CA+cvDaYWaYubJTUAG9eibXjpvzRc=JS0E53TbDV3yYYbp=3AcA@mail.gmail.com>
Date: Wed, 15 May 2013 16:40:57 -0400
X-Google-Sender-Auth: L4qIrFIfBIgWhkrhY14hzF3MjSY
Message-ID: <CANUuoLq6SAO2WKR+DO-190jxjzbae5bpSgpMK23Xea5M5gbVMQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Richard Alimi <rich@velvetsea.net>
Content-Type: multipart/alternative; boundary=047d7b5d8cc15a243304dcc7c42b
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Number of media types per resource
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: Wed, 15 May 2013 20:41:01 -0000

--047d7b5d8cc15a243304dcc7c42b
Content-Type: text/plain; charset=ISO-8859-1

On Wed, May 15, 2013 at 12:49 PM, Richard Alimi <rich@velvetsea.net> wrote:

> On Tue, May 14, 2013 at 12:29 PM, Ben Niven-Jenkins <
> ben@niven-jenkins.co.uk> wrote:
>
>> I support the change.
>>
>> One thing that might be worth making clear is that the client MUST NOT
>> assume that the media type returned by the ALTO server is the media type
>> advertised in the IRD (i.e. the client must still check the Content-Type
>> header). The expectation is the media type returned should normally be the
>> media type advertised but in some cases it may legitimately not match (e.g.
>> ALTO error).
>>
>
Thanks Ben. Personally, I found this perspective of HTTP confusing. HTTP (
http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1) also
specified:

"Any HTTP/1.1 message containing an entity-body SHOULD include a
Content-Type header field defining the media type of that body. If and only
if the media type is not given by a Content-Type field, the recipient MAY
attempt to guess the media type via inspection of its content and/or the
name extension(s) of the URI used to identify the resource. If the media
type remains unknown, the recipient SHOULD treat it as type
"application/octet-stream"."

One possibility of exact wording can be:

"An ALTO Client MUST NOT assume that the media type returned by the ALTO
Server for a request to a URI is the media type advertised in the IRD or
specified in its request (i.e., the client must still check the
Content-Type header). The expectation is the media type returned should
normally be the media type advertised and requested but in some cases it
may legitimately not be so (e.g., ALTO error)."

Note that the preceding wording does not include the guessing part, which I
think is too much.

What do you think?

Richard

>
> Thanks Sabine and Ben for the feedback.
>
> Ben - we'll be sure to make this clear in the draft.
>
> Thanks,
> Rich
>
>
>>
>> Ben
>>
>> On 14 May 2013, at 17:24, Richard Alimi wrote:
>>
>> > When we started specifying the format of the Information Resource
>> Directory (IRD), one concern was the overall size.  As such, we designed
>> mechanisms to allowed a single entry in the IRD to specify that it could
>> handle multiple media types (both in the request  and could provide
>> multiple media types).  Based on some recent (off-list) discussions with
>> Wendy, this may be less of a concern and we may want to go for simplicity.
>> >
>> > Here's an example of one entry we have now:
>> >
>> >        {
>> >          "uri" : "
>> > http://custom.alto.example.com/maps
>> > ",
>> >          "media-types" : [
>> >            "application/alto-networkmap+json",
>> >            "application/alto-costmap+json"
>> >          ],
>> >          "accepts" : [
>> >            "application/alto-networkmapfilter+json",
>> >            "application/alto-costmapfilter+json"
>> >          ]
>> >        }
>> >
>> >
>> > The proposal is to have each entry declare exactly one media-type for
>> the response, and either 0 or 1 media types for the request (e.g., the
>> unfiltered cost map doesn't need anything in the request - it's a simple
>> GET).
>> >
>> > Here's what the corresponding entry from above would look like:
>> >
>> >
>> >        {
>> >          "uri" : "
>> > http://custom.alto.example.com/maps
>> > ",
>> >          "media-type" : "application/alto-networkmap+json",
>> >          "accepts" : "application/alto-networkmapfilter+json",
>> >        },
>> >  {
>> >          "uri" : "http://custom.alto.example.com/maps
>> > ",
>> >          "media-types" : "application/alto-costmap+json",
>> >          "accepts" : "application/alto-costmapfilter+json",
>> >        }
>> >
>> >
>> >
>> > The editors think this is a reasonable change to make.  Comments are
>> very welcome.
>> >
>> >
>> >
>> >
>> > Since we are on a tight schedule here, if we don't hear anything within
>> the next week (by May 21st), we will make the corresponding changes to the
>> draft.
>> >
>> > Thanks!
>> > Rich
>> >
>> >
>> >
>> > _______________________________________________
>> > alto mailing list
>> > alto@ietf.org
>> > https://www.ietf.org/mailman/listinfo/alto
>>
>>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>
>

--047d7b5d8cc15a243304dcc7c42b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 15, 2013 at 12:49 PM, Richard Alimi <span dir=3D"ltr">&lt;<=
a href=3D"mailto:rich@velvetsea.net" target=3D"_blank">rich@velvetsea.net</=
a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div dir=3D"ltr"><div class=3D"im">On Tue, May 14, 2013 at=
 12:29 PM, Ben Niven-Jenkins <span dir=3D"ltr">&lt;<a href=3D"mailto:ben@ni=
ven-jenkins.co.uk" target=3D"_blank">ben@niven-jenkins.co.uk</a>&gt;</span>=
 wrote:<br>
</div><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div class=3D"i=
m">

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">I support the change.<br>
<br>
One thing that might be worth making clear is that the client MUST NOT assu=
me that the media type returned by the ALTO server is the media type advert=
ised in the IRD (i.e. the client must still check the Content-Type header).=
 The expectation is the media type returned should normally be the media ty=
pe advertised but in some cases it may legitimately not match (e.g. ALTO er=
ror).<br>
</blockquote></div></div></div></div></blockquote><div><br></div><div style=
>Thanks Ben. Personally, I found this perspective of HTTP confusing. HTTP (=
<a href=3D"http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1">=
http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1</a>) also sp=
ecified:<br>
<br></div><div style>&quot;Any HTTP/1.1 message containing an entity-body S=
HOULD include a Content-Type header field defining the media type of that b=
ody. If and only if the media type is not given by a Content-Type field, th=
e recipient MAY attempt to guess the media type via inspection of its conte=
nt and/or the name extension(s) of the URI used to identify the resource. I=
f the media type remains unknown, the recipient SHOULD treat it as type &qu=
ot;application/octet-stream&quot;.&quot;</div>
<div style><br></div><div style>One possibility of exact wording can be:</d=
iv><div style><br>&quot;An ALTO Client MUST NOT assume that the media type =
returned by the ALTO Server for a request to a URI is the media type advert=
ised in the IRD or specified in its request (i.e., the client must still ch=
eck the Content-Type header). The expectation is the media type returned sh=
ould normally be the media type advertised and requested but in some cases =
it may legitimately not be so (e.g., ALTO error).&quot;</div>
<div style><br></div><div style>Note that the preceding wording does not in=
clude the guessing part, which I think is too much.</div><div style><br></d=
iv><div style>What do you think?</div><div style><br></div><div style>Richa=
rd=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"=
gmail_quote">
<div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-=
left-style:solid;padding-left:1ex">

</blockquote><div><br></div></div><div>Thanks Sabine and Ben for the feedba=
ck.</div><div><br></div><div>Ben - we&#39;ll be sure to make this clear in =
the draft.</div><div><br></div><div>Thanks,</div>

<div>Rich</div><div><div class=3D"h5"><div>=A0</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-l=
eft-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Ben<br>
<div><div><br>
On 14 May 2013, at 17:24, Richard Alimi wrote:<br>
<br>
&gt; When we started specifying the format of the Information Resource Dire=
ctory (IRD), one concern was the overall size. =A0As such, we designed mech=
anisms to allowed a single entry in the IRD to specify that it could handle=
 multiple media types (both in the request =A0and could provide multiple me=
dia types). =A0Based on some recent (off-list) discussions with Wendy, this=
 may be less of a concern and we may want to go for simplicity.<br>



&gt;<br>
&gt; Here&#39;s an example of one entry we have now:<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0{<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;uri&quot; : &quot;<br>
&gt; <a href=3D"http://custom.alto.example.com/maps" target=3D"_blank">http=
://custom.alto.example.com/maps</a><br>
&gt; &quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;media-types&quot; : [<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-networkmap+json&quot;,<b=
r>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-costmap+json&quot;<br>
&gt; =A0 =A0 =A0 =A0 =A0],<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;accepts&quot; : [<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-networkmapfilter+json&qu=
ot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-costmapfilter+json&quot;=
<br>
&gt; =A0 =A0 =A0 =A0 =A0]<br>
&gt; =A0 =A0 =A0 =A0}<br>
&gt;<br>
&gt;<br>
&gt; The proposal is to have each entry declare exactly one media-type for =
the response, and either 0 or 1 media types for the request (e.g., the unfi=
ltered cost map doesn&#39;t need anything in the request - it&#39;s a simpl=
e GET).<br>



&gt;<br>
&gt; Here&#39;s what the corresponding entry from above would look like:<br=
>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0{<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;uri&quot; : &quot;<br>
&gt; <a href=3D"http://custom.alto.example.com/maps" target=3D"_blank">http=
://custom.alto.example.com/maps</a><br>
&gt; &quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;media-type&quot; : &quot;application/alto-net=
workmap+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;accepts&quot; : &quot;application/alto-networ=
kmapfilter+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0},<br>
&gt; =A0{<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;uri&quot; : &quot;<a href=3D"http://custom.al=
to.example.com/maps" target=3D"_blank">http://custom.alto.example.com/maps<=
/a><br>
&gt; &quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;media-types&quot; : &quot;application/alto-co=
stmap+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;accepts&quot; : &quot;application/alto-costma=
pfilter+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0}<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; The editors think this is a reasonable change to make. =A0Comments are=
 very welcome.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Since we are on a tight schedule here, if we don&#39;t hear anything w=
ithin the next week (by May 21st), we will make the corresponding changes t=
o the draft.<br>
&gt;<br>
&gt; Thanks!<br>
&gt; Rich<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; alto mailing list<br>
&gt; <a href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a><b=
r>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blan=
k">https://www.ietf.org/mailman/listinfo/alto</a><br>
<br>
</blockquote></div></div></div><br></div></div>
<br>_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br></div></div>

--047d7b5d8cc15a243304dcc7c42b--

From sebi@gw01.ehlo.wurstkaes.de  Thu May 16 08:52:45 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 5850721F93A6 for <alto@ietfa.amsl.com>; Thu, 16 May 2013 08:52:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-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 iaKLUeCDI+wU for <alto@ietfa.amsl.com>; Thu, 16 May 2013 08:52:44 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id AA96B21F934B for <alto@ietf.org>; Thu, 16 May 2013 08:52:41 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.72) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1Ud0Ts-0000DD-FN for alto@ietf.org; Thu, 16 May 2013 17:52:36 +0200
Date: Thu, 16 May 2013 17:52:36 +0200
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: alto@ietf.org
Message-ID: <20130516155236.GX3405@gw01.ehlo.wurstkaes.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.20 (2009-06-14)
Subject: [alto] fwd: I-D Action: draft-kist-alto-3pdisc-03.txt
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: Thu, 16 May 2013 15:52:45 -0000

ALTO WG folks,

technically this is only a minor update of the 3pdisc draft, although
lots of clarifications and deployment considerations have been added.
algorithm variant #2 of the -02 draft has been abandoned, variant #1 is
now the only one (unchanged).  discussions with the DNS experts are
still ongoing.

Thanks
Martin and Sebastian


----- Forwarded message from internet-drafts@ietf.org -----

Date: Thu, 16 May 2013 08:44:31 -0700
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Subject: I-D Action: draft-kist-alto-3pdisc-03.txt


A New Internet-Draft is available from the on-line Internet-Drafts directories.


	Title           : Third-Party ALTO Server Discovery (3pdisc)
	Author(s)       : Sebastian Kiesel
                          Kilian Krause
                          Martin Stiemerling
	Filename        : draft-kist-alto-3pdisc-03.txt
	Pages           : 18
	Date            : 2013-05-16

Abstract:
   The goal of Application-Layer Traffic Optimization (ALTO) is to
   provide guidance to applications that have to select one or several
   hosts from a set of candidates capable of providing a desired
   resource.  ALTO is realized by a client-server protocol.  Before an
   ALTO client can ask for guidance it needs to discover one or more
   ALTO servers that can provide suitable guidance.

   This document specifies a procedure for third-party ALTO server
   discovery, which can be used if the ALTO client is not co-located
   with the actual resource consumer, but instead embedded in a third
   party such as a peer-to-peer tracker.

   Technically, the algorithm specified in this document takes one
   IP address and a U-NAPTR Service Parameter (i.e., "ALTO:http" or
   "ALTO:https") as parameters.  It performs several DNS lookups (for
   PTR, SOA, and U-NAPTR resource records) and returns one or more
   URI(s) of information resources related to that IP address.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-kist-alto-3pdisc

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-kist-alto-3pdisc-03

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=draft-kist-alto-3pdisc-03


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

----- End forwarded message -----

From ben@niven-jenkins.co.uk  Thu May 16 13:51:44 2013
Return-Path: <ben@niven-jenkins.co.uk>
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 B091A11E8165 for <alto@ietfa.amsl.com>; Thu, 16 May 2013 13:51:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.226
X-Spam-Level: 
X-Spam-Status: No, score=-102.226 tagged_above=-999 required=5 tests=[AWL=-1.024, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, USER_IN_WHITELIST=-100]
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 SzxSufuq46n7 for <alto@ietfa.amsl.com>; Thu, 16 May 2013 13:51:40 -0700 (PDT)
Received: from mailex.mailcore.me (mailex.mailcore.me [94.136.40.61]) by ietfa.amsl.com (Postfix) with ESMTP id B074911E8162 for <alto@ietf.org>; Thu, 16 May 2013 13:51:39 -0700 (PDT)
Received: from cpc4-cmbg17-2-0-cust814.5-4.cable.virginmedia.com ([86.14.227.47] helo=[192.168.0.2]) by mail11.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <ben@niven-jenkins.co.uk>) id 1Ud59A-0006Sb-9x; Thu, 16 May 2013 21:51:37 +0100
References: <CA+cvDaa_wOP01YiFBi937Bh11V_-ro6mq06X-ThNUCm6bGMjNw@mail.gmail.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <CA+cvDaa_wOP01YiFBi937Bh11V_-ro6mq06X-ThNUCm6bGMjNw@mail.gmail.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-B1FE63E0-6D63-4774-AFF9-E2C1ABA3288D
Content-Transfer-Encoding: 7bit
Message-Id: <586EBE6E-A0A0-4175-8687-33032DA29B0A@niven-jenkins.co.uk>
X-Mailer: iPhone Mail (10B329)
From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Date: Thu, 16 May 2013 21:51:30 +0100
To: Richard Alimi <rich@velvetsea.net>
X-Mailcore-Auth: 9600544
X-Mailcore-Domain: 172912
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Equivalence of various identifiers from an ALTO Server
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: Thu, 16 May 2013 20:51:44 -0000

--Apple-Mail-B1FE63E0-6D63-4774-AFF9-E2C1ABA3288D
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Can we mandate the vtag has the equivalent properties of a strong etag in HT=
TP? i.e. if an alto service is provided by multiple servers then those serve=
rs must ensure that vtags are consistent across servers/versions?

If not we could have the equivalent of weak and strong vtags and in the case=
 of weak the client would expect the same server (IP & port) to return consi=
stent vtags but if it connected to another server it would have to re-retrie=
ve the entire cost map if it wanted to compare it to a filtered cost map fro=
m the same (2nd) server.=20

(BTW I'm not sure you can compare a filtered costmap against a full cost map=
 if the costs are ordinal)

Ben

On 15 May 2013, at 17:45, Richard Alimi <rich@velvetsea.net> wrote:

> One question that Wendy brought up was: "if one resource directory can ref=
er to a different resource directory which may live at a different server or=
 administrative domain, when is it safe for an ALTO Client to conclude that a=
 cost metric means the same thing?" A particular example here is the full co=
st map and filtered cost map.  If the client fetched the full cost map with t=
he 'routingcost' cost metric, and then later wanted to use a more refined qu=
ery, then presumably the client should be able to assume that the values in t=
he filtered cost map (also with the 'routingcost' cost metric) mean the same=
 thing.
>=20
> A similar thing holds for version tags.  If the client finds a cost map wi=
th version tag '1234', under what conditions should it declare that it match=
es the version tag for a particular network map?  Similar to the cost map ex=
ample above, both may come from a different server or administrative domain.=

>=20
> To resolve this ambiguity, we are proposing to add the following to Sectio=
n 8.3.1:
>=20
> "The meanings of identifiers used in resources discovered via an entry poi=
nt to an ALTO Server (i.e., by the ALTO Discovery Protocol) SHOULD be consis=
tent with each other. In particular, a particular values for a different cos=
t maps of the same cost metric should be comparable, and the version tag for=
 a cost map should be comparable to the version tag for the network map on w=
hich it was based, even if the two maps are provided by a different server."=

>=20
> I hope the intent here is clear.  Admittedly, this is probably not a crisp=
 enough statement to put in the draft yet, but suggestions on improving it w=
ould be appreciated.
>=20
> Thanks,
> Rich
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto

--Apple-Mail-B1FE63E0-6D63-4774-AFF9-E2C1ABA3288D
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div>Can we mandate the vtag has the equiva=
lent properties of a strong etag in HTTP? i.e. if an alto service is provide=
d by multiple servers then those servers must ensure that vtags are consiste=
nt across servers/versions?</div><div><br></div><div>If not we could have th=
e equivalent of weak and strong vtags and in the case of weak the client wou=
ld expect the same server (IP &amp; port) to return consistent vtags but if i=
t connected to another server it would have to re-retrieve the entire cost m=
ap if it wanted to compare it to a filtered cost map from the same (2nd) ser=
ver.&nbsp;</div><div><br></div><div>(BTW I'm not sure you can compare a filt=
ered costmap against a full cost map if the costs are ordinal)</div><div><br=
></div><div>Ben</div><div><br>On 15 May 2013, at 17:45, Richard Alimi &lt;<a=
 href=3D"mailto:rich@velvetsea.net">rich@velvetsea.net</a>&gt; wrote:<br><br=
></div><blockquote type=3D"cite"><div><div dir=3D"ltr"><span style=3D"font-f=
amily:arial,sans-serif;font-size:13px">One question that Wendy brought up wa=
s: "if one resource directory can refer to a different resource directory wh=
ich may live at a different server or administrative domain, when is it safe=
 for an ALTO Client to conclude that a cost metric means the same thing?" A p=
articular example here is the full cost map and filtered cost map. &nbsp;If t=
he client fetched the full cost map with the 'routingcost' cost metric, and t=
hen later wanted to use a more refined query, then presumably the client sho=
uld be able to assume that the values in the filtered cost map (also with th=
e 'routingcost' cost metric) mean the same thing.</span><div>

<span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span></div=
><div><span style=3D"font-family:arial,sans-serif;font-size:13px">A similar t=
hing holds for version tags. &nbsp;If the client finds a cost map with versi=
on tag '1234', under what conditions should it declare that it matches the v=
ersion tag for a particular network map? &nbsp;Similar to the cost map examp=
le above, both may come from a different server or administrative domain.</s=
pan></div>

<div><span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span>=
</div><div style=3D""><span style=3D"font-family:arial,sans-serif;font-size:=
13px">To resolve this ambiguity, we are proposing to add the following to Se=
ction 8.3.1:</span></div>

<div style=3D""><span style=3D"font-family:arial,sans-serif;font-size:13px">=
<br></span></div><div style=3D""><font face=3D"arial, sans-serif">"The meani=
ngs of identifiers used in resources discovered via an entry point to an ALT=
O Server (i.e., by the ALTO Discovery Protocol) SHOULD be consistent with ea=
ch other. In particular, a particular values for a different cost maps of th=
e same cost metric should be comparable, and the version tag for a cost map s=
hould be comparable to the version tag for the network map on which it was b=
ased, even if the two maps are provided by a different server."</font></div>=


<div style=3D""><font face=3D"arial, sans-serif"><br></font></div><div style=
=3D"">I hope the intent here is clear. &nbsp;Admittedly, this is probably no=
t a crisp enough statement to put in the draft yet, but suggestions on impro=
ving it would be appreciated.</div>

<div style=3D""><br></div><div style=3D"">Thanks,</div><div style=3D""><font=
 face=3D"arial, sans-serif">Rich</font></div></div>
</div></blockquote><blockquote type=3D"cite"><div><span>____________________=
___________________________</span><br><span>alto mailing list</span><br><spa=
n><a href=3D"mailto:alto@ietf.org">alto@ietf.org</a></span><br><span><a href=
=3D"https://www.ietf.org/mailman/listinfo/alto">https://www.ietf.org/mailman=
/listinfo/alto</a></span><br></div></blockquote></body></html>=

--Apple-Mail-B1FE63E0-6D63-4774-AFF9-E2C1ABA3288D--

From ben@niven-jenkins.co.uk  Thu May 16 14:17:34 2013
Return-Path: <ben@niven-jenkins.co.uk>
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 60DDA11E80FB for <alto@ietfa.amsl.com>; Thu, 16 May 2013 14:17:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.885
X-Spam-Level: 
X-Spam-Status: No, score=-101.885 tagged_above=-999 required=5 tests=[AWL=-0.683, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, USER_IN_WHITELIST=-100]
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 C2ZxCShbLSyH for <alto@ietfa.amsl.com>; Thu, 16 May 2013 14:17:29 -0700 (PDT)
Received: from mailex.mailcore.me (mailex.mailcore.me [94.136.40.61]) by ietfa.amsl.com (Postfix) with ESMTP id 5331911E80B8 for <alto@ietf.org>; Thu, 16 May 2013 14:17:29 -0700 (PDT)
Received: from cpc4-cmbg17-2-0-cust814.5-4.cable.virginmedia.com ([86.14.227.47] helo=[192.168.0.2]) by mail10.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <ben@niven-jenkins.co.uk>) id 1Ud5YF-0006uE-Sx; Thu, 16 May 2013 22:17:28 +0100
References: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com> <CA+cvDaYTOxOmrPg9WPHr4OPm5c_X+zNmvOztDHqkmzXDSSzhyw@mail.gmail.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <CA+cvDaYTOxOmrPg9WPHr4OPm5c_X+zNmvOztDHqkmzXDSSzhyw@mail.gmail.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-644FB0FC-2096-4286-BAF6-8B632BFCDDC6
Content-Transfer-Encoding: 7bit
Message-Id: <9F5F8DE1-8B9A-4C3F-B8B2-29FC7BA5E26A@niven-jenkins.co.uk>
X-Mailer: iPhone Mail (10B329)
From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Date: Thu, 16 May 2013 22:17:25 +0100
To: Richard Alimi <rich@velvetsea.net>
X-Mailcore-Auth: 9600544
X-Mailcore-Domain: 172912
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Number of media types per resource
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: Thu, 16 May 2013 21:17:34 -0000

--Apple-Mail-644FB0FC-2096-4286-BAF6-8B632BFCDDC6
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

I'd always assumed that was allowed already :-) so making it explicit in the=
 spec is fine with me. Ben

On 15 May 2013, at 17:53, Richard Alimi <rich@velvetsea.net> wrote:

> One clarification to this.
>=20
> Along with this change, in order to retain the ability for an ALTO Server r=
eferring to a set of resources in another IRD, we would also like to allow a=
n IRD entry to point directly to another iRD.  This would basically mean tha=
t there would be entries specifying the media type of "application/alto-dire=
ctory+json".  Without this, it would force an ALTO Server to explicitly list=
 all resources at the other server, and we thought that would be coupling th=
em too tightly.
>=20
> Thanks,
> Rich
>=20
>=20
> On Tue, May 14, 2013 at 9:24 AM, Richard Alimi <rich@velvetsea.net> wrote:=

>> When we started specifying the format of the Information Resource Directo=
ry (IRD), one concern was the overall size.  As such, we designed mechanisms=
 to allowed a single entry in the IRD to specify that it could handle multip=
le media types (both in the request  and could provide multiple media types)=
.  Based on some recent (off-list) discussions with Wendy, this may be less o=
f a concern and we may want to go for simplicity.
>>=20
>> Here's an example of one entry we have now:
>>=20
>>        {
>>          "uri" : "http://custom.alto.example.com/maps",
>>          "media-types" : [
>>            "application/alto-networkmap+json",
>>            "application/alto-costmap+json"
>>          ],
>>          "accepts" : [
>>            "application/alto-networkmapfilter+json",
>>            "application/alto-costmapfilter+json"
>>          ]
>>        }
>>=20
>> The proposal is to have each entry declare exactly one media-type for the=
 response, and either 0 or 1 media types for the request (e.g., the unfilter=
ed cost map doesn't need anything in the request - it's a simple GET).
>>=20
>> Here's what the corresponding entry from above would look like:
>>=20
>>        {
>>          "uri" : "http://custom.alto.example.com/maps",
>>          "media-type" : "application/alto-networkmap+json",
>>          "accepts" : "application/alto-networkmapfilter+json",
>>        },  {
>>          "uri" : "http://custom.alto.example.com/maps",
>>          "media-types" : "application/alto-costmap+json",
>>          "accepts" : "application/alto-costmapfilter+json",
>>        }
>>=20
>>=20
>> The editors think this is a reasonable change to make.  Comments are very=
 welcome.
>>=20
>>=20
>>=20
>>=20
>> Since we are on a tight schedule here, if we don't hear anything within t=
he next week (by May 21st), we will make the corresponding changes to the dr=
aft.
>>=20
>> Thanks!
>> Rich
>=20
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto

--Apple-Mail-644FB0FC-2096-4286-BAF6-8B632BFCDDC6
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I'd always assumed that was allowed already :-) so making it explicit in the spec is fine with me. Ben</div><div><br>On 15 May 2013, at 17:53, Richard Alimi &lt;<a href="mailto:rich@velvetsea.net">rich@velvetsea.net</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">One clarification to this.<div><br></div><div style="">Along with this change, in order to retain the ability for an ALTO Server referring to a set of resources in another IRD, we would also like to allow an IRD entry to point directly to another iRD. &nbsp;This would basically mean that there would be entries specifying the media type of&nbsp;"application/alto-directory+json". &nbsp;Without this, it would force an ALTO Server to explicitly list all resources at the other server, and we thought that would be coupling them too tightly.</div>

<div style=""><br></div><div style="">Thanks,</div><div style="">Rich</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 14, 2013 at 9:24 AM, Richard Alimi <span dir="ltr">&lt;<a href="mailto:rich@velvetsea.net" target="_blank">rich@velvetsea.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">When we started specifying the format of the Information Resource Directory (IRD), one concern was the overall size. &nbsp;As such, we designed mechanisms to allowed a single entry in the IRD to specify that it could handle&nbsp;multiple&nbsp;media types (both in the&nbsp;request&nbsp; and could provide multiple media types). &nbsp;Based on some recent (off-list) discussions with Wendy, this may be less of a concern and we may want to go for simplicity.<div>


<br></div><div>Here's an example of one entry we have now:</div><div><br></div><div><pre style="font-size:1em;margin-bottom:0px;margin-top:0px">       {
         "uri" : "<a href="http://custom.alto.example.com/maps" target="_blank">http://custom.alto.example.com/maps</a>",
         "media-types" : [
           "application/alto-networkmap+json",
           "application/alto-costmap+json"
         ],
         "accepts" : [
           "application/alto-networkmapfilter+json",
           "application/alto-costmapfilter+json"
         ]
       }</pre><br>The proposal is to have each entry declare exactly one media-type for the response, and either 0 or 1 media types for the request (e.g., the unfiltered cost map doesn't need anything in the request - it's a simple GET).</div>


<div><br></div><div>Here's what the corresponding entry from above would look like:</div><div><br></div><div><pre style="font-size:1em;margin-bottom:0px;margin-top:0px">       {
         "uri" : "<a href="http://custom.alto.example.com/maps" target="_blank">http://custom.alto.example.com/maps</a>",
         "media-type" : "application/alto-networkmap+json",
         "accepts" : "application/alto-networkmapfilter+json",
       }, <span style="font-size:1em;font-family:arial"> {</span></pre><pre style="margin-top:0px;margin-bottom:0px"><pre style="font-size:1em;margin-bottom:0px;margin-top:0px">         "uri" : "<a href="http://custom.alto.example.com/maps" target="_blank">http://custom.alto.example.com/maps</a>",
         "media-types" : "application/alto-costmap+json",
         "accepts" : "application/alto-costmapfilter+json",
       }</pre><pre style="font-size:1em;margin-bottom:0px;margin-top:0px"><br></pre><pre style="font-size:1em;margin-bottom:0px;margin-top:0px"><br></pre><font face="arial, helvetica, sans-serif">The editors think this is a reasonable change to make. &nbsp;Comments are very welcome.<br>


<br>Since we are on a tight schedule here, if we don't hear anything within the next week (by May 21st), we will make the corresponding changes to the draft.<br><br>Thanks!<br></font><span style="font-family:arial,helvetica,sans-serif">Rich</span><font face="arial, helvetica, sans-serif"><br>


</font></pre></div></div>
</blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>alto mailing list</span><br><span><a href="mailto:alto@ietf.org">alto@ietf.org</a></span><br><span><a href="https://www.ietf.org/mailman/listinfo/alto">https://www.ietf.org/mailman/listinfo/alto</a></span><br></div></blockquote></body></html>
--Apple-Mail-644FB0FC-2096-4286-BAF6-8B632BFCDDC6--

From ben@niven-jenkins.co.uk  Thu May 16 14:18:50 2013
Return-Path: <ben@niven-jenkins.co.uk>
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 DC7B521F8EA4 for <alto@ietfa.amsl.com>; Thu, 16 May 2013 14:18:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.714
X-Spam-Level: 
X-Spam-Status: No, score=-101.714 tagged_above=-999 required=5 tests=[AWL=-0.512, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, USER_IN_WHITELIST=-100]
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 6lVnHOBo0KAJ for <alto@ietfa.amsl.com>; Thu, 16 May 2013 14:18:46 -0700 (PDT)
Received: from mailex.mailcore.me (mailex.mailcore.me [94.136.40.61]) by ietfa.amsl.com (Postfix) with ESMTP id C82C621F8A14 for <alto@ietf.org>; Thu, 16 May 2013 14:18:45 -0700 (PDT)
Received: from cpc4-cmbg17-2-0-cust814.5-4.cable.virginmedia.com ([86.14.227.47] helo=[192.168.0.2]) by mail10.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <ben@niven-jenkins.co.uk>) id 1Ud5ZH-0006uE-D0; Thu, 16 May 2013 22:18:32 +0100
References: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com> <9509DCE6-6619-4FD0-92EF-0CC9DEF470FA@niven-jenkins.co.uk> <CA+cvDaYWaYubJTUAG9eibXjpvzRc=JS0E53TbDV3yYYbp=3AcA@mail.gmail.com> <CANUuoLq6SAO2WKR+DO-190jxjzbae5bpSgpMK23Xea5M5gbVMQ@mail.gmail.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <CANUuoLq6SAO2WKR+DO-190jxjzbae5bpSgpMK23Xea5M5gbVMQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-10D8C6DE-F74B-455F-B4FD-3B9F6ADBE338
Content-Transfer-Encoding: 7bit
Message-Id: <396349F7-52D4-4FD9-80CB-7ABBDF20BC6C@niven-jenkins.co.uk>
X-Mailer: iPhone Mail (10B329)
From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Date: Thu, 16 May 2013 22:18:24 +0100
To: "Y. Richard Yang" <yry@cs.yale.edu>
X-Mailcore-Auth: 9600544
X-Mailcore-Domain: 172912
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Number of media types per resource
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: Thu, 16 May 2013 21:18:51 -0000

--Apple-Mail-10D8C6DE-F74B-455F-B4FD-3B9F6ADBE338
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Works for me. Ben

On 15 May 2013, at 21:40, "Y. Richard Yang" <yry@cs.yale.edu> wrote:

>=20
>=20
> On Wed, May 15, 2013 at 12:49 PM, Richard Alimi <rich@velvetsea.net> wrote=
:
>> On Tue, May 14, 2013 at 12:29 PM, Ben Niven-Jenkins <ben@niven-jenkins.co=
.uk> wrote:
>>> I support the change.
>>>=20
>>> One thing that might be worth making clear is that the client MUST NOT a=
ssume that the media type returned by the ALTO server is the media type adve=
rtised in the IRD (i.e. the client must still check the Content-Type header)=
. The expectation is the media type returned should normally be the media ty=
pe advertised but in some cases it may legitimately not match (e.g. ALTO err=
or).
>=20
> Thanks Ben. Personally, I found this perspective of HTTP confusing. HTTP (=
http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1) also specifi=
ed:
>=20
> "Any HTTP/1.1 message containing an entity-body SHOULD include a Content-T=
ype header field defining the media type of that body. If and only if the me=
dia type is not given by a Content-Type field, the recipient MAY attempt to g=
uess the media type via inspection of its content and/or the name extension(=
s) of the URI used to identify the resource. If the media type remains unkno=
wn, the recipient SHOULD treat it as type "application/octet-stream"."
>=20
> One possibility of exact wording can be:
>=20
> "An ALTO Client MUST NOT assume that the media type returned by the ALTO S=
erver for a request to a URI is the media type advertised in the IRD or spec=
ified in its request (i.e., the client must still check the Content-Type hea=
der). The expectation is the media type returned should normally be the medi=
a type advertised and requested but in some cases it may legitimately not be=
 so (e.g., ALTO error)."
>=20
> Note that the preceding wording does not include the guessing part, which I=
 think is too much.
>=20
> What do you think?
>=20
> Richard=20
>>=20
>>=20
>> Thanks Sabine and Ben for the feedback.
>>=20
>> Ben - we'll be sure to make this clear in the draft.
>>=20
>> Thanks,
>> Rich
>> =20
>>>=20
>>> Ben
>>>=20
>>> On 14 May 2013, at 17:24, Richard Alimi wrote:
>>>=20
>>> > When we started specifying the format of the Information Resource Dire=
ctory (IRD), one concern was the overall size.  As such, we designed mechani=
sms to allowed a single entry in the IRD to specify that it could handle mul=
tiple media types (both in the request  and could provide multiple media typ=
es).  Based on some recent (off-list) discussions with Wendy, this may be le=
ss of a concern and we may want to go for simplicity.
>>> >
>>> > Here's an example of one entry we have now:
>>> >
>>> >        {
>>> >          "uri" : "
>>> > http://custom.alto.example.com/maps
>>> > ",
>>> >          "media-types" : [
>>> >            "application/alto-networkmap+json",
>>> >            "application/alto-costmap+json"
>>> >          ],
>>> >          "accepts" : [
>>> >            "application/alto-networkmapfilter+json",
>>> >            "application/alto-costmapfilter+json"
>>> >          ]
>>> >        }
>>> >
>>> >
>>> > The proposal is to have each entry declare exactly one media-type for t=
he response, and either 0 or 1 media types for the request (e.g., the unfilt=
ered cost map doesn't need anything in the request - it's a simple GET).
>>> >
>>> > Here's what the corresponding entry from above would look like:
>>> >
>>> >
>>> >        {
>>> >          "uri" : "
>>> > http://custom.alto.example.com/maps
>>> > ",
>>> >          "media-type" : "application/alto-networkmap+json",
>>> >          "accepts" : "application/alto-networkmapfilter+json",
>>> >        },
>>> >  {
>>> >          "uri" : "http://custom.alto.example.com/maps
>>> > ",
>>> >          "media-types" : "application/alto-costmap+json",
>>> >          "accepts" : "application/alto-costmapfilter+json",
>>> >        }
>>> >
>>> >
>>> >
>>> > The editors think this is a reasonable change to make.  Comments are v=
ery welcome.
>>> >
>>> >
>>> >
>>> >
>>> > Since we are on a tight schedule here, if we don't hear anything withi=
n the next week (by May 21st), we will make the corresponding changes to the=
 draft.
>>> >
>>> > Thanks!
>>> > Rich
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > alto mailing list
>>> > alto@ietf.org
>>> > https://www.ietf.org/mailman/listinfo/alto
>>=20
>>=20
>> _______________________________________________
>> alto mailing list
>> alto@ietf.org
>> https://www.ietf.org/mailman/listinfo/alto
>=20

--Apple-Mail-10D8C6DE-F74B-455F-B4FD-3B9F6ADBE338
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Works for me. Ben</div><div><br>On 15 May 2013, at 21:40, "Y. Richard Yang" &lt;<a href="mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 15, 2013 at 12:49 PM, Richard Alimi <span dir="ltr">&lt;<a href="mailto:rich@velvetsea.net" target="_blank">rich@velvetsea.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="im">On Tue, May 14, 2013 at 12:29 PM, Ben Niven-Jenkins <span dir="ltr">&lt;<a href="mailto:ben@niven-jenkins.co.uk" target="_blank">ben@niven-jenkins.co.uk</a>&gt;</span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div class="im">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I support the change.<br>
<br>
One thing that might be worth making clear is that the client MUST NOT assume that the media type returned by the ALTO server is the media type advertised in the IRD (i.e. the client must still check the Content-Type header). The expectation is the media type returned should normally be the media type advertised but in some cases it may legitimately not match (e.g. ALTO error).<br>
</blockquote></div></div></div></div></blockquote><div><br></div><div style="">Thanks Ben. Personally, I found this perspective of HTTP confusing. HTTP (<a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1">http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1</a>) also specified:<br>
<br></div><div style="">"Any HTTP/1.1 message containing an entity-body SHOULD include a Content-Type header field defining the media type of that body. If and only if the media type is not given by a Content-Type field, the recipient MAY attempt to guess the media type via inspection of its content and/or the name extension(s) of the URI used to identify the resource. If the media type remains unknown, the recipient SHOULD treat it as type "application/octet-stream"."</div>
<div style=""><br></div><div style="">One possibility of exact wording can be:</div><div style=""><br>"An ALTO Client MUST NOT assume that the media type returned by the ALTO Server for a request to a URI is the media type advertised in the IRD or specified in its request (i.e., the client must still check the Content-Type header). The expectation is the media type returned should normally be the media type advertised and requested but in some cases it may legitimately not be so (e.g., ALTO error)."</div>
<div style=""><br></div><div style="">Note that the preceding wording does not include the guessing part, which I think is too much.</div><div style=""><br></div><div style="">What do you think?</div><div style=""><br></div><div style="">Richard&nbsp;</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

</blockquote><div><br></div></div><div>Thanks Sabine and Ben for the feedback.</div><div><br></div><div>Ben - we'll be sure to make this clear in the draft.</div><div><br></div><div>Thanks,</div>

<div>Rich</div><div><div class="h5"><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Ben<br>
<div><div><br>
On 14 May 2013, at 17:24, Richard Alimi wrote:<br>
<br>
&gt; When we started specifying the format of the Information Resource Directory (IRD), one concern was the overall size. &nbsp;As such, we designed mechanisms to allowed a single entry in the IRD to specify that it could handle multiple media types (both in the request &nbsp;and could provide multiple media types). &nbsp;Based on some recent (off-list) discussions with Wendy, this may be less of a concern and we may want to go for simplicity.<br>



&gt;<br>
&gt; Here's an example of one entry we have now:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;{<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"uri" : "<br>
&gt; <a href="http://custom.alto.example.com/maps" target="_blank">http://custom.alto.example.com/maps</a><br>
&gt; ",<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"media-types" : [<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"application/alto-networkmap+json",<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"application/alto-costmap+json"<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;],<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"accepts" : [<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"application/alto-networkmapfilter+json",<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"application/alto-costmapfilter+json"<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;]<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;}<br>
&gt;<br>
&gt;<br>
&gt; The proposal is to have each entry declare exactly one media-type for the response, and either 0 or 1 media types for the request (e.g., the unfiltered cost map doesn't need anything in the request - it's a simple GET).<br>



&gt;<br>
&gt; Here's what the corresponding entry from above would look like:<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;{<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"uri" : "<br>
&gt; <a href="http://custom.alto.example.com/maps" target="_blank">http://custom.alto.example.com/maps</a><br>
&gt; ",<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"media-type" : "application/alto-networkmap+json",<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"accepts" : "application/alto-networkmapfilter+json",<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;},<br>
&gt; &nbsp;{<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"uri" : "<a href="http://custom.alto.example.com/maps" target="_blank">http://custom.alto.example.com/maps</a><br>
&gt; ",<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"media-types" : "application/alto-costmap+json",<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"accepts" : "application/alto-costmapfilter+json",<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;}<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; The editors think this is a reasonable change to make. &nbsp;Comments are very welcome.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Since we are on a tight schedule here, if we don't hear anything within the next week (by May 21st), we will make the corresponding changes to the draft.<br>
&gt;<br>
&gt; Thanks!<br>
&gt; Rich<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; alto mailing list<br>
&gt; <a href="mailto:alto@ietf.org" target="_blank">alto@ietf.org</a><br>
&gt; <a href="https://www.ietf.org/mailman/listinfo/alto" target="_blank">https://www.ietf.org/mailman/listinfo/alto</a><br>
<br>
</blockquote></div></div></div><br></div></div>
<br>_______________________________________________<br>
alto mailing list<br>
<a href="mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href="https://www.ietf.org/mailman/listinfo/alto" target="_blank">https://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br></div></div>
</div></blockquote></body></html>
--Apple-Mail-10D8C6DE-F74B-455F-B4FD-3B9F6ADBE338--

From ben@niven-jenkins.co.uk  Thu May 16 14:28:00 2013
Return-Path: <ben@niven-jenkins.co.uk>
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 EC00321F8F41 for <alto@ietfa.amsl.com>; Thu, 16 May 2013 14:27:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.612
X-Spam-Level: 
X-Spam-Status: No, score=-101.612 tagged_above=-999 required=5 tests=[AWL=-0.410, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, USER_IN_WHITELIST=-100]
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 APZIJ0i-dY9s for <alto@ietfa.amsl.com>; Thu, 16 May 2013 14:27:54 -0700 (PDT)
Received: from mailex.mailcore.me (mailex.mailcore.me [94.136.40.61]) by ietfa.amsl.com (Postfix) with ESMTP id E64D511E8100 for <alto@ietf.org>; Thu, 16 May 2013 14:27:50 -0700 (PDT)
Received: from cpc4-cmbg17-2-0-cust814.5-4.cable.virginmedia.com ([86.14.227.47] helo=[192.168.0.2]) by mail11.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <ben@niven-jenkins.co.uk>) id 1Ud5iH-0008PC-1H; Thu, 16 May 2013 22:27:49 +0100
References: <CDB90C0E.598D3%w.roome@alcatel-lucent.com> <CA+cvDabyP-9pa4B7PY11xiSDUZKMo++ypFM+2Bjxv4UJpaL2pg@mail.gmail.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <CA+cvDabyP-9pa4B7PY11xiSDUZKMo++ypFM+2Bjxv4UJpaL2pg@mail.gmail.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-C41AEC57-352C-43F8-BFB5-39665D14EC9D
Content-Transfer-Encoding: 7bit
Message-Id: <6F873480-297A-479C-AC50-067EDE5DD249@niven-jenkins.co.uk>
X-Mailer: iPhone Mail (10B329)
From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Date: Thu, 16 May 2013 22:27:45 +0100
To: Richard Alimi <rich@velvetsea.net>
X-Mailcore-Auth: 9600544
X-Mailcore-Domain: 172912
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Should server use "Expires" HTTP header
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: Thu, 16 May 2013 21:28:00 -0000

--Apple-Mail-C41AEC57-352C-43F8-BFB5-39665D14EC9D
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

I don't think we should be as explicit as Wendy suggests because we're re-sp=
ecifying HTTP semantics (e.g what if the response contains Cache-Control: ma=
x-age less than the Expires header, etc).=20

However, it may be worth having a statement around expected polling frequenc=
y.=20

E.g. That Atom spec utilises HTTP caching by layering on HTTP but doesn't co=
ntain any mechanism to explicitly state a desired polling frequency and cont=
ains no statement recommending how to handle signalling such desire. There a=
re many questions on stackiverflow and the like asking how cliebts should be=
have. Best current practice is to only to poll as often as you would revalid=
ate the content (i.e. no more frequently than the instant the content become=
s stale according to RFC2616).=20

We could advise something similar explicitly. There would be nothing to stop=
 client polling more often if they needed but one would expect a server to a=
pply an appropriate caching lifetime to it's responses according to how freq=
uently it thinks they may change.=20

Thoughts?

Ben


On 15 May 2013, at 17:47, Richard Alimi <rich@velvetsea.net> wrote:

>=20
>=20
> On Wed, May 15, 2013 at 6:55 AM, Wendy Roome <w.roome@alcatel-lucent.com> w=
rote:
>> I don't think we've addressed the issue of how frequently a client should=

>> refresh cached data, such as the IRD, the network map, or the cost map.
>>=20
>> How about saying something like,
>>=20
>> "The ALTO Server SHOULD send an HTTP Expires header [RFC2616] in the
>> response, as well as a Date header, to indicate the expected lifetime of
>> the information. The client SHOULD refresh the data sometime after that.
>> Note that the Expires date is a guideline, not a contract; the ALTO serve=
r
>> may change the data at any time."
>>=20
>> I guess that should go in Section 8, but I'm not sure which subsection.
>=20
> We used to have statements like this (guiding how to use HTTP), except we r=
eceived feedback that its better to just leave this out of the ALTO spec.
>=20
> Rich
> =20
>>=20
>>         - Wendy Roome
>>=20
>>=20
>> _______________________________________________
>> alto mailing list
>> alto@ietf.org
>> https://www.ietf.org/mailman/listinfo/alto
>=20
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto

--Apple-Mail-C41AEC57-352C-43F8-BFB5-39665D14EC9D
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div>I don't think we should be as explicit=
 as Wendy suggests because we're re-specifying HTTP semantics (e.g what if t=
he response contains Cache-Control: max-age less than the Expires header, et=
c).&nbsp;</div><div><br></div><div>However, it may be worth having a stateme=
nt around expected polling frequency.&nbsp;</div><div><br></div><div>E.g. Th=
at Atom spec utilises HTTP caching by layering on HTTP but doesn't contain a=
ny mechanism to explicitly state a desired polling frequency and contains no=
 statement recommending how to handle signalling such desire. There are many=
 questions on stackiverflow and the like asking how cliebts should behave. B=
est current practice is to only to poll as often as you would revalidate the=
 content (i.e. no more frequently than the instant the content becomes stale=
 according to RFC2616).&nbsp;</div><div><br></div><div>We could advise somet=
hing similar explicitly. There would be nothing to stop client polling more o=
ften if they needed but one would expect a server to apply an appropriate ca=
ching lifetime to it's responses according to how frequently it thinks they m=
ay change.&nbsp;</div><div><br></div><div>Thoughts?</div><div><br></div><div=
>Ben</div><div><br></div><div><br>On 15 May 2013, at 17:47, Richard Alimi &l=
t;<a href=3D"mailto:rich@velvetsea.net">rich@velvetsea.net</a>&gt; wrote:<br=
><br></div><blockquote type=3D"cite"><div><div dir=3D"ltr"><div class=3D"gma=
il_extra"><br><br><div class=3D"gmail_quote">On Wed, May 15, 2013 at 6:55 AM=
, Wendy Roome <span dir=3D"ltr">&lt;<a href=3D"mailto:w.roome@alcatel-lucent=
.com" target=3D"_blank">w.roome@alcatel-lucent.com</a>&gt;</span> wrote:<br>=


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">I don't think we've addressed the issue of how=
 frequently a client should<br>
refresh cached data, such as the IRD, the network map, or the cost map.<br>
<br>
How about saying something like,<br>
<br>
"The ALTO Server SHOULD send an HTTP Expires header [RFC2616] in the<br>
response, as well as a Date header, to indicate the expected lifetime of<br>=

the information. The client SHOULD refresh the data sometime after that.<br>=

Note that the Expires date is a guideline, not a contract; the ALTO server<b=
r>
may change the data at any time."<br>
<br>
I guess that should go in Section 8, but I'm not sure which subsection.<br><=
/blockquote><div><br></div><div style=3D"">We used to have statements like t=
his (guiding how to use HTTP), except we received feedback that its better t=
o just leave this out of the ALTO spec.</div>

<div style=3D""><br></div><div style=3D"">Rich</div><div>&nbsp;</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">
<br>
&nbsp; &nbsp; &nbsp; &nbsp; - Wendy Roome<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">htt=
ps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div></div>
</div></blockquote><blockquote type=3D"cite"><div><span>____________________=
___________________________</span><br><span>alto mailing list</span><br><spa=
n><a href=3D"mailto:alto@ietf.org">alto@ietf.org</a></span><br><span><a href=
=3D"https://www.ietf.org/mailman/listinfo/alto">https://www.ietf.org/mailman=
/listinfo/alto</a></span><br></div></blockquote></body></html>=

--Apple-Mail-C41AEC57-352C-43F8-BFB5-39665D14EC9D--

From w.roome@alcatel-lucent.com  Fri May 17 06:19:25 2013
Return-Path: <w.roome@alcatel-lucent.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 0640F21F9452 for <alto@ietfa.amsl.com>; Fri, 17 May 2013 06:19:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.878
X-Spam-Level: 
X-Spam-Status: No, score=-9.878 tagged_above=-999 required=5 tests=[AWL=0.721,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 JbrxP9Dvua3H for <alto@ietfa.amsl.com>; Fri, 17 May 2013 06:19:18 -0700 (PDT)
Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by ietfa.amsl.com (Postfix) with ESMTP id 73BA221F944F for <alto@ietf.org>; Fri, 17 May 2013 06:19:18 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id r4HDJHle002981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Fri, 17 May 2013 08:19:17 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r4HDJGxx018925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Fri, 17 May 2013 08:19:17 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r4HDJEqa002189 for <alto@ietf.org>; Fri, 17 May 2013 08:19:16 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.4.130416
Date: Fri, 17 May 2013 09:19:40 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: <alto@ietf.org>
Message-ID: <CDBBA12C.5A43A%w.roome@alcatel-lucent.com>
Thread-Topic: Equivalence of various identifiers from an ALTO  Server
In-Reply-To: <mailman.738.1368739131.3552.alto@ietf.org>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.10
Subject: Re: [alto] Equivalence of various identifiers from an ALTO  Server
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: Fri, 17 May 2013 13:19:25 -0000

I'd make an even stronger statement: a client MUST NOT compare ordinal
costs between different response messages, even from the same service. A
client MAY compare one ordinal value against another ordinal in the same
response, but that's all.

For example, suppose a client fetches a full ordinal cost map twice in
close succession. The ordinal values in the second response may be
completely different from those in the first response, even if there was
no change in underlying network performance.

Put it another way: When a client requests an ordinal cost mode, the ALTO
Server MAY apply a non-linear order-preserving transformation to the
underlying numerical costs, and that transform MAY vary from request to
request.

IHMO, I thought the reason for defining ordinal costs was to allow an ALTO
server to obfuscate the underlying numerical costs. So if the server was
really paranoid, and will to expend the cycles, it might very well use a
different obfuscation algorithm for each request.

	- Wendy Roome


>Date: Thu, 16 May 2013 21:51:30 +0100
>From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
>Subject: Re: [alto] Equivalence of various identifiers from an ALTO
>	Server
>
>(BTW I'm not sure you can compare a filtered costmap against a full cost
>map if the costs are ordinal)
>
>Ben



From w.roome@alcatel-lucent.com  Fri May 17 06:49:38 2013
Return-Path: <w.roome@alcatel-lucent.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 33B6E21F9239 for <alto@ietfa.amsl.com>; Fri, 17 May 2013 06:49:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.419
X-Spam-Level: 
X-Spam-Status: No, score=-9.419 tagged_above=-999 required=5 tests=[AWL=-0.218, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
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 R0iB8br9hPhW for <alto@ietfa.amsl.com>; Fri, 17 May 2013 06:49:27 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id 56D8421F91B7 for <alto@ietf.org>; Fri, 17 May 2013 06:49:27 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r4HDnP25000811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 17 May 2013 08:49:26 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r4HDnPjW023701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 17 May 2013 08:49:25 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r4HDnK7Z022047; Fri, 17 May 2013 08:49:22 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.4.130416
Date: Fri, 17 May 2013 09:49:46 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>, Richard Alimi <rich@velvetsea.net>
Message-ID: <CDBBA985.5A7E4%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Should server use "Expires" HTTP header
In-Reply-To: <6F873480-297A-479C-AC50-067EDE5DD249@niven-jenkins.co.uk>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3451628990_64411167"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.10
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Should server use "Expires" HTTP header
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: Fri, 17 May 2013 13:49:38 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3451628990_64411167
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

I assume you're referring to {13.2} of RFC 2616. That section strikes me as
"a royal kludge." (Privately I'd apply a much stronger adjective, but I'm
too much of a lady to use such language in public.)

The problem is that HTTP defines multiple ways to declare expiration times
-- Expires header, cache directives, etc. Those mechanisms have evolved over
time, and not all servers use them consistently. So I think {13.2} is mostly
about how to cope with legacy HTTP servers and missing or inconsistent
information.

Since we're starting fresh, why not just say that if an ALTO server wants to
indicate a polling interval, it SHOULD set the Expires and the Date headers,
and the client SHOULD use the difference as the approximate polling
interval?

- Wendy Roome

From:  Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Date:  Thu, May 16, 2013 17:27
Subject:  Re: [alto] Should server use "Expires" HTTP header

Best current practice is to only to poll as often as you would revalidate
the content (i.e. no more frequently than the instant the content becomes
stale according to RFC2616). 


--B_3451628990_64411167
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>I assume you're referring to=
 {13.2} of RFC 2616. That section strikes me as "a royal kludge." (Privately=
 I'd apply a much stronger adjective, but I'm too much of a lady to use such=
 language in public.)</div><div><br></div><div>The problem is that HTTP defi=
nes multiple ways to declare expiration times -- Expires header, cache direc=
tives, etc. Those mechanisms have evolved over time, and not all servers use=
 them consistently. So I think {13.2} is mostly about how to cope with legac=
y HTTP servers and missing or inconsistent information.</div><div><br></div>=
<div>Since we're starting fresh, why not just say that if an ALTO server wan=
ts to indicate a polling interval, it SHOULD set the Expires and the Date he=
aders, and the client SHOULD use the difference as the approximate polling i=
nterval?</div><div><br></div><div><span class=3D"Apple-tab-span" style=3D"white-=
space:pre">	</span>- Wendy Roome</div><div><br></div><span id=3D"OLK_SRC_BODY_=
SECTION"><div style=3D"font-family:Calibri; font-size:11pt; text-align:left; c=
olor:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BO=
TTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt so=
lid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D"font-weight:b=
old">From: </span> Ben Niven-Jenkins &lt;<a href=3D"mailto:ben@niven-jenkins.c=
o.uk">ben@niven-jenkins.co.uk</a>&gt;<br><span style=3D"font-weight:bold">Date=
: </span> Thu, May 16, 2013 17:27<b><br></b><span style=3D"font-weight:bold">S=
ubject: </span> Re: [alto] Should server use "Expires" HTTP header<br></div>=
<div><br></div><span class=3D"Apple-style-span" style=3D"border-collapse: separa=
te; color: rgb(0, 0, 0); font-family: Calibri; font-style: normal; font-vari=
ant: normal; font-weight: normal; letter-spacing: normal; line-height: norma=
l; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: n=
one; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horiz=
ontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decor=
ations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-=
width: 0px; font-size: medium; ">Best current practice is to only to poll as=
 often as you would revalidate the content (i.e. no more frequently than the=
 instant the content becomes stale according to RFC2616).&nbsp;</span></span=
></body></html>

--B_3451628990_64411167--



From nweaver@icsi.berkeley.edu  Fri May 17 06:52:08 2013
Return-Path: <nweaver@icsi.berkeley.edu>
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 AC0D621F944A for <alto@ietfa.amsl.com>; Fri, 17 May 2013 06:52:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 uaXAGfSenrhv for <alto@ietfa.amsl.com>; Fri, 17 May 2013 06:52:02 -0700 (PDT)
Received: from rock.ICSI.Berkeley.EDU (rock.ICSI.Berkeley.EDU [192.150.186.19]) by ietfa.amsl.com (Postfix) with ESMTP id E79A821F93E8 for <alto@ietf.org>; Fri, 17 May 2013 06:52:02 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by rock.ICSI.Berkeley.EDU (Postfix) with ESMTP id C0F562C400B; Fri, 17 May 2013 06:52:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ICSI.Berkeley.EDU
Received: from rock.ICSI.Berkeley.EDU ([127.0.0.1]) by localhost (maihub.ICSI.Berkeley.EDU [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6Mzji3qf8WFy; Fri, 17 May 2013 06:52:00 -0700 (PDT)
Received: from gala.icir.org (gala [192.150.187.49]) (Authenticated sender: nweaver) by rock.ICSI.Berkeley.EDU (Postfix) with ESMTP id 370E12C4009; Fri, 17 May 2013 06:52:00 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
From: Nicholas Weaver <nweaver@icsi.berkeley.edu>
In-Reply-To: <CDBBA985.5A7E4%w.roome@alcatel-lucent.com>
Date: Fri, 17 May 2013 06:52:00 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <57F01A65-5507-4DE2-A697-C538E1C74B9B@icsi.berkeley.edu>
References: <CDBBA985.5A7E4%w.roome@alcatel-lucent.com>
To: Wendy Roome <w.roome@alcatel-lucent.com>
X-Mailer: Apple Mail (2.1503)
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Should server use "Expires" HTTP header
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: Fri, 17 May 2013 13:52:08 -0000

On May 17, 2013, at 6:49 AM, Wendy Roome <w.roome@alcatel-lucent.com> =
wrote:

> I assume you're referring to {13.2} of RFC 2616. That section strikes =
me as "a royal kludge." (Privately I'd apply a much stronger adjective, =
but I'm too much of a lady to use such language in public.)
>=20
> The problem is that HTTP defines multiple ways to declare expiration =
times -- Expires header, cache directives, etc. Those mechanisms have =
evolved over time, and not all servers use them consistently. So I think =
{13.2} is mostly about how to cope with legacy HTTP servers and missing =
or inconsistent information.
>=20
> Since we're starting fresh, why not just say that if an ALTO server =
wants to indicate a polling interval, it SHOULD set the Expires and the =
Date headers, and the client SHOULD use the difference as the =
approximate polling interval?

My suggestion: Give up on cache headers.

Rather, all fetches should use a CACHE-busting NONCE (if you are behind =
an in-path web cache, there is a ~50% chance the cache is busted and =
will provide stale data, EVEN IF the server's headers say "don't cache =
this at all"), and any signaling to the client about what rate it should =
poll should be explicit in the protocol for the Alto data, not implicit =
using HTTP headers.


From ben@niven-jenkins.co.uk  Fri May 17 08:14:03 2013
Return-Path: <ben@niven-jenkins.co.uk>
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 0033421F90D2 for <alto@ietfa.amsl.com>; Fri, 17 May 2013 08:14:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.242
X-Spam-Level: 
X-Spam-Status: No, score=-102.242 tagged_above=-999 required=5 tests=[AWL=0.357, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 UW3rCPfKMbPp for <alto@ietfa.amsl.com>; Fri, 17 May 2013 08:13:57 -0700 (PDT)
Received: from mailex.mailcore.me (mailex.mailcore.me [94.136.40.61]) by ietfa.amsl.com (Postfix) with ESMTP id 2F1F921F9239 for <alto@ietf.org>; Fri, 17 May 2013 08:13:49 -0700 (PDT)
Received: from cpc4-cmbg17-2-0-cust814.5-4.cable.virginmedia.com ([86.14.227.47] helo=[192.168.0.4]) by mail10.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <ben@niven-jenkins.co.uk>) id 1UdMLs-0000DT-Qf; Fri, 17 May 2013 16:13:49 +0100
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=us-ascii
From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
In-Reply-To: <CDBBA985.5A7E4%w.roome@alcatel-lucent.com>
Date: Fri, 17 May 2013 16:13:45 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <8FE5B848-109A-40E9-AF96-03920B873596@niven-jenkins.co.uk>
References: <CDBBA985.5A7E4%w.roome@alcatel-lucent.com>
To: Wendy Roome <w.roome@alcatel-lucent.com>
X-Mailer: Apple Mail (2.1085)
X-Mailcore-Auth: 9600544
X-Mailcore-Domain: 172912
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Should server use "Expires" HTTP header
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: Fri, 17 May 2013 15:14:03 -0000

On 17 May 2013, at 14:49, Wendy Roome wrote:

> I assume you're referring to {13.2} of RFC 2616. That section strikes =
me as "a royal kludge." (Privately I'd apply a much stronger adjective, =
but I'm too much of a lady to use such language in public.)
>=20
> The problem is that HTTP defines multiple ways to declare expiration =
times -- Expires header, cache directives, etc. Those mechanisms have =
evolved over time, and not all servers use them consistently. So I think =
{13.2} is mostly about how to cope with legacy HTTP servers and missing =
or inconsistent information.
>=20
> Since we're starting fresh, why not just say that if an ALTO server =
wants to indicate a polling interval, it SHOULD set the Expires and the =
Date headers, and the client SHOULD use the difference as the =
approximate polling interval?

That's basically what I was suggesting except rather than being specific =
about what the server must use, leave it to the client to determine =
based on how the client calculates freshness (as the client is likely in =
the best position to know what rate it might want to poll at as it know =
how up-to-date with any changes it might want to be).

If we're going to pick one mechnaism I;d prefer we pick Cache-Control: =
max-age myself rather than Date/Expires (as max-age takes priority over =
Expires according to RFC2616).

Ben

>=20
> 	- Wendy Roome
>=20
> From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
> Date: Thu, May 16, 2013 17:27
> Subject: Re: [alto] Should server use "Expires" HTTP header
>=20
> Best current practice is to only to poll as often as you would =
revalidate the content (i.e. no more frequently than the instant the =
content becomes stale according to RFC2616).=20


From ben@niven-jenkins.co.uk  Fri May 17 08:16:04 2013
Return-Path: <ben@niven-jenkins.co.uk>
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 AF94721F9679 for <alto@ietfa.amsl.com>; Fri, 17 May 2013 08:16:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.293
X-Spam-Level: 
X-Spam-Status: No, score=-102.293 tagged_above=-999 required=5 tests=[AWL=0.306, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 PxrRCgzUp5ga for <alto@ietfa.amsl.com>; Fri, 17 May 2013 08:15:58 -0700 (PDT)
Received: from mailex.mailcore.me (mailex.mailcore.me [94.136.40.61]) by ietfa.amsl.com (Postfix) with ESMTP id A271E21F9680 for <alto@ietf.org>; Fri, 17 May 2013 08:15:54 -0700 (PDT)
Received: from cpc4-cmbg17-2-0-cust814.5-4.cable.virginmedia.com ([86.14.227.47] helo=[192.168.0.4]) by mail11.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <ben@niven-jenkins.co.uk>) id 1UdMNq-0007kN-Fv; Fri, 17 May 2013 16:15:50 +0100
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=us-ascii
From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
In-Reply-To: <57F01A65-5507-4DE2-A697-C538E1C74B9B@icsi.berkeley.edu>
Date: Fri, 17 May 2013 16:15:48 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <13487EE3-F498-4030-9AD4-27F9D550B734@niven-jenkins.co.uk>
References: <CDBBA985.5A7E4%w.roome@alcatel-lucent.com> <57F01A65-5507-4DE2-A697-C538E1C74B9B@icsi.berkeley.edu>
To: Nicholas Weaver <nweaver@icsi.berkeley.edu>
X-Mailer: Apple Mail (2.1085)
X-Mailcore-Auth: 9600544
X-Mailcore-Domain: 172912
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Should server use "Expires" HTTP header
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: Fri, 17 May 2013 15:16:04 -0000

On 17 May 2013, at 14:52, Nicholas Weaver wrote:

>=20
> On May 17, 2013, at 6:49 AM, Wendy Roome <w.roome@alcatel-lucent.com> =
wrote:
>=20
>> I assume you're referring to {13.2} of RFC 2616. That section strikes =
me as "a royal kludge." (Privately I'd apply a much stronger adjective, =
but I'm too much of a lady to use such language in public.)
>>=20
>> The problem is that HTTP defines multiple ways to declare expiration =
times -- Expires header, cache directives, etc. Those mechanisms have =
evolved over time, and not all servers use them consistently. So I think =
{13.2} is mostly about how to cope with legacy HTTP servers and missing =
or inconsistent information.
>>=20
>> Since we're starting fresh, why not just say that if an ALTO server =
wants to indicate a polling interval, it SHOULD set the Expires and the =
Date headers, and the client SHOULD use the difference as the =
approximate polling interval?
>=20
> My suggestion: Give up on cache headers.
>=20
> Rather, all fetches should use a CACHE-busting NONCE (if you are =
behind an in-path web cache, there is a ~50% chance the cache is busted =
and will provide stale data, EVEN IF the server's headers say "don't =
cache this at all"), and any signaling to the client about what rate it =
should poll should be explicit in the protocol for the Alto data, not =
implicit using HTTP headers.

Nice Troll!

So when I want to poll at a reasonably frequent rate to catch changes =
relatively quickly, I have to download the whole map each time or we =
have to re-invent HTTP's revalidation at the ALTO layer.

(I don't care about in-path web caches as my use case doesn't involve =
the ALTO client being in a subscribers home/PC/whatever)

Ben



From yang.r.yang@gmail.com  Fri May 17 10:57:47 2013
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 07FB321F966C for <alto@ietfa.amsl.com>; Fri, 17 May 2013 10:57:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 M9Ju5rAtwphG for <alto@ietfa.amsl.com>; Fri, 17 May 2013 10:57:46 -0700 (PDT)
Received: from mail-da0-x232.google.com (mail-da0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) by ietfa.amsl.com (Postfix) with ESMTP id 0EA2B21F9664 for <alto@ietf.org>; Fri, 17 May 2013 10:57:46 -0700 (PDT)
Received: by mail-da0-f50.google.com with SMTP id i23so1610178dad.23 for <alto@ietf.org>; Fri, 17 May 2013 10:57:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=sibumooQ7UJiE/lzzxdgGst01+4zkNburIH9z1UMz7g=; b=GOdfqqR21GmGAKR8mGwfoOdapmfzwrWlraO28FlLtiDJVeiWns6BGlE9vasWp3Jpv/ j9EAvbZP6mW9unr4DNSG4K0LisPQ7rYipO1/sZPV7aaaaI2ECSZoFPewvfMC0I1ENdxR lql7L79waOic783NvqTRW7Hg3zoMgXTens80TsHWqURRs/Tym1EIVi2BPZBGvWApXGdR aNlUZNu9EKv0rYoAXwCjUfRKxjFvujvnKW3aTorcRHDMutAET44olnXncam9PB/Kv1Uw lqb7cKm7acVL2Od5hQ2CNEcD9Ti3niwqX7yZXgN346hMUR51xTKn6+a/YbaALpSg1Wn3 2LJA==
MIME-Version: 1.0
X-Received: by 10.68.42.134 with SMTP id o6mr16877422pbl.149.1368813465768; Fri, 17 May 2013 10:57:45 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.27.233 with HTTP; Fri, 17 May 2013 10:57:45 -0700 (PDT)
In-Reply-To: <396349F7-52D4-4FD9-80CB-7ABBDF20BC6C@niven-jenkins.co.uk>
References: <CA+cvDaaxh=gNVHTdxfHL6XGy+hW41N+0gi+itg6WLYeS4y89wg@mail.gmail.com> <9509DCE6-6619-4FD0-92EF-0CC9DEF470FA@niven-jenkins.co.uk> <CA+cvDaYWaYubJTUAG9eibXjpvzRc=JS0E53TbDV3yYYbp=3AcA@mail.gmail.com> <CANUuoLq6SAO2WKR+DO-190jxjzbae5bpSgpMK23Xea5M5gbVMQ@mail.gmail.com> <396349F7-52D4-4FD9-80CB-7ABBDF20BC6C@niven-jenkins.co.uk>
Date: Fri, 17 May 2013 13:57:45 -0400
X-Google-Sender-Auth: oWgjkoOPciXicdc8_Z5iGQXetSo
Message-ID: <CANUuoLqPK2Gne0kprf+imHCq9f+RpgxOsO4o6baU4XiBRRDfiA@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Content-Type: multipart/alternative; boundary=bcaec5430f28641c9304dcedb858
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Number of media types per resource
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: Fri, 17 May 2013 17:57:47 -0000

--bcaec5430f28641c9304dcedb858
Content-Type: text/plain; charset=ISO-8859-1

Thanks, Ben! We will proceed for this then.

Richard


On Thu, May 16, 2013 at 5:18 PM, Ben Niven-Jenkins
<ben@niven-jenkins.co.uk>wrote:

> Works for me. Ben
>
> On 15 May 2013, at 21:40, "Y. Richard Yang" <yry@cs.yale.edu> wrote:
>
>
>
> On Wed, May 15, 2013 at 12:49 PM, Richard Alimi <rich@velvetsea.net>wrote:
>
>> On Tue, May 14, 2013 at 12:29 PM, Ben Niven-Jenkins <
>> ben@niven-jenkins.co.uk> wrote:
>>
>>> I support the change.
>>>
>>> One thing that might be worth making clear is that the client MUST NOT
>>> assume that the media type returned by the ALTO server is the media type
>>> advertised in the IRD (i.e. the client must still check the Content-Type
>>> header). The expectation is the media type returned should normally be the
>>> media type advertised but in some cases it may legitimately not match (e.g.
>>> ALTO error).
>>>
>>
> Thanks Ben. Personally, I found this perspective of HTTP confusing. HTTP (
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1) also
> specified:
>
> "Any HTTP/1.1 message containing an entity-body SHOULD include a
> Content-Type header field defining the media type of that body. If and only
> if the media type is not given by a Content-Type field, the recipient MAY
> attempt to guess the media type via inspection of its content and/or the
> name extension(s) of the URI used to identify the resource. If the media
> type remains unknown, the recipient SHOULD treat it as type
> "application/octet-stream"."
>
> One possibility of exact wording can be:
>
> "An ALTO Client MUST NOT assume that the media type returned by the ALTO
> Server for a request to a URI is the media type advertised in the IRD or
> specified in its request (i.e., the client must still check the
> Content-Type header). The expectation is the media type returned should
> normally be the media type advertised and requested but in some cases it
> may legitimately not be so (e.g., ALTO error)."
>
> Note that the preceding wording does not include the guessing part, which
> I think is too much.
>
> What do you think?
>
> Richard
>
>>
>> Thanks Sabine and Ben for the feedback.
>>
>> Ben - we'll be sure to make this clear in the draft.
>>
>> Thanks,
>> Rich
>>
>>
>>>
>>> Ben
>>>
>>> On 14 May 2013, at 17:24, Richard Alimi wrote:
>>>
>>> > When we started specifying the format of the Information Resource
>>> Directory (IRD), one concern was the overall size.  As such, we designed
>>> mechanisms to allowed a single entry in the IRD to specify that it could
>>> handle multiple media types (both in the request  and could provide
>>> multiple media types).  Based on some recent (off-list) discussions with
>>> Wendy, this may be less of a concern and we may want to go for simplicity.
>>> >
>>> > Here's an example of one entry we have now:
>>> >
>>> >        {
>>> >          "uri" : "
>>> > http://custom.alto.example.com/maps
>>> > ",
>>> >          "media-types" : [
>>> >            "application/alto-networkmap+json",
>>> >            "application/alto-costmap+json"
>>> >          ],
>>> >          "accepts" : [
>>> >            "application/alto-networkmapfilter+json",
>>> >            "application/alto-costmapfilter+json"
>>> >          ]
>>> >        }
>>> >
>>> >
>>> > The proposal is to have each entry declare exactly one media-type for
>>> the response, and either 0 or 1 media types for the request (e.g., the
>>> unfiltered cost map doesn't need anything in the request - it's a simple
>>> GET).
>>> >
>>> > Here's what the corresponding entry from above would look like:
>>> >
>>> >
>>> >        {
>>> >          "uri" : "
>>> > http://custom.alto.example.com/maps
>>> > ",
>>> >          "media-type" : "application/alto-networkmap+json",
>>> >          "accepts" : "application/alto-networkmapfilter+json",
>>> >        },
>>> >  {
>>> >          "uri" : "http://custom.alto.example.com/maps
>>> > ",
>>> >          "media-types" : "application/alto-costmap+json",
>>> >          "accepts" : "application/alto-costmapfilter+json",
>>> >        }
>>> >
>>> >
>>> >
>>> > The editors think this is a reasonable change to make.  Comments are
>>> very welcome.
>>> >
>>> >
>>> >
>>> >
>>> > Since we are on a tight schedule here, if we don't hear anything
>>> within the next week (by May 21st), we will make the corresponding changes
>>> to the draft.
>>> >
>>> > Thanks!
>>> > Rich
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > alto mailing list
>>> > alto@ietf.org
>>> > https://www.ietf.org/mailman/listinfo/alto
>>>
>>>
>>
>> _______________________________________________
>> alto mailing list
>> alto@ietf.org
>> https://www.ietf.org/mailman/listinfo/alto
>>
>>
>

--bcaec5430f28641c9304dcedb858
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks, Ben! We will proceed for this then.<div><br></div>=
<div>Richard<br><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quot=
e">On Thu, May 16, 2013 at 5:18 PM, Ben Niven-Jenkins <span dir=3D"ltr">&lt=
;<a href=3D"mailto:ben@niven-jenkins.co.uk" target=3D"_blank">ben@niven-jen=
kins.co.uk</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"auto"><div>Works for me. Ben</di=
v><div><div class=3D"h5"><div><br>On 15 May 2013, at 21:40, &quot;Y. Richar=
d Yang&quot; &lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@c=
s.yale.edu</a>&gt; wrote:<br>
<br></div><blockquote type=3D"cite"><div><div dir=3D"ltr"><br><div class=3D=
"gmail_extra"><br><div class=3D"gmail_quote">On Wed, May 15, 2013 at 12:49 =
PM, Richard Alimi <span dir=3D"ltr">&lt;<a href=3D"mailto:rich@velvetsea.ne=
t" target=3D"_blank">rich@velvetsea.net</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div dir=3D"ltr"><div>On Tue, May 14, 2013 at 12:29 PM, Be=
n Niven-Jenkins <span dir=3D"ltr">&lt;<a href=3D"mailto:ben@niven-jenkins.c=
o.uk" target=3D"_blank">ben@niven-jenkins.co.uk</a>&gt;</span> wrote:<br>

</div><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div>

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">I support the change.<br>
<br>
One thing that might be worth making clear is that the client MUST NOT assu=
me that the media type returned by the ALTO server is the media type advert=
ised in the IRD (i.e. the client must still check the Content-Type header).=
 The expectation is the media type returned should normally be the media ty=
pe advertised but in some cases it may legitimately not match (e.g. ALTO er=
ror).<br>

</blockquote></div></div></div></div></blockquote><div><br></div><div>Thank=
s Ben. Personally, I found this perspective of HTTP confusing. HTTP (<a hre=
f=3D"http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1" target=
=3D"_blank">http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1<=
/a>) also specified:<br>

<br></div><div>&quot;Any HTTP/1.1 message containing an entity-body SHOULD =
include a Content-Type header field defining the media type of that body. I=
f and only if the media type is not given by a Content-Type field, the reci=
pient MAY attempt to guess the media type via inspection of its content and=
/or the name extension(s) of the URI used to identify the resource. If the =
media type remains unknown, the recipient SHOULD treat it as type &quot;app=
lication/octet-stream&quot;.&quot;</div>

<div><br></div><div>One possibility of exact wording can be:</div><div><br>=
&quot;An ALTO Client MUST NOT assume that the media type returned by the AL=
TO Server for a request to a URI is the media type advertised in the IRD or=
 specified in its request (i.e., the client must still check the Content-Ty=
pe header). The expectation is the media type returned should normally be t=
he media type advertised and requested but in some cases it may legitimatel=
y not be so (e.g., ALTO error).&quot;</div>

<div><br></div><div>Note that the preceding wording does not include the gu=
essing part, which I think is too much.</div><div><br></div><div>What do yo=
u think?</div><div><br></div><div>Richard=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"=
gmail_quote">

<div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:so=
lid;padding-left:1ex">

</blockquote><div><br></div></div><div>Thanks Sabine and Ben for the feedba=
ck.</div><div><br></div><div>Ben - we&#39;ll be sure to make this clear in =
the draft.</div><div><br></div><div>Thanks,</div>

<div>Rich</div><div><div><div>=A0</div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb=
(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Ben<br>
<div><div><br>
On 14 May 2013, at 17:24, Richard Alimi wrote:<br>
<br>
&gt; When we started specifying the format of the Information Resource Dire=
ctory (IRD), one concern was the overall size. =A0As such, we designed mech=
anisms to allowed a single entry in the IRD to specify that it could handle=
 multiple media types (both in the request =A0and could provide multiple me=
dia types). =A0Based on some recent (off-list) discussions with Wendy, this=
 may be less of a concern and we may want to go for simplicity.<br>




&gt;<br>
&gt; Here&#39;s an example of one entry we have now:<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0{<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;uri&quot; : &quot;<br>
&gt; <a href=3D"http://custom.alto.example.com/maps" target=3D"_blank">http=
://custom.alto.example.com/maps</a><br>
&gt; &quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;media-types&quot; : [<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-networkmap+json&quot;,<b=
r>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-costmap+json&quot;<br>
&gt; =A0 =A0 =A0 =A0 =A0],<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;accepts&quot; : [<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-networkmapfilter+json&qu=
ot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0&quot;application/alto-costmapfilter+json&quot;=
<br>
&gt; =A0 =A0 =A0 =A0 =A0]<br>
&gt; =A0 =A0 =A0 =A0}<br>
&gt;<br>
&gt;<br>
&gt; The proposal is to have each entry declare exactly one media-type for =
the response, and either 0 or 1 media types for the request (e.g., the unfi=
ltered cost map doesn&#39;t need anything in the request - it&#39;s a simpl=
e GET).<br>




&gt;<br>
&gt; Here&#39;s what the corresponding entry from above would look like:<br=
>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0{<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;uri&quot; : &quot;<br>
&gt; <a href=3D"http://custom.alto.example.com/maps" target=3D"_blank">http=
://custom.alto.example.com/maps</a><br>
&gt; &quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;media-type&quot; : &quot;application/alto-net=
workmap+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;accepts&quot; : &quot;application/alto-networ=
kmapfilter+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0},<br>
&gt; =A0{<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;uri&quot; : &quot;<a href=3D"http://custom.al=
to.example.com/maps" target=3D"_blank">http://custom.alto.example.com/maps<=
/a><br>
&gt; &quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;media-types&quot; : &quot;application/alto-co=
stmap+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0 =A0&quot;accepts&quot; : &quot;application/alto-costma=
pfilter+json&quot;,<br>
&gt; =A0 =A0 =A0 =A0}<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; The editors think this is a reasonable change to make. =A0Comments are=
 very welcome.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Since we are on a tight schedule here, if we don&#39;t hear anything w=
ithin the next week (by May 21st), we will make the corresponding changes t=
o the draft.<br>
&gt;<br>
&gt; Thanks!<br>
&gt; Rich<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; alto mailing list<br>
&gt; <a href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a><b=
r>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blan=
k">https://www.ietf.org/mailman/listinfo/alto</a><br>
<br>
</blockquote></div></div></div><br></div></div>
<br>_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br></div></div>
</div></blockquote></div></div></div></blockquote></div><br></div></div></d=
iv>

--bcaec5430f28641c9304dcedb858--

From yang.r.yang@gmail.com  Fri May 17 12:42:42 2013
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 BC67321F971A for <alto@ietfa.amsl.com>; Fri, 17 May 2013 12:42:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.827
X-Spam-Level: 
X-Spam-Status: No, score=-0.827 tagged_above=-999 required=5 tests=[AWL=-1.150, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MANGLED_SIDE=2.3, NO_RELAYS=-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 mkdpNm5+MfQt for <alto@ietfa.amsl.com>; Fri, 17 May 2013 12:42:42 -0700 (PDT)
Received: from mail-da0-x229.google.com (mail-da0-x229.google.com [IPv6:2607:f8b0:400e:c00::229]) by ietfa.amsl.com (Postfix) with ESMTP id 21F6021F9715 for <alto@ietf.org>; Fri, 17 May 2013 12:42:42 -0700 (PDT)
Received: by mail-da0-f41.google.com with SMTP id y19so400947dan.28 for <alto@ietf.org>; Fri, 17 May 2013 12:42:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=7qQTfS07kFGryDNy2Vn2KRcsu3eTOZX0MMOW5eR2IbI=; b=Jmv2dNC6D22GpVicR8MZGcFr9n5hvWQkzK1anEPkFeGxsqsGFPuOSSGJcP89yTVYta /h8CFtOrwoLiSqlmFX3LVq3gGJNxdUH70+BlxYK3ggq5AdKpZ3EoPNusX8wSM/50Sbp/ YmSvn04WLfCA9clKho35hRTuSxNlgM56RomYXw7JyxJYf7IBt7p1Akj1JNySAKy2mHSI 95vlp0CtRW5/d56gdOvgJxfQJrNI3qu8b26b0NyBf0FSTbQiPZxXjKWSEy0ykHvh2hiO S2AnLBM17thS+HtpT6/FEeqwK8hrRRPZDYtf7muKnOaopUN7prNnoqfp0Gk+pAyEDOjB Lt/A==
MIME-Version: 1.0
X-Received: by 10.66.119.49 with SMTP id kr17mr17229330pab.149.1368819761790;  Fri, 17 May 2013 12:42:41 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.27.233 with HTTP; Fri, 17 May 2013 12:42:41 -0700 (PDT)
In-Reply-To: <CDBBA12C.5A43A%w.roome@alcatel-lucent.com>
References: <mailman.738.1368739131.3552.alto@ietf.org> <CDBBA12C.5A43A%w.roome@alcatel-lucent.com>
Date: Fri, 17 May 2013 15:42:41 -0400
X-Google-Sender-Auth: K3Nf4lUYGD2drsonBfyMCV1iKGA
Message-ID: <CANUuoLpyxF06_RpkJKxVy60eMSKxsrXuYKvkY3jh=p_WYVUyBA@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b072258a9c71304dcef2f67
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Equivalence of various identifiers from an ALTO Server
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: Fri, 17 May 2013 19:42:42 -0000

--047d7b072258a9c71304dcef2f67
Content-Type: text/plain; charset=ISO-8859-1

On Fri, May 17, 2013 at 9:19 AM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> I'd make an even stronger statement: a client MUST NOT compare ordinal
> costs between different response messages, even from the same service.


This allows better better concurrency and should be clarified.


> A
> client MAY compare one ordinal value against another ordinal in the same
> response, but that's all.


Why add a MAY? The current wording (Sec. 6.2) is "If the Cost Mode is
'ordinal', the Path Cost of each communicating pair is relative to the m*n
entries."  In other words, a response returns m*n entries, where each entry
is a number (ranking). The current spec does not specify that the m*n
numbers are distinct, and hence the response may contain entries with the
same value. Consider an example of two two sources (S1, S2) and three
destinations (D1, D2, D3), and a response as the following:

S1 -> D1: 1
S1 -> D2: 2
S1 -> D3: 2
S2 -> D1: 1
S2 -> D2: 2
S2 -> D3: 3

The interpretation is (~ means equivalent):
S1 -> D1 ~ S2 -> D1
<
S1 -> D2 ~ S1 -> D3 ~ S2 -> D2
<
S2 -> D3

In other words, it defines a partial ordering. Is this what you are
referring to in terms of MAY?

Richard


> For example, suppose a client fetches a full ordinal cost map twice in
> close succession. The ordinal values in the second response may be
> completely different from those in the first response, even if there was
> no change in underlying network performance.
>
> Put it another way: When a client requests an ordinal cost mode, the ALTO
> Server MAY apply a non-linear order-preserving transformation to the
> underlying numerical costs, and that transform MAY vary from request to
> request.
>
> IHMO, I thought the reason for defining ordinal costs was to allow an ALTO
> server to obfuscate the underlying numerical costs. So if the server was
> really paranoid, and will to expend the cycles, it might very well use a
> different obfuscation algorithm for each request.
>
>         - Wendy Roome
>
>
> >Date: Thu, 16 May 2013 21:51:30 +0100
> >From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
> >Subject: Re: [alto] Equivalence of various identifiers from an ALTO
> >       Server
> >
> >(BTW I'm not sure you can compare a filtered costmap against a full cost
> >map if the costs are ordinal)
> >
> >Ben
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>

--047d7b072258a9c71304dcef2f67
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Fri, May 17, 2013 at 9:19 AM, Wendy Roome <span dir=3D"ltr">&lt;<a href=
=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lu=
cent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">I&#39;d make an even stronger statement: a client MUST NOT=
 compare ordinal<br>

costs between different response messages, even from the same service.</blo=
ckquote><div><br></div><div style>This allows better better concurrency and=
 should be clarified.=A0</div><div style>=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef=
t-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
 A<br>
client MAY compare one ordinal value against another ordinal in the same<br=
>
response, but that&#39;s all.=A0</blockquote><div><br></div><div style>Why =
add a MAY? The current wording (Sec. 6.2) is &quot;If the Cost Mode is &#39=
;ordinal&#39;, the Path Cost of each communicating pair is relative to the =
m*n entries.&quot; =A0In other words, a response returns m*n entries, where=
 each entry is a number (ranking). The current spec does not specify that t=
he m*n numbers are distinct, and hence the response may contain entries wit=
h the same value. Consider an example of two two sources (S1, S2) and three=
 destinations (D1, D2, D3), and a response as the following:</div>
<div style><br></div><div style>S1 -&gt; D1: 1</div><div style>S1 -&gt; D2:=
 2</div><div style>S1 -&gt; D3: 2</div><div style>S2 -&gt; D1: 1</div><div =
style>S2 -&gt; D2: 2</div><div style>S2 -&gt; D3: 3</div><div style><br>
</div><div style>The interpretation is (~ means equivalent):</div><div styl=
e>S1 -&gt; D1 ~ S2 -&gt; D1=A0</div><div style>&lt;=A0</div><div style>S1 -=
&gt; D2 ~ S1 -&gt; D3 ~ S2 -&gt; D2</div><div style>&lt;</div><div style>S2=
 -&gt; D3=A0</div>
<div style>=A0</div><div style>In other words, it defines a partial orderin=
g. Is this what you are referring to in terms of MAY?</div><div style><br><=
/div><div style>Richard</div><div style><br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef=
t-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
For example, suppose a client fetches a full ordinal cost map twice in<br>
close succession. The ordinal values in the second response may be<br>
completely different from those in the first response, even if there was<br=
>
no change in underlying network performance.<br>
<br>
Put it another way: When a client requests an ordinal cost mode, the ALTO<b=
r>
Server MAY apply a non-linear order-preserving transformation to the<br>
underlying numerical costs, and that transform MAY vary from request to<br>
request.<br>
<br>
IHMO, I thought the reason for defining ordinal costs was to allow an ALTO<=
br>
server to obfuscate the underlying numerical costs. So if the server was<br=
>
really paranoid, and will to expend the cycles, it might very well use a<br=
>
different obfuscation algorithm for each request.<br>
<br>
=A0 =A0 =A0 =A0 - Wendy Roome<br>
<br>
<br>
&gt;Date: Thu, 16 May 2013 21:51:30 +0100<br>
&gt;From: Ben Niven-Jenkins &lt;<a href=3D"mailto:ben@niven-jenkins.co.uk">=
ben@niven-jenkins.co.uk</a>&gt;<br>
&gt;Subject: Re: [alto] Equivalence of various identifiers from an ALTO<br>
&gt; =A0 =A0 =A0 Server<br>
&gt;<br>
<div class=3D"im">&gt;(BTW I&#39;m not sure you can compare a filtered cost=
map against a full cost<br>
&gt;map if the costs are ordinal)<br>
&gt;<br>
&gt;Ben<br>
<br>
<br>
</div><div class=3D""><div class=3D"h5">___________________________________=
____________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</div></div></blockquote></div><br></div></div>

--047d7b072258a9c71304dcef2f67--

From yang.r.yang@gmail.com  Fri May 17 12:47:58 2013
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 D8DCA21F961D for <alto@ietfa.amsl.com>; Fri, 17 May 2013 12:47:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.594
X-Spam-Level: 
X-Spam-Status: No, score=-1.594 tagged_above=-999 required=5 tests=[AWL=0.383,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 DxdQ5bLKBROq for <alto@ietfa.amsl.com>; Fri, 17 May 2013 12:47:57 -0700 (PDT)
Received: from mail-da0-x231.google.com (mail-da0-x231.google.com [IPv6:2607:f8b0:400e:c00::231]) by ietfa.amsl.com (Postfix) with ESMTP id E97DF21F971A for <alto@ietf.org>; Fri, 17 May 2013 12:47:56 -0700 (PDT)
Received: by mail-da0-f49.google.com with SMTP id p5so2542440dak.22 for <alto@ietf.org>; Fri, 17 May 2013 12:47:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=1DZkpvswHmcKgu28Gb+fvEer0Pj1IFG5FzJVpyALg6A=; b=uuMxU+vzpXZ+zFHtI78DHlyMgSscvs0UJ/Cst9h8opkqpXJqzydI5URBi0uhJfQ+h3 G/1txTf4qk5MIHoN232PjhHrbfVZouzMcUh210P1XH0nmWat4XCL59hVRRmxarDOBjrN w1YuRTGO/smv6qSgKnyBMe89FkrrMoaxn6uD+l/tqZ4V3XCTHIcHfbuPR/pxrGCC8EjA KaAFZOdLiSn9sZFiv5wuT67Fqfm0W6jB0NvuJOIyj26owZf1Qa5CxmO7PW57OpFbVprw 6LB+n0Da/inxzax7Y9m09l30F9TyD+fcSAE+DPJaWxExy817ij/tIASRZbuXZJhK86mU RSpA==
MIME-Version: 1.0
X-Received: by 10.68.247.68 with SMTP id yc4mr49573131pbc.54.1368820076562; Fri, 17 May 2013 12:47:56 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.27.233 with HTTP; Fri, 17 May 2013 12:47:56 -0700 (PDT)
In-Reply-To: <586EBE6E-A0A0-4175-8687-33032DA29B0A@niven-jenkins.co.uk>
References: <CA+cvDaa_wOP01YiFBi937Bh11V_-ro6mq06X-ThNUCm6bGMjNw@mail.gmail.com> <586EBE6E-A0A0-4175-8687-33032DA29B0A@niven-jenkins.co.uk>
Date: Fri, 17 May 2013 15:47:56 -0400
X-Google-Sender-Auth: qUtVAET01P8xkIQwRUz05WJyXcc
Message-ID: <CANUuoLqJwbOr+X5H=-KUFk+v3pzqGX-RoAtROeHCC=dFgUvrVA@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Content-Type: multipart/alternative; boundary=047d7b2e15816cd0ce04dcef4246
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Equivalence of various identifiers from an ALTO Server
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: Fri, 17 May 2013 19:47:58 -0000

--047d7b2e15816cd0ce04dcef4246
Content-Type: text/plain; charset=ISO-8859-1

On Thu, May 16, 2013 at 4:51 PM, Ben Niven-Jenkins
<ben@niven-jenkins.co.uk>wrote:

> Can we mandate the vtag has the equivalent properties of a strong etag in
> HTTP? i.e. if an alto service is provided by multiple servers then those
> servers must ensure that vtags are consistent across servers/versions?
>

A problem I see is how to indicate to an ALTO Client the set of servers
that are consistent: Because they are linked in one entry of one IRD, have
the same DNS prefix (security problem?), signed using the same certificate,
...?

Any thought?

Richard


> If not we could have the equivalent of weak and strong vtags and in the
> case of weak the client would expect the same server (IP & port) to return
> consistent vtags but if it connected to another server it would have to
> re-retrieve the entire cost map if it wanted to compare it to a filtered
> cost map from the same (2nd) server.
>
> (BTW I'm not sure you can compare a filtered costmap against a full cost
> map if the costs are ordinal)
>
> Ben
>
> On 15 May 2013, at 17:45, Richard Alimi <rich@velvetsea.net> wrote:
>
> One question that Wendy brought up was: "if one resource directory can
> refer to a different resource directory which may live at a different
> server or administrative domain, when is it safe for an ALTO Client to
> conclude that a cost metric means the same thing?" A particular example
> here is the full cost map and filtered cost map.  If the client fetched the
> full cost map with the 'routingcost' cost metric, and then later wanted to
> use a more refined query, then presumably the client should be able to
> assume that the values in the filtered cost map (also with the
> 'routingcost' cost metric) mean the same thing.
>
> A similar thing holds for version tags.  If the client finds a cost map
> with version tag '1234', under what conditions should it declare that it
> matches the version tag for a particular network map?  Similar to the cost
> map example above, both may come from a different server or administrative
> domain.
>
> To resolve this ambiguity, we are proposing to add the following to
> Section 8.3.1:
>
> "The meanings of identifiers used in resources discovered via an entry
> point to an ALTO Server (i.e., by the ALTO Discovery Protocol) SHOULD be
> consistent with each other. In particular, a particular values for a
> different cost maps of the same cost metric should be comparable, and the
> version tag for a cost map should be comparable to the version tag for the
> network map on which it was based, even if the two maps are provided by a
> different server."
>
> I hope the intent here is clear.  Admittedly, this is probably not a crisp
> enough statement to put in the draft yet, but suggestions on improving it
> would be appreciated.
>
> Thanks,
> Rich
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>
>

--047d7b2e15816cd0ce04dcef4246
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Thu, May 16, 2013 at 4:51 PM, Ben Niven-Jenkins <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:ben@niven-jenkins.co.uk" target=3D"_blank">ben@niven-jenkin=
s.co.uk</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"auto"><div>Can we mandate the vt=
ag has the equivalent properties of a strong etag in HTTP? i.e. if an alto =
service is provided by multiple servers then those servers must ensure that=
 vtags are consistent across servers/versions?</div>
</div></blockquote><div><br></div><div style>A problem I see is how to indi=
cate to an ALTO Client the set of servers that are consistent: Because they=
 are linked in one entry of one IRD, have the same DNS prefix (security pro=
blem?), signed using the same certificate, ...?=A0</div>
<div style><br></div><div style>Any thought?</div><div style>=A0</div><div =
style>Richard</div><div style><br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div=
 dir=3D"auto">
<div><br></div><div>If not we could have the equivalent of weak and strong =
vtags and in the case of weak the client would expect the same server (IP &=
amp; port) to return consistent vtags but if it connected to another server=
 it would have to re-retrieve the entire cost map if it wanted to compare i=
t to a filtered cost map from the same (2nd) server.=A0</div>
<div><br></div><div>(BTW I&#39;m not sure you can compare a filtered costma=
p against a full cost map if the costs are ordinal)</div><div><br></div><di=
v>Ben</div><div><div class=3D"h5"><div><br>On 15 May 2013, at 17:45, Richar=
d Alimi &lt;<a href=3D"mailto:rich@velvetsea.net" target=3D"_blank">rich@ve=
lvetsea.net</a>&gt; wrote:<br>
<br></div><blockquote type=3D"cite"><div><div dir=3D"ltr"><span style=3D"fo=
nt-family:arial,sans-serif;font-size:13px">One question that Wendy brought =
up was: &quot;if one resource directory can refer to a different resource d=
irectory which may live at a different server or administrative domain, whe=
n is it safe for an ALTO Client to conclude that a cost metric means the sa=
me thing?&quot; A particular example here is the full cost map and filtered=
 cost map. =A0If the client fetched the full cost map with the &#39;routing=
cost&#39; cost metric, and then later wanted to use a more refined query, t=
hen presumably the client should be able to assume that the values in the f=
iltered cost map (also with the &#39;routingcost&#39; cost metric) mean the=
 same thing.</span><div>


<span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span></di=
v><div><span style=3D"font-family:arial,sans-serif;font-size:13px">A simila=
r thing holds for version tags. =A0If the client finds a cost map with vers=
ion tag &#39;1234&#39;, under what conditions should it declare that it mat=
ches the version tag for a particular network map? =A0Similar to the cost m=
ap example above, both may come from a different server or administrative d=
omain.</span></div>


<div><span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span=
></div><div><span style=3D"font-family:arial,sans-serif;font-size:13px">To =
resolve this ambiguity, we are proposing to add the following to Section 8.=
3.1:</span></div>


<div><span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span=
></div><div><font face=3D"arial, sans-serif">&quot;The meanings of identifi=
ers used in resources discovered via an entry point to an ALTO Server (i.e.=
, by the ALTO Discovery Protocol) SHOULD be consistent with each other. In =
particular, a particular values for a different cost maps of the same cost =
metric should be comparable, and the version tag for a cost map should be c=
omparable to the version tag for the network map on which it was based, eve=
n if the two maps are provided by a different server.&quot;</font></div>


<div><font face=3D"arial, sans-serif"><br></font></div><div>I hope the inte=
nt here is clear. =A0Admittedly, this is probably not a crisp enough statem=
ent to put in the draft yet, but suggestions on improving it would be appre=
ciated.</div>


<div><br></div><div>Thanks,</div><div><font face=3D"arial, sans-serif">Rich=
</font></div></div>
</div></blockquote></div></div><blockquote type=3D"cite"><div><span>_______=
________________________________________</span><br><span>alto mailing list<=
/span><br><span><a href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@iet=
f.org</a></span><br>
<span><a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_bla=
nk">https://www.ietf.org/mailman/listinfo/alto</a></span><br></div></blockq=
uote></div><br>_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br></div></div>

--047d7b2e15816cd0ce04dcef4246--

From w.roome@alcatel-lucent.com  Fri May 17 12:54:41 2013
Return-Path: <w.roome@alcatel-lucent.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 32E1D21F96C4 for <alto@ietfa.amsl.com>; Fri, 17 May 2013 12:54:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.215
X-Spam-Level: 
X-Spam-Status: No, score=-8.215 tagged_above=-999 required=5 tests=[AWL=-1.313, BAYES_00=-2.599, HTML_MESSAGE=0.001, MANGLED_SIDE=2.3, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
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 RGa9m1yJA64U for <alto@ietfa.amsl.com>; Fri, 17 May 2013 12:54:34 -0700 (PDT)
Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by ietfa.amsl.com (Postfix) with ESMTP id 34CC521F8EFE for <alto@ietf.org>; Fri, 17 May 2013 12:54:26 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id r4HJsFCo002917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 17 May 2013 14:54:15 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r4HJsEo7015139 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 17 May 2013 14:54:15 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r4HJsCLa027948; Fri, 17 May 2013 14:54:13 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.4.130416
Date: Fri, 17 May 2013 15:54:38 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <CDBC017C.5ACAE%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Equivalence of various identifiers from an ALTO Server
In-Reply-To: <CANUuoLpyxF06_RpkJKxVy60eMSKxsrXuYKvkY3jh=p_WYVUyBA@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3451650880_65740252"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.10
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Equivalence of various identifiers from an ALTO Server
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: Fri, 17 May 2013 19:54:41 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3451650880_65740252
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

By "MAY", all I meant was that "We won't insist that the client compare the
values against each other." After all, a client might just print them, as I
think the bake-off clients did.

s/MAY/may/   :-)

- Wendy Roome


From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Fri, May 17, 2013 15:42
To:  Wendy Roome <w.roome@alcatel-lucent.com>
Cc:  IETF ALTO <alto@ietf.org>
Subject:  Re: [alto] Equivalence of various identifiers from an ALTO Server

 
> A
> client MAY compare one ordinal value against another ordinal in the same
> response, but that's all.

Why add a MAY? The current wording (Sec. 6.2) is "If the Cost Mode is
'ordinal', the Path Cost of each communicating pair is relative to the m*n
entries."  In other words, a response returns m*n entries, where each entry
is a number (ranking). The current spec does not specify that the m*n
numbers are distinct, and hence the response may contain entries with the
same value. Consider an example of two two sources (S1, S2) and three
destinations (D1, D2, D3), and a response as the following:

S1 -> D1: 1
S1 -> D2: 2
S1 -> D3: 2
S2 -> D1: 1
S2 -> D2: 2
S2 -> D3: 3

The interpretation is (~ means equivalent):
S1 -> D1 ~ S2 -> D1
< 
S1 -> D2 ~ S1 -> D3 ~ S2 -> D2
<
S2 -> D3 
 
In other words, it defines a partial ordering. Is this what you are
referring to in terms of MAY?

Richard



--B_3451650880_65740252
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>By "MAY", all I meant was th=
at "We won't insist that the client compare the values against each other." =
After all, a client might just print them, as I think the bake-off clients d=
id.</div><div><br></div><div>s/MAY/may/ &nbsp; :-)</div><div><br></div><div>=
<span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>- Wendy Roome</=
div><div><br></div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=
=3D"font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-=
BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-=
LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: =
medium none; PADDING-TOP: 3pt"><span style=3D"font-weight:bold">From: </span> =
"Y. Richard Yang" &lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&g=
t;<br><span style=3D"font-weight:bold">Date: </span> Fri, May 17, 2013 15:42<b=
r><span style=3D"font-weight:bold">To: </span> Wendy Roome &lt;<a href=3D"mailto=
:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;<br><span sty=
le=3D"font-weight:bold">Cc: </span> IETF ALTO &lt;<a href=3D"mailto:alto@ietf.or=
g">alto@ietf.org</a>&gt;<br><span style=3D"font-weight:bold">Subject: </span> =
Re: [alto] Equivalence of various identifiers from an ALTO Server<br></div><=
div><br></div><span class=3D"Apple-style-span" style=3D"border-collapse: separat=
e; color: rgb(0, 0, 0); font-family: Calibri; font-style: normal; font-varia=
nt: normal; font-weight: normal; letter-spacing: normal; line-height: normal=
; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: no=
ne; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizo=
ntal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decora=
tions-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-w=
idth: 0px; font-size: medium; "><div>&nbsp;</div><blockquote class=3D"gmail_qu=
ote" style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-l=
eft: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); b=
order-left-style: solid; padding-left: 1ex; ">A<br>client MAY compare one or=
dinal value against another ordinal in the same<br>response, but that's all.=
&nbsp;</blockquote><div><br></div><div>Why add a MAY? The current wording (S=
ec. 6.2) is "If the Cost Mode is 'ordinal', the Path Cost of each communicat=
ing pair is relative to the m*n entries." &nbsp;In other words, a response r=
eturns m*n entries, where each entry is a number (ranking). The current spec=
 does not specify that the m*n numbers are distinct, and hence the response =
may contain entries with the same value. Consider an example of two two sour=
ces (S1, S2) and three destinations (D1, D2, D3), and a response as the foll=
owing:</div><div><br></div><div>S1 -&gt; D1: 1</div><div>S1 -&gt; D2: 2</div=
><div>S1 -&gt; D3: 2</div><div>S2 -&gt; D1: 1</div><div>S2 -&gt; D2: 2</div>=
<div>S2 -&gt; D3: 3</div><div><br></div><div>The interpretation is (~ means =
equivalent):</div><div>S1 -&gt; D1 ~ S2 -&gt; D1&nbsp;</div><div>&lt;&nbsp;<=
/div><div>S1 -&gt; D2 ~ S1 -&gt; D3 ~ S2 -&gt; D2</div><div>&lt;</div><div>S=
2 -&gt; D3&nbsp;</div><div>&nbsp;</div><div>In other words, it defines a par=
tial ordering. Is this what you are referring to in terms of MAY?</div><div>=
<br></div><div>Richard</div></span></span></body></html>

--B_3451650880_65740252--



From yang.r.yang@gmail.com  Fri May 17 13:12:57 2013
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 F23EB21F8F61 for <alto@ietfa.amsl.com>; Fri, 17 May 2013 13:12:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.539
X-Spam-Level: 
X-Spam-Status: No, score=-0.539 tagged_above=-999 required=5 tests=[AWL=-0.863, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MANGLED_SIDE=2.3]
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 mY-eYUgaYjEg for <alto@ietfa.amsl.com>; Fri, 17 May 2013 13:12:51 -0700 (PDT)
Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by ietfa.amsl.com (Postfix) with ESMTP id 5772421F8F38 for <alto@ietf.org>; Fri, 17 May 2013 13:12:51 -0700 (PDT)
Received: by mail-pd0-f178.google.com with SMTP id w10so1130349pde.9 for <alto@ietf.org>; Fri, 17 May 2013 13:12:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ESu41EjXwb4gUwKPkci9Sx3cNs1GyazGr7JopD5ZUR8=; b=ducnYAFVG4CC4NlI54MNH1Uf+doBehmMNOyKwxOGn4KNBeYzjjs2PqkRGpPY7OlmVf 3WeGR/iKndVEFq0V6uw57ipooMr9MihEw2uy20Z207dqhQpIhGksMmp1RXITqC5RmBhj OcNMGsw3nZxR9fEayjt8K8wyQyalmoZqvp/hVJQUmUl6Ouz2zwc0zFdbAGWhARL4Je5U kQn+vrkW17naPTJMp8f+InMM/N2i7VlywaWD4fwqbWepSBbT7ZKWqJ6rThitnywQ7sIa ot+cmSV+MEq8BLAhQglnnXYsBXj08l4Vot0l3CB4GlcT9BJlNwEvj7RBbvzNOAjAbexA PhXw==
MIME-Version: 1.0
X-Received: by 10.68.247.68 with SMTP id yc4mr49656114pbc.54.1368821571077; Fri, 17 May 2013 13:12:51 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.27.233 with HTTP; Fri, 17 May 2013 13:12:51 -0700 (PDT)
In-Reply-To: <CDBC017C.5ACAE%w.roome@alcatel-lucent.com>
References: <CANUuoLpyxF06_RpkJKxVy60eMSKxsrXuYKvkY3jh=p_WYVUyBA@mail.gmail.com> <CDBC017C.5ACAE%w.roome@alcatel-lucent.com>
Date: Fri, 17 May 2013 16:12:51 -0400
X-Google-Sender-Auth: vsT3Ea6tLFSHLvUgBHudNU7MkIU
Message-ID: <CANUuoLr2jnPtYwyEp9SvcG6S92C4z5BhPgkXNn4Y6pzEqT3bzA@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b2e1581814aa304dcef9b01
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Equivalence of various identifiers from an ALTO Server
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: Fri, 17 May 2013 20:12:57 -0000

--047d7b2e1581814aa304dcef9b01
Content-Type: text/plain; charset=ISO-8859-1

On Fri, May 17, 2013 at 3:54 PM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> By "MAY", all I meant was that "We won't insist that the client compare
> the values against each other." After all, a client might just print them,
> as I think the bake-off clients did.
>
> s/MAY/may/   :-)
>

Sounds good. Will take the input if no objections from others.

Thanks.
Richard


>
> - Wendy Roome
>
>
> From: "Y. Richard Yang" <yry@cs.yale.edu>
> Date: Fri, May 17, 2013 15:42
> To: Wendy Roome <w.roome@alcatel-lucent.com>
> Cc: IETF ALTO <alto@ietf.org>
>
> Subject: Re: [alto] Equivalence of various identifiers from an ALTO Server
>
>
>
>> A
>>
>> client MAY compare one ordinal value against another ordinal in the same
>> response, but that's all.
>>
>
> Why add a MAY? The current wording (Sec. 6.2) is "If the Cost Mode is
> 'ordinal', the Path Cost of each communicating pair is relative to the m*n
> entries."  In other words, a response returns m*n entries, where each entry
> is a number (ranking). The current spec does not specify that the m*n
> numbers are distinct, and hence the response may contain entries with the
> same value. Consider an example of two two sources (S1, S2) and three
> destinations (D1, D2, D3), and a response as the following:
>
> S1 -> D1: 1
> S1 -> D2: 2
> S1 -> D3: 2
> S2 -> D1: 1
> S2 -> D2: 2
> S2 -> D3: 3
>
> The interpretation is (~ means equivalent):
> S1 -> D1 ~ S2 -> D1
> <
> S1 -> D2 ~ S1 -> D3 ~ S2 -> D2
> <
> S2 -> D3
>
> In other words, it defines a partial ordering. Is this what you are
> referring to in terms of MAY?
>
> Richard
>

--047d7b2e1581814aa304dcef9b01
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, May 17, 2013 at 3:54 PM, Wendy Roome <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel=
-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word"><div>By &quot;MAY&quot;, all I meant =
was that &quot;We won&#39;t insist that the client compare the values again=
st each other.&quot; After all, a client might just print them, as I think =
the bake-off clients did.</div>
<div><br></div><div>s/MAY/may/ =A0 :-)</div></div></blockquote><div><br></d=
iv><div style>Sounds good. Will take the input if no objections from others=
.</div><div style><br></div><div style>Thanks.</div><div style>Richard</div=
>
<div style>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style=3D"font-size:=
14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div><br></div><d=
iv><span style=3D"white-space:pre-wrap">	</span>- Wendy Roome</div>
<div><br></div><div><br></div><span><div style=3D"border-right:medium none;=
padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-siz=
e:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt=
 solid;padding-bottom:0in;border-left:medium none">
<div class=3D"im"><span style=3D"font-weight:bold">From: </span> &quot;Y. R=
ichard Yang&quot; &lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">=
yry@cs.yale.edu</a>&gt;<br></div><span style=3D"font-weight:bold">Date: </s=
pan> Fri, May 17, 2013 15:42<br>
<span style=3D"font-weight:bold">To: </span> Wendy Roome &lt;<a href=3D"mai=
lto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.co=
m</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> IETF ALTO &lt;<a =
href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;<div c=
lass=3D"im">
<br><span style=3D"font-weight:bold">Subject: </span> Re: [alto] Equivalenc=
e of various identifiers from an ALTO Server<br></div></div><div><br></div>=
<span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;te=
xt-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:norm=
al;border-collapse:separate;text-transform:none;font-size:medium;white-spac=
e:normal;font-family:Calibri;word-spacing:0px"><div>
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin-top:0px;margin-r=
ight:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-l=
eft-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">A<div =
class=3D"im">
<br>client MAY compare one ordinal value against another ordinal in the sam=
e<br>response, but that&#39;s all.=A0</div></blockquote><div class=3D"im"><=
div><br></div><div>Why add a MAY? The current wording (Sec. 6.2) is &quot;I=
f the Cost Mode is &#39;ordinal&#39;, the Path Cost of each communicating p=
air is relative to the m*n entries.&quot; =A0In other words, a response ret=
urns m*n entries, where each entry is a number (ranking). The current spec =
does not specify that the m*n numbers are distinct, and hence the response =
may contain entries with the same value. Consider an example of two two sou=
rces (S1, S2) and three destinations (D1, D2, D3), and a response as the fo=
llowing:</div>
<div><br></div><div>S1 -&gt; D1: 1</div><div>S1 -&gt; D2: 2</div><div>S1 -&=
gt; D3: 2</div><div>S2 -&gt; D1: 1</div><div>S2 -&gt; D2: 2</div><div>S2 -&=
gt; D3: 3</div><div><br></div><div>The interpretation is (~ means equivalen=
t):</div>
<div>S1 -&gt; D1 ~ S2 -&gt; D1=A0</div><div>&lt;=A0</div><div>S1 -&gt; D2 ~=
 S1 -&gt; D3 ~ S2 -&gt; D2</div><div>&lt;</div><div>S2 -&gt; D3=A0</div><di=
v>=A0</div><div>In other words, it defines a partial ordering. Is this what=
 you are referring to in terms of MAY?</div>
<div><br></div><div>Richard</div></div></span></span></div>
</blockquote></div><br></div></div>

--047d7b2e1581814aa304dcef9b01--

From ben@niven-jenkins.co.uk  Sat May 18 02:29:32 2013
Return-Path: <ben@niven-jenkins.co.uk>
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 8415321F93EB for <alto@ietfa.amsl.com>; Sat, 18 May 2013 02:29:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.333
X-Spam-Level: 
X-Spam-Status: No, score=-101.333 tagged_above=-999 required=5 tests=[AWL=-0.731, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_84=0.6, MIME_QP_LONG_LINE=1.396, USER_IN_WHITELIST=-100]
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 JyyHJQLCMjyH for <alto@ietfa.amsl.com>; Sat, 18 May 2013 02:29:27 -0700 (PDT)
Received: from mailex.mailcore.me (mailex.mailcore.me [94.136.40.61]) by ietfa.amsl.com (Postfix) with ESMTP id 3524121F93EC for <alto@ietf.org>; Sat, 18 May 2013 02:29:26 -0700 (PDT)
Received: from cpc4-cmbg17-2-0-cust814.5-4.cable.virginmedia.com ([86.14.227.47] helo=[192.168.0.2]) by mail10.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <ben@niven-jenkins.co.uk>) id 1UddS8-0001qC-OS; Sat, 18 May 2013 10:29:25 +0100
References: <CA+cvDaa_wOP01YiFBi937Bh11V_-ro6mq06X-ThNUCm6bGMjNw@mail.gmail.com> <586EBE6E-A0A0-4175-8687-33032DA29B0A@niven-jenkins.co.uk> <CANUuoLqJwbOr+X5H=-KUFk+v3pzqGX-RoAtROeHCC=dFgUvrVA@mail.gmail.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <CANUuoLqJwbOr+X5H=-KUFk+v3pzqGX-RoAtROeHCC=dFgUvrVA@mail.gmail.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-ABA97A20-2C0D-44F0-BA6B-A03976C99B31
Content-Transfer-Encoding: 7bit
Message-Id: <2B3BB54E-F12B-405A-8A55-78F57AC7CFAA@niven-jenkins.co.uk>
X-Mailer: iPhone Mail (10B329)
From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Date: Sat, 18 May 2013 10:29:19 +0100
To: "Y. Richard Yang" <yry@cs.yale.edu>
X-Mailcore-Auth: 9600544
X-Mailcore-Domain: 172912
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Equivalence of various identifiers from an ALTO Server
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: Sat, 18 May 2013 09:29:32 -0000

--Apple-Mail-ABA97A20-2C0D-44F0-BA6B-A03976C99B31
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

I think that's a deployment decision. Hostname+Port would be a reasonable su=
ggestion for a starting/default position IMO (i.e load balanced servers must=
 be consistent and an implementation may want to offer the ability to relax t=
hat to domain prefix or something else). Ben

On 17 May 2013, at 20:47, "Y. Richard Yang" <yry@cs.yale.edu> wrote:

>=20
> On Thu, May 16, 2013 at 4:51 PM, Ben Niven-Jenkins <ben@niven-jenkins.co.u=
k> wrote:
>> Can we mandate the vtag has the equivalent properties of a strong etag in=
 HTTP? i.e. if an alto service is provided by multiple servers then those se=
rvers must ensure that vtags are consistent across servers/versions?
>=20
> A problem I see is how to indicate to an ALTO Client the set of servers th=
at are consistent: Because they are linked in one entry of one IRD, have the=
 same DNS prefix (security problem?), signed using the same certificate, ...=
?=20
>=20
> Any thought?
> =20
> Richard
>=20
>>=20
>> If not we could have the equivalent of weak and strong vtags and in the c=
ase of weak the client would expect the same server (IP & port) to return co=
nsistent vtags but if it connected to another server it would have to re-ret=
rieve the entire cost map if it wanted to compare it to a filtered cost map f=
rom the same (2nd) server.=20
>>=20
>> (BTW I'm not sure you can compare a filtered costmap against a full cost m=
ap if the costs are ordinal)
>>=20
>> Ben
>>=20
>> On 15 May 2013, at 17:45, Richard Alimi <rich@velvetsea.net> wrote:
>>=20
>>> One question that Wendy brought up was: "if one resource directory can r=
efer to a different resource directory which may live at a different server o=
r administrative domain, when is it safe for an ALTO Client to conclude that=
 a cost metric means the same thing?" A particular example here is the full c=
ost map and filtered cost map.  If the client fetched the full cost map with=
 the 'routingcost' cost metric, and then later wanted to use a more refined q=
uery, then presumably the client should be able to assume that the values in=
 the filtered cost map (also with the 'routingcost' cost metric) mean the sa=
me thing.
>>>=20
>>> A similar thing holds for version tags.  If the client finds a cost map w=
ith version tag '1234', under what conditions should it declare that it matc=
hes the version tag for a particular network map?  Similar to the cost map e=
xample above, both may come from a different server or administrative domain=
.
>>>=20
>>> To resolve this ambiguity, we are proposing to add the following to Sect=
ion 8.3.1:
>>>=20
>>> "The meanings of identifiers used in resources discovered via an entry p=
oint to an ALTO Server (i.e., by the ALTO Discovery Protocol) SHOULD be cons=
istent with each other. In particular, a particular values for a different c=
ost maps of the same cost metric should be comparable, and the version tag f=
or a cost map should be comparable to the version tag for the network map on=
 which it was based, even if the two maps are provided by a different server=
."
>>>=20
>>> I hope the intent here is clear.  Admittedly, this is probably not a cri=
sp enough statement to put in the draft yet, but suggestions on improving it=
 would be appreciated.
>>>=20
>>> Thanks,
>>> Rich
>>> _______________________________________________
>>> alto mailing list
>>> alto@ietf.org
>>> https://www.ietf.org/mailman/listinfo/alto
>>=20
>> _______________________________________________
>> alto mailing list
>> alto@ietf.org
>> https://www.ietf.org/mailman/listinfo/alto
>=20

--Apple-Mail-ABA97A20-2C0D-44F0-BA6B-A03976C99B31
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I think that's a deployment decision. Hostname+Port would be a reasonable suggestion for a starting/default position IMO (i.e load balanced servers must be consistent and an implementation may want to offer the ability to relax that to domain prefix or something else). Ben</div><div><br>On 17 May 2013, at 20:47, "Y. Richard Yang" &lt;<a href="mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Thu, May 16, 2013 at 4:51 PM, Ben Niven-Jenkins <span dir="ltr">&lt;<a href="mailto:ben@niven-jenkins.co.uk" target="_blank">ben@niven-jenkins.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Can we mandate the vtag has the equivalent properties of a strong etag in HTTP? i.e. if an alto service is provided by multiple servers then those servers must ensure that vtags are consistent across servers/versions?</div>
</div></blockquote><div><br></div><div style="">A problem I see is how to indicate to an ALTO Client the set of servers that are consistent: Because they are linked in one entry of one IRD, have the same DNS prefix (security problem?), signed using the same certificate, ...?&nbsp;</div>
<div style=""><br></div><div style="">Any thought?</div><div style="">&nbsp;</div><div style="">Richard</div><div style=""><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">
<div><br></div><div>If not we could have the equivalent of weak and strong vtags and in the case of weak the client would expect the same server (IP &amp; port) to return consistent vtags but if it connected to another server it would have to re-retrieve the entire cost map if it wanted to compare it to a filtered cost map from the same (2nd) server.&nbsp;</div>
<div><br></div><div>(BTW I'm not sure you can compare a filtered costmap against a full cost map if the costs are ordinal)</div><div><br></div><div>Ben</div><div><div class="h5"><div><br>On 15 May 2013, at 17:45, Richard Alimi &lt;<a href="mailto:rich@velvetsea.net" target="_blank">rich@velvetsea.net</a>&gt; wrote:<br>
<br></div><blockquote type="cite"><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">One question that Wendy brought up was: "if one resource directory can refer to a different resource directory which may live at a different server or administrative domain, when is it safe for an ALTO Client to conclude that a cost metric means the same thing?" A particular example here is the full cost map and filtered cost map. &nbsp;If the client fetched the full cost map with the 'routingcost' cost metric, and then later wanted to use a more refined query, then presumably the client should be able to assume that the values in the filtered cost map (also with the 'routingcost' cost metric) mean the same thing.</span><div>


<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">A similar thing holds for version tags. &nbsp;If the client finds a cost map with version tag '1234', under what conditions should it declare that it matches the version tag for a particular network map? &nbsp;Similar to the cost map example above, both may come from a different server or administrative domain.</span></div>


<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">To resolve this ambiguity, we are proposing to add the following to Section 8.3.1:</span></div>


<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">"The meanings of identifiers used in resources discovered via an entry point to an ALTO Server (i.e., by the ALTO Discovery Protocol) SHOULD be consistent with each other. In particular, a particular values for a different cost maps of the same cost metric should be comparable, and the version tag for a cost map should be comparable to the version tag for the network map on which it was based, even if the two maps are provided by a different server."</font></div>


<div><font face="arial, sans-serif"><br></font></div><div>I hope the intent here is clear. &nbsp;Admittedly, this is probably not a crisp enough statement to put in the draft yet, but suggestions on improving it would be appreciated.</div>


<div><br></div><div>Thanks,</div><div><font face="arial, sans-serif">Rich</font></div></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>alto mailing list</span><br><span><a href="mailto:alto@ietf.org" target="_blank">alto@ietf.org</a></span><br>
<span><a href="https://www.ietf.org/mailman/listinfo/alto" target="_blank">https://www.ietf.org/mailman/listinfo/alto</a></span><br></div></blockquote></div><br>_______________________________________________<br>
alto mailing list<br>
<a href="mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href="https://www.ietf.org/mailman/listinfo/alto" target="_blank">https://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br></div></div>
</div></blockquote></body></html>
--Apple-Mail-ABA97A20-2C0D-44F0-BA6B-A03976C99B31--

From yang.r.yang@gmail.com  Sat May 18 06:15:50 2013
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 B6D9921F91CB for <alto@ietfa.amsl.com>; Sat, 18 May 2013 06:15:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.377
X-Spam-Level: 
X-Spam-Status: No, score=-1.377 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_84=0.6, NO_RELAYS=-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 6YCtANjIwb4k for <alto@ietfa.amsl.com>; Sat, 18 May 2013 06:15:49 -0700 (PDT)
Received: from mail-pb0-x236.google.com (mail-pb0-x236.google.com [IPv6:2607:f8b0:400e:c01::236]) by ietfa.amsl.com (Postfix) with ESMTP id B67A621F91BF for <alto@ietf.org>; Sat, 18 May 2013 06:15:49 -0700 (PDT)
Received: by mail-pb0-f54.google.com with SMTP id ro8so4095431pbb.13 for <alto@ietf.org>; Sat, 18 May 2013 06:15:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=hD2i4kMernkxbp5KxjmH8NISkHB6m6qlsNJFIDxi3to=; b=iKtpoD1u45p+NnxEJ3QkcT2AHWPGLPb/nufR3Frx1+2VkJaSqUs4tpWloC4NZFp/Tt +9AplZvgAAr4hyG2qB/HeoLslnu9gLDDZqir0MOmF+3udMco3JJDv9nWnbKwGVUi50by B6JGZvz/94WuPCkJYeWU/OpDSe/poclyML5C0D5N4h7kVsSMFVSUo1M9apj44lSMHk66 iBb1giM/pCfTMZD0pBzTJoa5SdTSz3FZb3I51I0Xwqv6koj5ZBqIkBf0CDHGyMFTwKUt 8TBOoAXi11MFB4cPF6Cs0qn+U5BSMEHPT/0nU+cE+txyDU8frsP5nx9zOERvAmJA5h12 hteA==
MIME-Version: 1.0
X-Received: by 10.68.255.130 with SMTP id aq2mr51418169pbd.164.1368882949434;  Sat, 18 May 2013 06:15:49 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.27.233 with HTTP; Sat, 18 May 2013 06:15:49 -0700 (PDT)
In-Reply-To: <2B3BB54E-F12B-405A-8A55-78F57AC7CFAA@niven-jenkins.co.uk>
References: <CA+cvDaa_wOP01YiFBi937Bh11V_-ro6mq06X-ThNUCm6bGMjNw@mail.gmail.com> <586EBE6E-A0A0-4175-8687-33032DA29B0A@niven-jenkins.co.uk> <CANUuoLqJwbOr+X5H=-KUFk+v3pzqGX-RoAtROeHCC=dFgUvrVA@mail.gmail.com> <2B3BB54E-F12B-405A-8A55-78F57AC7CFAA@niven-jenkins.co.uk>
Date: Sat, 18 May 2013 09:15:49 -0400
X-Google-Sender-Auth: WEYSOw7M13rOQmvNcSe8Otb4D78
Message-ID: <CANUuoLr9XNGwEvpJx4DS-R0emN_ZHXQL+tmVkZgCVGG=2=-Ang@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Content-Type: multipart/alternative; boundary=047d7b5d4d60f0b1d104dcfde5f0
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Equivalence of various identifiers from an ALTO Server
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: Sat, 18 May 2013 13:15:50 -0000

--047d7b5d4d60f0b1d104dcfde5f0
Content-Type: text/plain; charset=ISO-8859-1

On Saturday, May 18, 2013, Ben Niven-Jenkins wrote:

> I think that's a deployment decision. Hostname+Port would be a reasonable
> suggestion for a starting/default position IMO (i.e load balanced servers
> must be consistent
>

Agreed. Load balanced servers with the same dns name + port should give
out consistent tag, as these servers are supposed to be indistinguishable.


> and an implementation may want to offer the ability to relax that to
> domain prefix or something else).
>

The current spec does not explicitly specify such a relaxation. When you
say deployment, you mean that a given set of clients and servers agree, out
of ALTO protocol such as using configuration files or hard coding, on the
relaxation. Right? There can be mechanisms that can be introduced to
ALTO to explicitly convey relaxation policies, e.g., announcement in
IRD meta (Wendy suggested adding a "consistent-with" attribute to indicate
such "relaxation"), but I feel that this should be left to future work.
Agree?

Thanks a lot!

Richard


> Ben
>
> On 17 May 2013, at 20:47, "Y. Richard Yang" <yry@cs.yale.edu<javascript:_e({}, 'cvml', 'yry@cs.yale.edu');>>
> wrote:
>
>
> On Thu, May 16, 2013 at 4:51 PM, Ben Niven-Jenkins <
> ben@niven-jenkins.co.uk <javascript:_e({}, 'cvml',
> 'ben@niven-jenkins.co.uk');>> wrote:
>
>> Can we mandate the vtag has the equivalent properties of a strong etag in
>> HTTP? i.e. if an alto service is provided by multiple servers then those
>> servers must ensure that vtags are consistent across servers/versions?
>>
>
> A problem I see is how to indicate to an ALTO Client the set of servers
> that are consistent: Because they are linked in one entry of one IRD, have
> the same DNS prefix (security problem?), signed using the same certificate,
> ...?
>
> Any thought?
>
> Richard
>
>
>> If not we could have the equivalent of weak and strong vtags and in the
>> case of weak the client would expect the same server (IP & port) to return
>> consistent vtags but if it connected to another server it would have to
>> re-retrieve the entire cost map if it wanted to compare it to a filtered
>> cost map from the same (2nd) server.
>>
>> (BTW I'm not sure you can compare a filtered costmap against a full cost
>> map if the costs are ordinal)
>>
>> Ben
>>
>> On 15 May 2013, at 17:45, Richard Alimi <rich@velvetsea.net<javascript:_e({}, 'cvml', 'rich@velvetsea.net');>>
>> wrote:
>>
>> One question that Wendy brought up was: "if one resource directory can
>> refer to a different resource directory which may live at a different
>> server or administrative domain, when is it safe for an ALTO Client to
>> conclude that a cost metric means the same thing?" A particular example
>> here is the full cost map and filtered cost map.  If the client fetched the
>> full cost map with the 'routingcost' cost metric, and then later wanted to
>> use a more refined query, then presumably the client should be able to
>> assume that the values in the filtered cost map (also with the
>> 'routingcost' cost metric) mean the same thing.
>>
>> A similar thing holds for version tags.  If the client finds a cost map
>> with version tag '1234', under what conditions should it declare that it
>> matches the version tag for a particular network map?  Similar to the cost
>> map example above, both may come from a different server or administrative
>> domain.
>>
>> To resolve this ambiguity, we are proposing to add the following to
>> Section 8.3.1:
>>
>> "The meanings of identifiers used in resources discovered via an entry
>> point to an ALTO Server (i.e., by the ALTO Discovery Protocol) SHOULD be
>> consistent with each other. In particular, a particular values for a
>> different cost maps of the same cost metric should be comparable, and the
>> version tag for a cost map should be comparable to the version tag for the
>> network map on which it was based, even if the two maps are provided by a
>> different server."
>>
>> I hope the intent here is clear.  Admittedly, this is probably not a
>> crisp enough statement to put in the draft yet, but suggestions on
>> improving it would be appreciated.
>>
>> Thanks,
>> Rich
>>
>> _______________________________________________
>> alto mailing list
>> alto@ietf.org <javascript:_e({}, 'cvml', 'alto@ietf.org');>
>> https://www.ietf.org/mailman/listinfo/alto
>>
>>
>> _______________________________________________
>> alto mailing list
>> alto@ietf.org <javascript:_e({}, 'cvml', 'alto@ietf.org');>
>> https://www.ietf.org/mailman/listinfo/alto
>>
>>
>

--047d7b5d4d60f0b1d104dcfde5f0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br>On Saturday, May 18, 2013, Ben Niven-Jenkins  wrote:<br><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><div dir=3D"auto"><div>I think that&#39;s a deployment =
decision. Hostname+Port would be a reasonable suggestion for a starting/def=
ault position IMO (i.e load balanced servers must be consistent=A0</div>
<div></div></div></blockquote><div><br></div><div>Agreed.=A0Load balanced s=
ervers with the same dns name + port should give out=A0consistent tag, as t=
hese servers are supposed to be indistinguishable.</div><div>=A0</div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">
<div dir=3D"auto"><div>and an implementation may want to offer the ability =
to relax that to domain prefix or something else).=A0</div><div></div></div=
></blockquote><div><br></div><div>The=A0current spec does not explicitly sp=
ecify such a relaxation.=A0When=A0you say deployment, you mean that a given=
=A0<span></span>set of=A0clients and servers agree, out of ALTO protocol su=
ch as using configuration files or hard coding, on the relaxation. Right? T=
here can be=A0mechanisms that can be introduced to ALTO=A0to explicitly=A0c=
onvey relaxation policies, e.g., announcement=A0in IRD=A0meta (Wendy sugges=
ted=A0adding a &quot;consistent-with&quot; attribute to indicate such &quot=
;relaxation&quot;), but I feel that this should be left to future work. Agr=
ee?</div>
<div><br></div><div>Thanks a lot!</div><div><br></div><div>Richard</div><di=
v>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex"><div dir=3D"auto"><div>Ben</div><=
div>
<br>On 17 May 2013, at 20:47, &quot;Y. Richard Yang&quot; &lt;<a href=3D"ja=
vascript:_e({}, &#39;cvml&#39;, &#39;yry@cs.yale.edu&#39;);" target=3D"_bla=
nk">yry@cs.yale.edu</a>&gt; wrote:<br><br></div><blockquote type=3D"cite"><=
div>
<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Thu, May 16, 2013 at 4:51 PM, Ben Niven-Jenkins <span dir=3D"ltr">&lt;<a=
 href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;ben@niven-jenkins.co.uk&#39=
;);" target=3D"_blank">ben@niven-jenkins.co.uk</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"auto"><div>Can we mandate the vt=
ag has the equivalent properties of a strong etag in HTTP? i.e. if an alto =
service is provided by multiple servers then those servers must ensure that=
 vtags are consistent across servers/versions?</div>

</div></blockquote><div><br></div><div>A problem I see is how to indicate t=
o an ALTO Client the set of servers that are consistent: Because they are l=
inked in one entry of one IRD, have the same DNS prefix (security problem?)=
, signed using the same certificate, ...?=A0</div>

<div><br></div><div>Any thought?</div><div>=A0</div><div>Richard</div><div>=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex"><div dir=3D"auto">
<div><br></div><div>If not we could have the equivalent of weak and strong =
vtags and in the case of weak the client would expect the same server (IP &=
amp; port) to return consistent vtags but if it connected to another server=
 it would have to re-retrieve the entire cost map if it wanted to compare i=
t to a filtered cost map from the same (2nd) server.=A0</div>

<div><br></div><div>(BTW I&#39;m not sure you can compare a filtered costma=
p against a full cost map if the costs are ordinal)</div><div><br></div><di=
v>Ben</div><div><div><div><br>On 15 May 2013, at 17:45, Richard Alimi &lt;<=
a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;rich@velvetsea.net&#39;);"=
 target=3D"_blank">rich@velvetsea.net</a>&gt; wrote:<br>

<br></div><blockquote type=3D"cite"><div><div dir=3D"ltr"><span style=3D"fo=
nt-family:arial,sans-serif;font-size:13px">One question that Wendy brought =
up was: &quot;if one resource directory can refer to a different resource d=
irectory which may live at a different server or administrative domain, whe=
n is it safe for an ALTO Client to conclude that a cost metric means the sa=
me thing?&quot; A particular example here is the full cost map and filtered=
 cost map. =A0If the client fetched the full cost map with the &#39;routing=
cost&#39; cost metric, and then later wanted to use a more refined query, t=
hen presumably the client should be able to assume that the values in the f=
iltered cost map (also with the &#39;routingcost&#39; cost metric) mean the=
 same thing.</span><div>



<span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span></di=
v><div><span style=3D"font-family:arial,sans-serif;font-size:13px">A simila=
r thing holds for version tags. =A0If the client finds a cost map with vers=
ion tag &#39;1234&#39;, under what conditions should it declare that it mat=
ches the version tag for a particular network map? =A0Similar to the cost m=
ap example above, both may come from a different server or administrative d=
omain.</span></div>



<div><span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span=
></div><div><span style=3D"font-family:arial,sans-serif;font-size:13px">To =
resolve this ambiguity, we are proposing to add the following to Section 8.=
3.1:</span></div>



<div><span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span=
></div><div><font face=3D"arial, sans-serif">&quot;The meanings of identifi=
ers used in resources discovered via an entry point to an ALTO Server (i.e.=
, by the ALTO Discovery Protocol) SHOULD be consistent with each other. In =
particular, a particular values for a different cost maps of the same cost =
metric should be comparable, and the version tag for a cost map should be c=
omparable to the version tag for the network map on which it was based, eve=
n if the two maps are provided by a different server.&quot;</font></div>



<div><font face=3D"arial, sans-serif"><br></font></div><div>I hope the inte=
nt here is clear. =A0Admittedly, this is probably not a crisp enough statem=
ent to put in the draft yet, but suggestions on improving it would be appre=
ciated.</div>



<div><br></div><div>Thanks,</div><div><font face=3D"arial, sans-serif">Rich=
</font></div></div>
</div></blockquote></div></div><blockquote type=3D"cite"><div><span>_______=
________________________________________</span><br><span>alto mailing list<=
/span><br><span><a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;alto@ietf=
.org&#39;);" target=3D"_blank">alto@ietf.org</a></span><br>

<span><a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_bla=
nk">https://www.ietf.org/mailman/listinfo/alto</a></span><br></div></blockq=
uote></div><br>_______________________________________________<br>
alto mailing list<br>
<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;alto@ietf.org&#39;);" tar=
get=3D"_blank">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br></div></div>
</div></blockquote></div></blockquote>

--047d7b5d4d60f0b1d104dcfde5f0--

From richard.alimi@gmail.com  Sat May 18 22:30:35 2013
Return-Path: <richard.alimi@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 86FDD21F8A48 for <alto@ietfa.amsl.com>; Sat, 18 May 2013 22:30:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 NT7bWYBHVxlL for <alto@ietfa.amsl.com>; Sat, 18 May 2013 22:30:34 -0700 (PDT)
Received: from mail-vb0-x235.google.com (mail-vb0-x235.google.com [IPv6:2607:f8b0:400c:c02::235]) by ietfa.amsl.com (Postfix) with ESMTP id 7B79821F8A0C for <alto@ietf.org>; Sat, 18 May 2013 22:30:34 -0700 (PDT)
Received: by mail-vb0-f53.google.com with SMTP id i3so3187273vbh.12 for <alto@ietf.org>; Sat, 18 May 2013 22:30:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=6LayvoSClJcjv6vDEEeuCyHmY9OsmRVz5R83FWpHqWs=; b=Rq1qTUH1S1CE46DnHAMEpogW9TXcdHzKG7oHjfantd81ENKJkZZNnMnKALB++qasc6 8Vajraw0LjD0ki02p64umG0EaO/X/WOEZJdjujNLoZbqcI3khmEkFyxdgR4Z3v0Kritt 4ZrV5Usr6XG7FO8u1H6uQWllRCeXtR3fxihrFFf0FOfrCO6iTQrRhQzu/WoYTkVJYqlo NbTmXUBA1hMAWzNtzcxeYu1CvQ6UJQITMyrTjTe7Gp7+VGU3GURJGWyS/DNQXL4l6VjQ P/a3gJ5k74jQvVfExDxA9Xk4imU354DIlV31E8qrDj+KBCVIz1efyF2Ykau06u6hOQr/ MCjA==
X-Received: by 10.52.114.135 with SMTP id jg7mr27490671vdb.78.1368941433825; Sat, 18 May 2013 22:30:33 -0700 (PDT)
MIME-Version: 1.0
Sender: richard.alimi@gmail.com
Received: by 10.52.120.77 with HTTP; Sat, 18 May 2013 22:30:13 -0700 (PDT)
In-Reply-To: <8FE5B848-109A-40E9-AF96-03920B873596@niven-jenkins.co.uk>
References: <CDBBA985.5A7E4%w.roome@alcatel-lucent.com> <8FE5B848-109A-40E9-AF96-03920B873596@niven-jenkins.co.uk>
From: Richard Alimi <rich@velvetsea.net>
Date: Sat, 18 May 2013 22:30:13 -0700
X-Google-Sender-Auth: teh_9GPcaprBWh5i5m_gJaTA9Ys
Message-ID: <CA+cvDaa6U1wSe-mgx3C_m+sJy0n-nBTXK0eaQormPAZTaSps5A@mail.gmail.com>
To: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Content-Type: multipart/alternative; boundary=bcaec548a4f1e1b25b04dd0b83bb
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Should server use "Expires" HTTP header
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: Sun, 19 May 2013 05:30:35 -0000

--bcaec548a4f1e1b25b04dd0b83bb
Content-Type: text/plain; charset=ISO-8859-1

On Fri, May 17, 2013 at 8:13 AM, Ben Niven-Jenkins
<ben@niven-jenkins.co.uk>wrote:

>
> On 17 May 2013, at 14:49, Wendy Roome wrote:
>
> > I assume you're referring to {13.2} of RFC 2616. That section strikes me
> as "a royal kludge." (Privately I'd apply a much stronger adjective, but
> I'm too much of a lady to use such language in public.)
> >
> > The problem is that HTTP defines multiple ways to declare expiration
> times -- Expires header, cache directives, etc. Those mechanisms have
> evolved over time, and not all servers use them consistently. So I think
> {13.2} is mostly about how to cope with legacy HTTP servers and missing or
> inconsistent information.
> >
> > Since we're starting fresh, why not just say that if an ALTO server
> wants to indicate a polling interval, it SHOULD set the Expires and the
> Date headers, and the client SHOULD use the difference as the approximate
> polling interval?
>
> That's basically what I was suggesting except rather than being specific
> about what the server must use, leave it to the client to determine based
> on how the client calculates freshness (as the client is likely in the best
> position to know what rate it might want to poll at as it know how
> up-to-date with any changes it might want to be).
>

I'm fine with adding a statement such as the following:

An ALTO Client determines the frequency at which ALTO information is
refreshed, and MAY be determined based on freshness information made
available via HTTP.

How does that sound?


>
> If we're going to pick one mechnaism I;d prefer we pick Cache-Control:
> max-age myself rather than Date/Expires (as max-age takes priority over
> Expires according to RFC2616).
>

I don't think that ALTO is the place to recommend one or the other. If this
is desired, it seems like this should be something in httpbis (if it isn't
already), or a different draft independent of ALTO.

Rich


> Ben
>
> >
> >       - Wendy Roome
> >
> > From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
> > Date: Thu, May 16, 2013 17:27
> > Subject: Re: [alto] Should server use "Expires" HTTP header
> >
> > Best current practice is to only to poll as often as you would
> revalidate the content (i.e. no more frequently than the instant the
> content becomes stale according to RFC2616).
>
>

--bcaec548a4f1e1b25b04dd0b83bb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Fri, May 17, 2013 at 8:13 AM, Ben Niven-Jenkins <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:ben@niven-jenkins.co.uk" target=3D"_blank">ben@niven-jenkin=
s.co.uk</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im"><br>
On 17 May 2013, at 14:49, Wendy Roome wrote:<br>
<br>
&gt; I assume you&#39;re referring to {13.2} of RFC 2616. That section stri=
kes me as &quot;a royal kludge.&quot; (Privately I&#39;d apply a much stron=
ger adjective, but I&#39;m too much of a lady to use such language in publi=
c.)<br>


&gt;<br>
&gt; The problem is that HTTP defines multiple ways to declare expiration t=
imes -- Expires header, cache directives, etc. Those mechanisms have evolve=
d over time, and not all servers use them consistently. So I think {13.2} i=
s mostly about how to cope with legacy HTTP servers and missing or inconsis=
tent information.<br>


&gt;<br>
&gt; Since we&#39;re starting fresh, why not just say that if an ALTO serve=
r wants to indicate a polling interval, it SHOULD set the Expires and the D=
ate headers, and the client SHOULD use the difference as the approximate po=
lling interval?<br>


<br>
</div>That&#39;s basically what I was suggesting except rather than being s=
pecific about what the server must use, leave it to the client to determine=
 based on how the client calculates freshness (as the client is likely in t=
he best position to know what rate it might want to poll at as it know how =
up-to-date with any changes it might want to be).<br>

</blockquote><div><br></div><div style>I&#39;m fine with adding a statement=
 such as the following:</div><div style><br></div><div style>An ALTO Client=
 determines the frequency at which ALTO information is refreshed, and MAY b=
e determined based on freshness information made available via HTTP.</div>

<div><br></div><div style>How does that sound?</div><div>=A0</div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex">
<br>
If we&#39;re going to pick one mechnaism I;d prefer we pick Cache-Control: =
max-age myself rather than Date/Expires (as max-age takes priority over Exp=
ires according to RFC2616).<br></blockquote><div><br></div><div style>

I don&#39;t think that ALTO is the place to recommend one or the other. If =
this is desired, it seems like this should be something in httpbis (if it i=
sn&#39;t already), or a different draft independent of ALTO.</div><div>

<br></div><div style>Rich</div><div style><br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Ben<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
&gt;<br>
&gt; =A0 =A0 =A0 - Wendy Roome<br>
&gt;<br>
&gt; From: Ben Niven-Jenkins &lt;<a href=3D"mailto:ben@niven-jenkins.co.uk"=
>ben@niven-jenkins.co.uk</a>&gt;<br>
&gt; Date: Thu, May 16, 2013 17:27<br>
&gt; Subject: Re: [alto] Should server use &quot;Expires&quot; HTTP header<=
br>
&gt;<br>
&gt; Best current practice is to only to poll as often as you would revalid=
ate the content (i.e. no more frequently than the instant the content becom=
es stale according to RFC2616).<br>
<br>
</div></div></blockquote></div><br></div></div>

--bcaec548a4f1e1b25b04dd0b83bb--

From internet-drafts@ietf.org  Tue May 21 18:21:09 2013
Return-Path: <internet-drafts@ietf.org>
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 99ACB21F930C; Tue, 21 May 2013 18:21:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.6
X-Spam-Level: 
X-Spam-Status: No, score=-102.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
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 s8V5zDsCYXvi; Tue, 21 May 2013 18:21:08 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id BC15A21F923D; Tue, 21 May 2013 18:20:38 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.50
Message-ID: <20130522012038.23243.53309.idtracker@ietfa.amsl.com>
Date: Tue, 21 May 2013 18:20:38 -0700
Cc: alto@ietf.org
Subject: [alto] I-D Action: draft-ietf-alto-protocol-16.txt
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: Wed, 22 May 2013 01:21:09 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Application-Layer Traffic Optimization Wo=
rking Group of the IETF.

	Title           : ALTO Protocol
	Author(s)       : Richard Alimi
                          Reinaldo Penno
                          Y. Richard Yang
	Filename        : draft-ietf-alto-protocol-16.txt
	Pages           : 80
	Date            : 2013-05-21

Abstract:
   Applications using the Internet already have access to topology
   information of Internet Service Provider (ISP) networks.  For
   example, views to Internet routing tables at looking glass servers
   are available and can be practically downloaded to many application
   clients.  What is missing is knowledge of the underlying network
   topologies from the point of view of ISPs (henceforth referred as
   Providers).  In other words, what a Provider prefers in terms of
   traffic optimization -- and a way to distribute it.

   The Application-Layer Traffic Optimization (ALTO) Service provides
   network information (e.g., basic network location structure and
   preferences of network paths) with the goal of modifying network
   resource consumption patterns while maintaining or improving
   application performance.  The basic information of ALTO is based on
   abstract maps of a network.  These maps provide a simplified view,
   yet enough information about a network for applications to
   effectively utilize them.  Additional services are built on top of
   the maps.

   This document describes a protocol implementing the ALTO Service.
   Although the ALTO Service would primarily be provided by the network
   service providers (e.g., Internet service providers), content service
   providers and third parties could also operate an ALTO service.
   Applications that could use this service are those that have a choice
   to which end points to connect.  Examples of such applications are
   peer-to-peer (P2P) and content delivery networks.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-alto-protocol

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-alto-protocol-16

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-alto-protocol-16


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From yang.r.yang@gmail.com  Tue May 21 18:28:26 2013
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 A0B8621F936E for <alto@ietfa.amsl.com>; Tue, 21 May 2013 18:28:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.677
X-Spam-Level: 
X-Spam-Status: No, score=-1.677 tagged_above=-999 required=5 tests=[AWL=0.300,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 dliX34bfkouB for <alto@ietfa.amsl.com>; Tue, 21 May 2013 18:28:25 -0700 (PDT)
Received: from mail-da0-x236.google.com (mail-da0-x236.google.com [IPv6:2607:f8b0:400e:c00::236]) by ietfa.amsl.com (Postfix) with ESMTP id B460421F930A for <alto@ietf.org>; Tue, 21 May 2013 18:28:25 -0700 (PDT)
Received: by mail-da0-f54.google.com with SMTP id z17so797165dal.13 for <alto@ietf.org>; Tue, 21 May 2013 18:28:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=+DOiLkiJd7Ts7AvURI0d5YoY2PNZTpdlPWQZ7bjXfA4=; b=KDHrdszlRY3xEGXQat6xQKDFnLW7WH45DUT5SrvAfrNMHMILzOXss2+NyNpmFGTnlM VTcYopvdydEx0y53y9kbyBGQRP46IzpH1HyhfedVt56B9y+Rba90JW21sdCL1McTT3f/ SuxgS3WmLNZ6H9yb4+q2tVxfT5/Pl65nFle+SMl3anF1rND1qepe4cKV5yEXFW4EWCEN AaC0ZsBVvDwe0cVGN7AumDRc+d6KiVKqvgcjD0LFz4lJesOUgbqlm0s6o7FMOPBSNlRW dpJH7vA9nKmNtxEm1MBYbBX8BhsTkM+/05MsUZepZop9GyUlIcr9P0jOWW9esPaTNsQa 0sCQ==
MIME-Version: 1.0
X-Received: by 10.68.223.10 with SMTP id qq10mr5400385pbc.57.1369186105454; Tue, 21 May 2013 18:28:25 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.27.233 with HTTP; Tue, 21 May 2013 18:28:25 -0700 (PDT)
Date: Tue, 21 May 2013 21:28:25 -0400
X-Google-Sender-Auth: z-4JA5Uj9I6zU0cfO9h_C8fNaRY
Message-ID: <CANUuoLotYBxHMGF61dkWwqCP2mqOpTPLDwB-96Hzpidvi-PUyg@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: IETF ALTO <alto@ietf.org>
Content-Type: multipart/alternative; boundary=047d7b2e09df7277be04dd447be5
Subject: [alto] Protocol update
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: Wed, 22 May 2013 01:28:26 -0000

--047d7b2e09df7277be04dd447be5
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

We just posted a version to seek feedback. A diff of the changes can be
found at:
http://www.ietf.org/rfcdiff?url2=draft-ietf-alto-protocol-16

Here are major changes:

1. Network Map Version Tags
   Changed Sec. 6.3 to mention the consistency discussions

2. Mention cross Cost Map
  Added a short section Sec. 6.4

3. Add a short guideline section Sec. 8.3.6 on Refresh

4. Changed to single media-type
  Please see Sec. 8.5

5. Other changes suggested per the mailing list.

Your feedback is greatly appreciated!

Richard

--047d7b2e09df7277be04dd447be5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi all,<div><br></div><div>We just posted a version to see=
k feedback. A diff of the changes can be found at:</div><div><a href=3D"htt=
p://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-alto-protocol-16">http://www.iet=
f.org/rfcdiff?url2=3Ddraft-ietf-alto-protocol-16</a><br>
</div><div><br></div><div style>Here are major changes:</div><div style><br=
></div><div style>1. Network Map Version Tags</div><div style>=A0 =A0Change=
d Sec. 6.3 to mention the consistency discussions</div><div style><br></div=
>
<div style>2. Mention cross Cost Map</div><div style>=A0 Added a short sect=
ion Sec. 6.4</div><div style><br></div><div style>3. Add a short guideline =
section Sec. 8.3.6 on Refresh</div><div style><br></div><div style>4. Chang=
ed to single media-type</div>
<div style>=A0 Please see Sec. 8.5</div><div style><br></div><div style>5. =
Other changes suggested per the mailing list.</div><div style><br></div><di=
v style>Your feedback is greatly appreciated!</div><div style><br></div><di=
v style>
Richard</div></div>

--047d7b2e09df7277be04dd447be5--

From w.roome@alcatel-lucent.com  Thu May 23 07:06:23 2013
Return-Path: <w.roome@alcatel-lucent.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 505DB21F95EF for <alto@ietfa.amsl.com>; Thu, 23 May 2013 07:06:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.801
X-Spam-Level: 
X-Spam-Status: No, score=-9.801 tagged_above=-999 required=5 tests=[AWL=0.798,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 8-CJVoFCMZEn for <alto@ietfa.amsl.com>; Thu, 23 May 2013 07:06:16 -0700 (PDT)
Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by ietfa.amsl.com (Postfix) with ESMTP id B9CC121F960D for <alto@ietf.org>; Thu, 23 May 2013 07:06:16 -0700 (PDT)
Received: from usnavsmail3.ndc.alcatel-lucent.com (usnavsmail3.ndc.alcatel-lucent.com [135.3.39.11]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id r4NE6F9W026711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Thu, 23 May 2013 09:06:16 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail3.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r4NE6FWR028882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Thu, 23 May 2013 09:06:15 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r4NE6Cr4023151 for <alto@ietf.org>; Thu, 23 May 2013 09:06:14 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.4.130416
Date: Thu, 23 May 2013 10:06:56 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: IETF ALTO <alto@ietf.org>
Message-ID: <CDC39AC0.5C870%w.roome@alcatel-lucent.com>
Thread-Topic: Draft 16
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.11
Subject: Re: [alto] Draft 16
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: Thu, 23 May 2013 14:06:23 -0000

{6.3} says:

  "Two Network Maps are the same if (1) they are retrieved from the same
ALTO Server (i.e., same Hostname + Port) and (2) ...."

Isn't (1) overly restrictive?  That means an organization cannot run
multiple ALTO servers, on different hosts/ports, which share the same
network map and cost maps.

Yes, the last sentence of that paragraph says "If a logical ALTO Server is
implemented by multiple load balance servers with the same Hostname +
Port, the servers need to ensure the consistency." But isn't that
referring to a transparent load balancer, where the client always uses the
same host/port and has the illusion that it's a single server?

BTW, in {8.5.4}, the ALTO server at custom.alto.example.com presumably
uses the same network map as the server at alto.example.com in {8.5.3}.

I'm not sure how to resolve that without introducing some notion of ALTO
servers being "compatible". Maybe change the sentence to

	"Two Network Maps are the same if (1) they are retrieved from compatible
ALTO servers and (2) .... Two ALTO servers are compatible if one server's
Information Resource Directory {8.5} references services, including the
Information Resource Directory, provided by the other server."


	- Wendy Roome
  



From yang.r.yang@gmail.com  Thu May 23 08:08:14 2013
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 76EA721F9294 for <alto@ietfa.amsl.com>; Thu, 23 May 2013 08:08:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.216
X-Spam-Level: 
X-Spam-Status: No, score=-1.216 tagged_above=-999 required=5 tests=[AWL=0.160,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_84=0.6]
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 ji2mOYflGSm3 for <alto@ietfa.amsl.com>; Thu, 23 May 2013 08:08:10 -0700 (PDT)
Received: from mail-pd0-f170.google.com (mail-pd0-f170.google.com [209.85.192.170]) by ietfa.amsl.com (Postfix) with ESMTP id CA9DA21F9223 for <alto@ietf.org>; Thu, 23 May 2013 08:08:09 -0700 (PDT)
Received: by mail-pd0-f170.google.com with SMTP id x10so2884186pdj.29 for <alto@ietf.org>; Thu, 23 May 2013 08:08:05 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=fQzjQoF2ATYsYG8maNZ3eKekrkz8PpCuKL+8RVHbQwg=; b=dlSfNptfmdVPkyDTmjXd6Vxky7CVOdBS+KfaLJuZyOR0BOZgM7SQak9cNAWFZxWSXl 0C8YSR5AqhifuzF8IjQ2Am5GYv9gkAKVtwQ4dpzDYiPHGVxIayY66UMJRmT+xC2BGNtY 7eNNqHeGHYVSsG27myBbtuPu5z8W03abeVbQWaYTa2mkPThn7tasawyKErHDQsbVUsd4 5db/vJmQTE5XKPuS6yHYh1Efh+hjnOL5vacO2wIHbP5rBNFfRr8WWir06QZnc+U21sz9 v0WECULKR90ka5GTE0BvswEyhjnM7mceZ2h+Gzpp7sJdh4OOK+EFznXuOTUiXNNKFkx+ EVAw==
MIME-Version: 1.0
X-Received: by 10.66.119.49 with SMTP id kr17mr13779853pab.149.1369321685474;  Thu, 23 May 2013 08:08:05 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.27.233 with HTTP; Thu, 23 May 2013 08:08:05 -0700 (PDT)
In-Reply-To: <CDC39AC0.5C870%w.roome@alcatel-lucent.com>
References: <CDC39AC0.5C870%w.roome@alcatel-lucent.com>
Date: Thu, 23 May 2013 11:08:05 -0400
X-Google-Sender-Auth: PEJZFYnOoQ8Kx3hFdawdRYhQwsQ
Message-ID: <CANUuoLr-kggL-R8VZBkbvgznxm8pis4A3C=3YQjs-F_-woiwTw@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b072258a5654e04dd640c24
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Draft 16
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: Thu, 23 May 2013 15:08:14 -0000

--047d7b072258a5654e04dd640c24
Content-Type: text/plain; charset=ISO-8859-1

On Thu, May 23, 2013 at 10:06 AM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> {6.3} says:
>
>   "Two Network Maps are the same if (1) they are retrieved from the same
> ALTO Server (i.e., same Hostname + Port) and (2) ...."
>
> Isn't (1) overly restrictive?  That means an organization cannot run
> multiple ALTO servers, on different hosts/ports, which share the same
> network map and cost maps.
>

The current spec gives only one explicit condition to verify that two
network maps are the same: same Hostname+Port, and same Version tag. Your
example of different hosts/ports could be resolved by matching on relaxed
conditions (e.g., some higher level of domain name such as example.com).
But we have not introduced any protocol mechanism to explicitly convey
such. You can think about the current spec as providing one sufficient
condition. One possibility to indicate more clearly is to change the
wording to:

======
  "One sufficient test to verify that two Network Maps are the same
consists of the following
  two conditions: (1) they are retrieved from the same ALTO Server (i.e.,
same Hostname
   + Port) and (2) they have the same Version Tag, where two Version Tags
match only
   if their strings are the same.  Whenever the content of the Network Map
maintained by an
   ALTO Server changes, the Version Tag MUST also be changed.
   Possibilities for generating a Version Tag include the last-modified
   timestamp for the Network Map, or a hash of its contents, where the
   collision probability is considered zero in practical deployment
   scenarios.  If a logical ALTO Server is implemented by multiple load
   balance servers with the same Hostname + Port, the servers need to
   ensure the consistency.

    A deployment may relax the preceding sufficient test. One example
relaxation is to
   relax condition (1) to match on a suffix of the domain name instead of
the exact Hostname.
   This is  outside the scope of this document. "
 ====

What do you think?

Note that even matching Hostname is already somehow "relaxed". One
potential issue is that the same server (Hostname) may provide two network
maps, one coarse-grained, and one fine-grained. Since the matching does not
consider the complete URI, this can cause some ambiguity, in particular
when a Cost Map refers to a Network Map.

Richard

Yes, the last sentence of that paragraph says "If a logical ALTO Server is
> implemented by multiple load balance servers with the same Hostname +
> Port, the servers need to ensure the consistency." But isn't that
> referring to a transparent load balancer, where the client always uses the
> same host/port and has the illusion that it's a single server?
>
> Yes. The sentence is a reminder about the complexity when load balance
servers are involved.


> BTW, in {8.5.4}, the ALTO server at custom.alto.example.com presumably
> uses the same network map as the server at alto.example.com in {8.5.3}.
>
> I'm not sure how to resolve that without introducing some notion of ALTO
> servers being "compatible". Maybe change the sentence to
>
>         "Two Network Maps are the same if (1) they are retrieved from
> compatible
> ALTO servers and (2) .... Two ALTO servers are compatible if one server's
> Information Resource Directory {8.5} references services, including the
> Information Resource Directory, provided by the other server."
>
>


>         - Wendy Roome
>
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>

--047d7b072258a5654e04dd640c24
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Thu, May 23, 2013 at 10:06 AM, Wendy Roome <span dir=3D"ltr">&lt;<a href=
=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lu=
cent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">{6.3} says:<br>
<br>
=A0 &quot;Two Network Maps are the same if (1) they are retrieved from the =
same<br>
ALTO Server (i.e., same Hostname + Port) and (2) ....&quot;<br>
<br>
Isn&#39;t (1) overly restrictive? =A0That means an organization cannot run<=
br>
multiple ALTO servers, on different hosts/ports, which share the same<br>
network map and cost maps.<br></blockquote><div><br></div><div style>The cu=
rrent spec gives only one explicit condition to verify that two network map=
s are the same: same Hostname+Port, and same Version tag. Your example of d=
ifferent hosts/ports could be resolved by matching on relaxed conditions (e=
.g., some higher level of domain name such as <a href=3D"http://example.com=
">example.com</a>). But we have not introduced any protocol mechanism to ex=
plicitly convey such. You can think about the current spec as providing one=
 sufficient condition. One possibility to indicate more clearly is to chang=
e the wording to:</div>
<div style><br></div><div style>=3D=3D=3D=3D=3D=3D</div><div style>=A0 &quo=
t;One sufficient test to verify that two Network Maps are the same consists=
 of the following <br>=A0 two conditions: (1) they are retrieved from the s=
ame ALTO Server (i.e., same Hostname <br>
=A0 =A0+ Port) and (2) they have the same Version Tag, where two Version Ta=
gs match only <br>=A0 =A0if their strings are the same. =A0Whenever the con=
tent of the Network Map maintained by an</div><div>=A0 =A0ALTO Server chang=
es, the Version Tag MUST also be changed.</div>
<div>=A0 =A0Possibilities for generating a Version Tag include the last-mod=
ified</div><div>=A0 =A0timestamp for the Network Map, or a hash of its cont=
ents, where the</div><div>=A0 =A0collision probability is considered zero i=
n practical deployment</div>
<div>=A0 =A0scenarios. =A0If a logical ALTO Server is implemented by multip=
le load</div><div>=A0 =A0balance servers with the same Hostname + Port, the=
 servers need to</div><div style>=A0 =A0ensure the consistency.=A0</div><di=
v style><br>
</div><div style>=A0 =A0 A deployment may relax the preceding sufficient te=
st. One example relaxation is to=A0</div><div style>=A0 =A0relax condition =
(1) to match on a suffix of the domain name instead of the exact Hostname.=
=A0</div>
<div style>=A0 =A0This is =A0outside the scope of this document. &quot;</di=
v><div style>=A0=3D=3D=3D=3D</div><div style><br></div><div style>What do y=
ou think?</div><div style><br></div><div style>Note that even matching Host=
name is already somehow &quot;relaxed&quot;. One potential issue is that th=
e same server (Hostname) may provide two network maps, one coarse-grained, =
and one fine-grained. Since the matching does not consider the complete URI=
, this can cause some ambiguity, in particular when a Cost Map refers to a =
Network Map.</div>
<div style><br></div><div style>Richard</div><div style><br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-widt=
h:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-le=
ft:1ex">

Yes, the last sentence of that paragraph says &quot;If a logical ALTO Serve=
r is<br>
implemented by multiple load balance servers with the same Hostname +<br>
Port, the servers need to ensure the consistency.&quot; But isn&#39;t that<=
br>
referring to a transparent load balancer, where the client always uses the<=
br>
same host/port and has the illusion that it&#39;s a single server?<br>
<br></blockquote><div style>Yes. The sentence is a reminder about the compl=
exity when load balance servers are involved.</div><div style>=A0</div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddi=
ng-left:1ex">

BTW, in {8.5.4}, the ALTO server at <a href=3D"http://custom.alto.example.c=
om" target=3D"_blank">custom.alto.example.com</a> presumably<br>
uses the same network map as the server at <a href=3D"http://alto.example.c=
om" target=3D"_blank">alto.example.com</a> in {8.5.3}.<br>
<br>
I&#39;m not sure how to resolve that without introducing some notion of ALT=
O<br>
servers being &quot;compatible&quot;. Maybe change the sentence to<br>
<br>
=A0 =A0 =A0 =A0 &quot;Two Network Maps are the same if (1) they are retriev=
ed from compatible<br>
ALTO servers and (2) .... Two ALTO servers are compatible if one server&#39=
;s<br>
Information Resource Directory {8.5} references services, including the<br>
Information Resource Directory, provided by the other server.&quot;<br>=A0<=
br></blockquote><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,=
204);border-left-style:solid;padding-left:1ex">

=A0 =A0 =A0 =A0 - Wendy Roome<br>
<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div></div>

--047d7b072258a5654e04dd640c24--

From ben@niven-jenkins.co.uk  Mon May 27 23:29:06 2013
Return-Path: <ben@niven-jenkins.co.uk>
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 BDE5921F93F1 for <alto@ietfa.amsl.com>; Mon, 27 May 2013 23:29:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[AWL=-4.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 Jx59zys443z4 for <alto@ietfa.amsl.com>; Mon, 27 May 2013 23:29:00 -0700 (PDT)
Received: from mailex.mailcore.me (mailex.mailcore.me [94.136.40.61]) by ietfa.amsl.com (Postfix) with ESMTP id 5995C21F92A5 for <alto@ietf.org>; Mon, 27 May 2013 23:28:59 -0700 (PDT)
Received: from cpc4-cmbg17-2-0-cust814.5-4.cable.virginmedia.com ([86.14.227.47] helo=[192.168.0.4]) by mail10.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <ben@niven-jenkins.co.uk>) id 1UhDOz-0005DB-Pc; Tue, 28 May 2013 07:28:57 +0100
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=us-ascii
From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
In-Reply-To: <CA+cvDaa6U1wSe-mgx3C_m+sJy0n-nBTXK0eaQormPAZTaSps5A@mail.gmail.com>
Date: Tue, 28 May 2013 07:28:54 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <82D4C98B-B825-4E64-9B2E-0D224A4ADEC6@niven-jenkins.co.uk>
References: <CDBBA985.5A7E4%w.roome@alcatel-lucent.com> <8FE5B848-109A-40E9-AF96-03920B873596@niven-jenkins.co.uk> <CA+cvDaa6U1wSe-mgx3C_m+sJy0n-nBTXK0eaQormPAZTaSps5A@mail.gmail.com>
To: Richard Alimi <rich@velvetsea.net>
X-Mailer: Apple Mail (2.1085)
X-Mailcore-Auth: 9600544
X-Mailcore-Domain: 172912
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] Should server use "Expires" HTTP header
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: Tue, 28 May 2013 06:29:06 -0000

Rich,

On 19 May 2013, at 06:30, Richard Alimi wrote:
> On Fri, May 17, 2013 at 8:13 AM, Ben Niven-Jenkins =
<ben@niven-jenkins.co.uk> wrote:
>=20
> That's basically what I was suggesting except rather than being =
specific about what the server must use, leave it to the client to =
determine based on how the client calculates freshness (as the client is =
likely in the best position to know what rate it might want to poll at =
as it know how up-to-date with any changes it might want to be).
>=20
> RA: I'm fine with adding a statement such as the following:
>=20
> RA: An ALTO Client determines the frequency at which ALTO information =
is refreshed, and MAY be determined based on freshness information made =
available via HTTP.
>=20
> RA: How does that sound?

Honestly I don't think it adds anything as this is what a client is =
likely to do in the absence of any text in the spec.

> If we're going to pick one mechnaism I;d prefer we pick Cache-Control: =
max-age myself rather than Date/Expires (as max-age takes priority over =
Expires according to RFC2616).
>=20
> RA: I don't think that ALTO is the place to recommend one or the =
other. If this is desired, it seems like this should be something in =
httpbis (if it isn't already), or a different draft independent of ALTO.

I agree we shouldn't try to pick one versus the other (hence my original =
suggestion was to base it on the freshness of the response rather than a =
particular freshness mechanism) however I do think it would be useful =
for the ALTO spec to say something.

Atom didn't specify anything for this case either and it caused a lot of =
confusion for deployers/implementors looking at the questions on =
stackoverflow/etc.

If we want to avoid RFC2116 type words (which would apply to this case =
IMO as it is a form of interop issue) then maybe something like:

An ALTO Client determines the frequency at which ALTO information is =
refreshed and it is suggested that ALTO clients do not refresh ALTO =
responses before they become stale according to RFC2616.

Ben


From vkg@bell-labs.com  Wed May 29 14:30:01 2013
Return-Path: <vkg@bell-labs.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 9DB0221F972C for <alto@ietfa.amsl.com>; Wed, 29 May 2013 14:30:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -109.11
X-Spam-Level: 
X-Spam-Status: No, score=-109.11 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 EM-mZkpykI26 for <alto@ietfa.amsl.com>; Wed, 29 May 2013 14:29:57 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id EDA2421F8E12 for <alto@ietf.org>; Wed, 29 May 2013 14:29:56 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r4TLTrr8022092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Wed, 29 May 2013 16:29:56 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r4TLTrJ1015177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Wed, 29 May 2013 16:29:53 -0500
Received: from shoonya.ih.lucent.com (shoonya.ih.lucent.com [135.185.237.229]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r4TLTrWi015057 for <alto@ietf.org>; Wed, 29 May 2013 16:29:53 -0500 (CDT)
Message-ID: <51A6742E.2070206@bell-labs.com>
Date: Wed, 29 May 2013 16:33:34 -0500
From: "Vijay K. Gurbani" <vkg@bell-labs.com>
Organization: Bell Laboratories, Alcatel-Lucent
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130311 Thunderbird/17.0.4
MIME-Version: 1.0
To: alto <alto@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.10
Subject: [alto] ALTO WG Virtual Interim Meeting --- deciding the date and time
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: Wed, 29 May 2013 21:30:01 -0000

Folks: Enrico and I will like to hold a WG virtual interim meeting to
facilitate the protocol work to completion.

We believe that the WG is close to finishing the protocol work and it
will be conducive to get the attendant folks together to finalize the
remaining issues.

A poll has been opened up to decide when to hold the meeting.  The link
to the poll is:

    http://www.doodle.com/sgfn6ihask9rz58k

Please adjust for local time zones when answering the poll.

Please indicate your interest in attending the meeting by checking *ALL*
the times on the poll that you are available.  As soon as we have a
quorum, we will send out further information regarding logistics.

Please indicate your interest in attending the meeting by the end of
this week, i.e., by Sunday, June 1 2013.  That leaves us with enough
time to attend to the logistics of getting the meeting scheduled.

Thank you.

- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq

From vkg@bell-labs.com  Fri May 31 06:23:11 2013
Return-Path: <vkg@bell-labs.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 D01DC21F8C1A for <alto@ietfa.amsl.com>; Fri, 31 May 2013 06:23:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level: 
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 VjahL6n2bVSZ for <alto@ietfa.amsl.com>; Fri, 31 May 2013 06:23:07 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id 107DA21F8825 for <alto@ietf.org>; Fri, 31 May 2013 06:23:06 -0700 (PDT)
Received: from usnavsmail3.ndc.alcatel-lucent.com (usnavsmail3.ndc.alcatel-lucent.com [135.3.39.11]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r4VDMG5X021613 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Fri, 31 May 2013 08:22:17 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail3.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r4VDMGYF003043 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Fri, 31 May 2013 08:22:16 -0500
Received: from shoonya.ih.lucent.com (vkg.lra.lucent.com [135.244.1.130]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r4VDMF9Y023370 for <alto@ietf.org>; Fri, 31 May 2013 08:22:16 -0500 (CDT)
Message-ID: <51A8A4E2.1050001@bell-labs.com>
Date: Fri, 31 May 2013 08:25:54 -0500
From: "Vijay K. Gurbani" <vkg@bell-labs.com>
Organization: Bell Laboratories, Alcatel-Lucent
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130311 Thunderbird/17.0.4
MIME-Version: 1.0
To: alto <alto@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.11
Subject: [alto] Reminder: ALTO WG Virtual Interim Meeting --- deciding the date and time
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: Fri, 31 May 2013 13:23:12 -0000

Folks: If you have not yet done so and are interested in attending
the ALTO virtual meeting, please go to the link below and indicate
your preferred time.

A poll has been opened up to decide when to hold the meeting.  The link
to the poll is:

    http://www.doodle.com/sgfn6ihask9rz58k

Please adjust for local time zones when answering the poll.

Please indicate your interest in attending the meeting by checking *ALL*
the times on the poll that you are available.  As soon as we have a
quorum, we will send out further information regarding logistics.

Please indicate your interest in attending the meeting by the end of
this week, i.e., by Sunday, June 2 2013.  That leaves us with enough
time to attend to the logistics of getting the meeting scheduled.

Thanks,

- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq
