Sabine, Wendy, Nico, Just want to let you know that I just wrote a first version draft of supporting general cost types, and multi-cost is an example motivating the design: https://datatracker.ietf.org/doc/draft-yang-alto-general-cost-type/
I see other "struct" types to be defined, to replace the generic JSONValue in both ECS and cost maps. The basic idea is to go beyond 'numerical' and 'ordinal' in 'cost-mode'. Instead, we introduce schema languages, and the 'cost-mode' indicates the schema language and 'cost-metric' indicate the type defined using the schema language. It will be great to discuss how the "general" design might have on your multi-cost design. The example I gave uses YANG as the schema specification language, but unfortunately it does not produce as compact, flexible a representation as your spec. Richard On Mon, Oct 19, 2015 at 6:27 PM, <[email protected]> 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 : Multi-Cost ALTO > Authors : Sabine Randriamasy > Wendy Roome > Nico Schwan > Filename : draft-ietf-alto-multi-cost-01.txt > Pages : 23 > Date : 2015-10-19 > > Abstract: > The ALTO (Application Layer-Traffic Optimization) Protocol > ([RFC7285]) defines several services that return various metrics > describing the costs between network endpoints. For example, when > downloading a file that is mirrored on several sites, a user > application may use these ALTO cost metrics to determine the most > efficient mirror site. > > An ALTO Server may offer a variety of cost metrics, based on latency, > bandwidth, hop count, jitter, or whatever else the ALTO Server deems > useful. When selecting a mirror site, a client may consider more > than one metric, perhaps trading bandwidth for latency. While the > base ALTO Protocol allows a client to use more than one cost metric, > to do so, the client must request each metric separately. This > document defines a new service that allows a client to retrieve > several cost metrics with one request, which is considerably more > efficient. In addition, this document extends the ALTO constraint > tests to allow a user to specify an arbitrary logical combination of > tests on several cost metrics. > > > > The IETF datatracker status page for this draft is: > > https://urldefense.proofpoint.com/v2/url?u=https-3A__datatracker.ietf.org_doc_draft-2Dietf-2Dalto-2Dmulti-2Dcost_&d=AwICAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=4G36iiEVb2m_v-0RnP2gx9KZJjYQgfvrOCE3789JGIA&m=Xd_HLgaqYezBYFKuvPwEy-l1yTedlgKtJkOH4V34Yuc&s=ll9Yp5oMnBYK4CbUwySW4fnVY71Vwby7CAe9OUUGB_U&e= > > There's also a htmlized version available at: > > https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_html_draft-2Dietf-2Dalto-2Dmulti-2Dcost-2D01&d=AwICAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=4G36iiEVb2m_v-0RnP2gx9KZJjYQgfvrOCE3789JGIA&m=Xd_HLgaqYezBYFKuvPwEy-l1yTedlgKtJkOH4V34Yuc&s=TxiqIdnCP_WDu4XTslMrXpyEK-HRPv5WIYZo8OiBYO0&e= > > A diff from the previous version is available at: > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_rfcdiff-3Furl2-3Ddraft-2Dietf-2Dalto-2Dmulti-2Dcost-2D01&d=AwICAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=4G36iiEVb2m_v-0RnP2gx9KZJjYQgfvrOCE3789JGIA&m=Xd_HLgaqYezBYFKuvPwEy-l1yTedlgKtJkOH4V34Yuc&s=r-ambg6GI5PWGIZJyGfKe2xhkgO7Ph-Eb_Jm5XP43PY&e= > > > Please note that it may take a couple of minutes from the time of > submission > until the htmlized version and diff are available at tools.ietf.org. > > Internet-Drafts are also available by anonymous FTP at: > > https://urldefense.proofpoint.com/v2/url?u=ftp-3A__ftp.ietf.org_internet-2Ddrafts_&d=AwICAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=4G36iiEVb2m_v-0RnP2gx9KZJjYQgfvrOCE3789JGIA&m=Xd_HLgaqYezBYFKuvPwEy-l1yTedlgKtJkOH4V34Yuc&s=Ufa7jowVSi9gYQn2VUSQqHxvNfbqTtUfsstPV8_SaBY&e= > > _______________________________________________ > alto mailing list > [email protected] > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_alto&d=AwICAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=4G36iiEVb2m_v-0RnP2gx9KZJjYQgfvrOCE3789JGIA&m=Xd_HLgaqYezBYFKuvPwEy-l1yTedlgKtJkOH4V34Yuc&s=9BdPcPlcfWEL2-8O5l5NDaKW7fX1cIQx0SJGAjB0uA4&e=
_______________________________________________ alto mailing list [email protected] https://www.ietf.org/mailman/listinfo/alto
