Re: [Idr] [Can] Proposed CAN WG charter for discussion

Fang Gao <fredagao@foxmail.com> Tue, 31 January 2023 09:46 UTC

Return-Path: <fredagao@foxmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E306BC15170B; Tue, 31 Jan 2023 01:46:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.151
X-Spam-Level:
X-Spam-Status: No, score=-4.151 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, HTML_FONT_FACE_BAD=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=foxmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4bjFkueOcLSd; Tue, 31 Jan 2023 01:46:00 -0800 (PST)
Received: from out162-62-57-87.mail.qq.com (out162-62-57-87.mail.qq.com [162.62.57.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF11EC151700; Tue, 31 Jan 2023 01:45:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1675158355; bh=gSi0YAfHAa52LG5X31b8NRgGOSyODLzTK6fI4bDwdPs=; h=Date:From:To:Cc:Subject:References; b=IwaKHnMQ4vvFaUO5aljCaAnaqSv3g8YwamQ89BRozaegw3EqK+wSWpbM3xqVt0KlY 4NdH9K5B8w+mZI449rg7uMFoqn/iuDKVcQX5CYaemqo8wgHdy+E9ue4/bM+h63De3j HlTmgPDF/h0YHRugkb0lROp2hUw01u8deL4xN0q0=
Received: from LAPTOP-5EUP4MEO ([58.206.196.56]) by newxmesmtplogicsvrszb1-0.qq.com (NewEsmtp) with SMTP id B7020AD9; Tue, 31 Jan 2023 17:45:48 +0800
X-QQ-mid: xmsmtpt1675158348tfhy5xokq
Message-ID: <tencent_F17D71810B94A1093CC67C31D7608D34740A@qq.com>
X-QQ-XMAILINFO: OZZSS56D9fAj2Zp/yjWHfkkRtXrkohm1q2chxqp8/uDOLP0+AY90a8S9qWyUaU Jatzlo4ZYh4QrL0VxsSz9KCh+9pa0CB0jzs+iwFbWLy4DkmsC0BQ3bDDfxXvDrk5TstXB2ndyYwl Mk+J5n/DR6TC0NIZP8Qf0uDjcTDABtuihCrNjn6gHddoFsfMJyKYW4CCMIS1dtxkuX7RxQHUJg/2 EKDSKF3uiSr82ZsWJqda2FwliEMLm5bBQMif2LxD3ftD8mCYm+5E1nDH6lTCegA7yMasEXu3lkVm nxQurZ3ZtJNmmUM89b6WxsOjzChalUIZMC5P5slk73yeUVXU4s1+xQmB46t/iKMJltg0ZZL+gL72 hwGrABm3aXpMjD36pWP7xwXQvuxrsDhTP4uKeJ4Hg+n4YOkRiJAVOtN/woZuSxTdJL/HlOAmazlq UdZ5tNhKoXUCn69eG9RNfeINPca59HYWl4cknVruplXOuFA7xUXBFT/9joZv3TXZli8bLpQu9Vvh Fc6jSQLYUXW1L4zVZv5SZUC+KEIYZWMrSrJhg1WoAz8yb548sBRm1FQzYZU+2c17oTPPFPPkr/c1 AH4vGUiX4Hz5sK/+YsBcXItf0EsnK3a/ncjRNke6NLSxXIMZd03qZXjMzI244JjxUWObTdDf2a6K WMPtabB8uXDkh4RWsrB5Kw5Rgjl11CIzkmFPSzy4L5LWW6ZSfj8cloccpQxvTiNt35FGgGSdPOz5 YULcSjMZMHvddCu9BnQeeUj9tJdPKO+wZ70tuHgTUTxAnbvHZSVE9/a4D5cYkjO3bwpizJk9aS3T ktheA4vnjs65tmi+tQHnqNLPSBjU4G8eWDzt40p8LBNEAcC8TdtAvQPL1ETgjhrouDca4N0knRgo Ra/n3RpvbP1Obu5AVtQN+/kXJO6+CPibZGfRZXbJy9WrM7F+rTLcUQ6B6npgt7QFnncuydL++Hw7 PR4KtuAfwapgcVje9RzF1/fpM0WsS0q/fbOdELjvk=
Date: Tue, 31 Jan 2023 17:45:48 +0800
From: Fang Gao <fredagao@foxmail.com>
To: Raszuk <robert@raszuk.net>, Liu <liupengyjy@chinamobile.com>
Cc: "linda.dunbar" <linda.dunbar@futurewei.com>, jgs <jgs@juniper.net>, can <can@ietf.org>, "idr@ietf.org" <idr@ietf.org>, Farinacci <farinacci@gmail.com>
References: <202301311646078514713@mail.zgclab.edu.cn>, <2023013117372175303615@foxmail.com>
X-Priority: 3
X-GUID: 6E5B7398-4812-486A-9D1A-6868CE6C613F
X-Has-Attach: no
X-Mailer: Foxmail 7.2.24.88[cn]
Mime-Version: 1.0
X-OQ-MSGID: <2023013117454851303018@foxmail.com>
Content-Type: multipart/alternative; boundary="----=_001_NextPart626568365278_=----"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/mdn9tSoFD3DHwLjtvXgrsaQ1o0k>
Subject: Re: [Idr] [Can] Proposed CAN WG charter for discussion
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2023 09:46:04 -0000


About the Anycast IP, I think this is one of the approaches to provide unified entry point for application instance or service instance.

First, for the unified entry of application instances/service instance, there are two approaches commonly used by public cloud (OTT): 
1) Method 1--Anycast IP: Using the same IP address for application instances that are distributed at any site or any region. 
2) Method 2- Unified DNS domain name: Resolving the same Domain Name to different EIP address of different nearest region according to the location of the clients; 

Then, what kinds of service on the cloud in recent years might require a unified entry for application instances in different regions: 
1) Pre-allocate resources to create instances at multiple regions. It is uncertain which client will access to which regions, but it needs to ensure that the client go to the nearest region or be scheduled to the region with sufficient resources. 
2) Global Acceleration service (called as “GA”, already launched on AWS, ALI, Tencent, etc.): After the client reach the nearest POP site of public cloud carrier’s network, the traffic of the client is sent to the real back-end Region (where is the ECS instance belongs to) through the own backbone network of the public cloud, instead of going to the region through uncertain public internet networks. 
3) Internet to anywhere (An emerging potential service, cloud be called as “I2A” temporarily): The public cloud provides a new service that allocates the ESC by network latency requirement (or other constraints set by tenant). When the tenant purchasing ECS instances, instead of specifying a Region directly, it allows the tenant to select a latency range zone for ECS allocation. Then the public cloud carrier allocates ECS to a Region meet tenant's requirement (e.g., less than 500ms), and dynamically switchover the ECS to other region when the SLA of the original region changed and cannot meet the constraints. 

Next, we cloud take a look at the types of EIP on public cloud. We knew that the public IP address of ECS on the cloud is provided by the EIP (Elastic IP) service: 
1) Regional-level EIP Pool: Each region has its own IP address pool. It is the most common scenario. Tenants select the Region in which to allocate the ECS, then an unallocated EIP in the Regional EIP Pool will be obtained and bound to this ECS. 
2) Global-level EIP Pool: These IP subnets do not belong to any dedicated Region, but belong to the Global resources above regions. They can be considered as “Regionless” IP resource. For such instance, the ECS allocates an address in the global EIP Pool regardless which Region is it belong to. Maybe it could be corresponded to the Anycast address; 

At last, going back to the application and unified entry method it adopts. The unified entry is a requirement which is determined by the service/application itself, ant not depends on the “network-centric” mode or “application centric” mode. About the “unified entry” of service: 
1) in “network-centric” mode, it maybe tends to take “Method 1--Anycast IP”; 
2) For the “application-centric” mode, both approaches will be used. In the scenario which the DNS resulting to closest site is applicable, “Method 2- Unified DNS” cloud be taken (and “Method 1-Anycast” is also possible here, depends more on the design of service developer). In other scenarios in which the Mothed 2 is not applicable or service is not accessed by DNS, “Method 1-Anycast” will be implemented. 
As the Example of GA service, AWS takes method-1 and Alibaba cloud uses method-2, while Tencent and Huawei cloud provide both method-1 and metod-2. 

As I started to catch the information of CAN yesterday, I will apologize if any misunderstanding about anycast or CAN confuse us.

B.R.
Fang Gao


From: Robert Raszuk
Date: 2023-01-28 19:40
To: Peng Liu
CC: linda.dunbar; jgs; can; idr@ietf.org; Dino Farinacci
Subject: Re: [Can] [Idr] Proposed CAN WG charter for discussion
Hello Peng,

> So CAN won't impact every routers but just egress and ingress

That's true. But here we are essentially talking about completely different directions/architectures and considering the selection on which one to take. Both are vastly different and pretty orthogonal to each other. 

Option 1 - network centric - the one you are suggesting - 

* Use anycast /32 or /128 as destination address 
* Enable reception and installation of multiple paths for each anycast address
* Push tons of very dynamic data to each ingress router from behind egress routers **
* Associate that dynamic data with specific active path or subset of paths of subject anycast addresses
* Pre resolve in real time (continued FIB churn) all of the paths of anycast addresses in respect to load behind them  - and that must be done irrespective of any interest for that data 
* Make egress selection based on that state. 

** - I realize that you will contest this and say that there is going to be a very small amount of relatively static data to start with. But I can rest assure you that even if you start wil small and static inputs this will grow fast as compute selection will require to accommodate new data points as we go along. 

Option 2 - application centric - 

* Do not use anycast
* Do not put any of the dynamic state of the compute/content load/state to the network
* When application is trying to resolve address of the compute/content cluster just be smart of what address is returned to it
* No touch to the network - letting it do what it is good to do - take your packet and deliver it to the dst address in the packet 
* Load information is not broadcasted anywhere - can stay local and only the resolvers need to be aware of it


Also note that while you could perhaps make option 1 work in your (say 5G) network for your service it does not sound like it would be applicable to access public clouds compute cluster based on the actual load in the same way over  the Internet. 

So bottom line is that while I have been working on network centric services for nearly 25 years now in this very case I do believe we should really focus on option 2 for addressing CAN's requirements. 

Kind regards,
Robert


On Sat, Jan 28, 2023 at 3:48 AM Peng Liu <liupengyjy@chinamobile.com> wrote:
Hi Robert,

There might be OTT based solutions that don't involve ingress/egress routers . But some environments, like in our 5G edge network, OTT method is more expensive than a mechanism for egress routers to distribute the information to ingress routers so that path selection engines can consider both. CAN aims at the case where the operator wants to offer the selection service from its edge devices.

In the charter, 'The assumed model for the CAN WG is an overlay network, where an ingress routing node makes a forwarding decision based on the metrics of interest, and then steers the traffic to an egress node that serves the selected service instance, for example using a tunnel. Architectures that require the underlay network to be service-aware are out of scope.'

So CAN won't impact every routers but just egress and ingress, before the architecture, it is a little early to determine which protocol could be used. But for the directions, I think IETF is for building various tools. like one person can use  knife to peel an apple doesn’t mean peeler shouldn’t be invented.  

Regards,
Peng


liupengyjy@chinamobile.com
 
From: Robert Raszuk
Date: 2023-01-28 05:35
To: Linda Dunbar
CC: John Scudder; can@ietf.org; idr@ietf.org; farinacci@gmail.com
Subject: Re: [Can] [Idr] Proposed CAN WG charter for discussion
Hi Linda,

But why do we need to do that within the underlay network vs Over The Top (OTT) way ? 

Why network needs to be at all involved in distribution of the load information if we could solve it at the application level and keep network lean and as much stateless as possible ? Simple mapping plane will work just fine for this resulting in OTT Compute Aware Load Balancer (for the lack of the better name). 

Why bring this "awareness" to BGP or IGP or even routers in general ? 

Isn't the draft https://www.ietf.org/id/draft-kjsun-lisp-dyncast-03.html a possible solution ? 

Many thx,
R.


On Fri, Jan 27, 2023 at 9:43 PM Linda Dunbar <linda.dunbar@futurewei.com> wrote:
John, 

Oh, I guess I have over-thought of the "Architecture & framework". 
The proponents' wanting a mechanism for egress routers to distribute computing resources to ingress routers can be considered as one rough architecture. 

Thank you. 

Linda

-----Original Message-----
From: John Scudder <jgs@juniper.net> 
Sent: Friday, January 27, 2023 12:06 PM
To: Linda Dunbar <linda.dunbar@futurewei.com>
Cc: can@ietf.org; idr@ietf.org; farinacci@gmail.com
Subject: Re: Proposed CAN WG charter for discussion

Hi Linda,

I didn't mean to say that the architecture would have to be completed to the point of RFC publication before that step could be started! But of course, anyone studying the applicability of a mechanism, has to be thinking, "applicable for what purpose"? So I think that studying applicability presupposes that the person doing the study has an architecture in mind. 

Your summary seems about right, and I think it demonstrates that those in the side discussion *do* have at least a rough architecture in mind. My point is,

a. It's important to write that rough architecture down, to make the assumptions transparent to all WG participants, and b. It's important that when listing work items, we do not lose sight of the fact that this is one work item.

I don't see the bullet list as comprising a strictly ordered list of tasks that have to be completed in the order listed, I'm sure some will be worked on in parallel or even out of order. 

I hope that helps?

-John