Hi Richard and WG,

On Issue 1:

My personal opinions on Issue 1 are:

1. Both work in a single query and Approach 2 may look simpler.
2. However, Approach 1 eliminates the need to "name" the property map. Thus, it 
may work with the current SSE extension much more easily: Issue 2 will not even 
be raised.

On Issue 2:

The anonymous functions (at least in JVM-based languages) are not really 
"anonymous" -- the compilers name the functions internally. Applying the 
similar method in ALTO, anonymous resources should be those temporarily 
generated by a query and should be automatically named by the ALTO server.

There are three approaches.

1. Use "resource-id" in "vtag".
The easiest way seems to force a "vtag" field be included in ALL responses and 
the ALTO Server fills in the "resource-id" field for each "anonymous resource". 
However, it does not work with Filtered Network Map.

2. Use the combination of "resource-id" and "tag".
Might be tricky when using SSE, such as for a combination of Network Map and 
its corresponding Filtered Network Map together.

3. Add a new field.
Seems like the most clean way.

Summary:

One concern is that the benefits of anonymous resources are not that obvious at 
the moment. If we ever choose to introduce anonymous resources, my preference 
would be 3, 1, 2. And only in that case should we prefer Approach 2 in Issue 1.

Best Regards,
Kai

-----Original Messages-----
From:"Y. Richard Yang" <[email protected]>
Sent Time:2018-03-19 21:35:25 (Monday)
To: "IETF ALTO" <[email protected]>
Cc:
Subject: [alto] Path Vector final touch


Dear members of WG,


This is a friendly update from the authors of the path vector draft. To be up 
front, we are wrapping up nicely on defining the new cost type (cost-mode: 
array, cost-metric: ane) and the  new domain. These, however, are only two of 
the three building blocks. The third building block, on integrating the cost 
map and the property map, however, still needs final touch. During the design, 
the LHC/esnet use case and the software defined coalition use case provide 
strong support for the benefit of the path vector capability. On the other 
hand, they result in more diversity in the supported scenarios.


In a nut shell, the key issues are two:


1. How to handle compound data: cost map, endpoint cost map, and property map 
are all already defined. What PV needs is an integration. There are two 
approaches: (1) absorption reuse, in that we define a specific new type and 
import the existing types to build a new, single top-level object; (2) 
independent reuse, in that we allow the existing objects to remain independent 
and hence the system now consists of multiple top-level objects. The current 
design, using multipart, is (2), but some authors have a strong preference on 
(1).


2.. How to (Do we) handle “anonymous” resources? In several use cases, the 
property map is specific to the cost map. Hence, it should not be considered as 
an independent resource. Just as Java and some other languages support 
anonymous functions (e.g., some event handler), we can benefit from such a 
support. The authors are discussing the final wording.


Any expert opinions will be greatly appreciated, as we wrap this draft to 
finish all chartered items sooner.


Cheers,
Richard
--

Richard
_______________________________________________
alto mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/alto

Reply via email to