[netconf] hackathon project about adaptive-subscription

"maqiufang (A)" <maqiufang1@huawei.com> Tue, 22 March 2022 08:40 UTC

Return-Path: <maqiufang1@huawei.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 15ED93A0D24 for <netconf@ietfa.amsl.com>; Tue, 22 Mar 2022 01:40:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C7qj8NlA9Ki1 for <netconf@ietfa.amsl.com>; Tue, 22 Mar 2022 01:40:55 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3CADF3A0D45 for <netconf@ietf.org>; Tue, 22 Mar 2022 01:40:55 -0700 (PDT)
Received: from fraeml736-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4KN4fr06Lwz687w4 for <netconf@ietf.org>; Tue, 22 Mar 2022 16:39:48 +0800 (CST)
Received: from kwepemm000018.china.huawei.com (7.193.23.4) by fraeml736-chm.china.huawei.com (10.206.15.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 22 Mar 2022 09:40:51 +0100
Received: from kwepemm600017.china.huawei.com (7.193.23.234) by kwepemm000018.china.huawei.com (7.193.23.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Tue, 22 Mar 2022 16:40:50 +0800
Received: from kwepemm600017.china.huawei.com ([7.193.23.234]) by kwepemm600017.china.huawei.com ([7.193.23.234]) with mapi id 15.01.2308.021; Tue, 22 Mar 2022 16:40:50 +0800
From: "maqiufang (A)" <maqiufang1@huawei.com>
To: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [netconf] hackathon project about adaptive-subscription
Thread-Index: Adg9vblKFLbMn4kKReqRWXYGkDQX5A==
Date: Tue, 22 Mar 2022 08:40:50 +0000
Message-ID: <2981a9feff954c0991342e9df56749dc@huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.48.38.148]
Content-Type: multipart/alternative; boundary="_000_2981a9feff954c0991342e9df56749dchuaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/8NvbfVeL29MK9hbmd0das5gocbo>
Subject: [netconf] hackathon project about adaptive-subscription
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Mar 2022 08:41:05 -0000

Hi, all
We've proposed a Hackathon project about adaptive-subscription in this IETF meeting, I'd like to thanks all of my teammates who've worked in this project(Kun from Hunan University, Zhixiong from Microsoft, Peng from China Mobile, Wei from China Telecom, etc).
Our next step, is to provide more performance data for adaptive subscription in different use cases.
Any other comments and suggestions are welcome.

As presented yesterday, Hackathon project details are following (hopefully the results can help clarifies why we need adaptive subscription):
We've used gRPC-based telemetry to collect data from access points, and ELK(acronym for three open source tools: Elasticsearch, Logstash, and Kibana) for collecting, indexing and visualization.
Two use cases have been evaluated, one is to stream and aggregate the rssi value from different APs to figure out WiFi roaming events during the movement of terminal, the other is to stream the bytes sent from the AP uplink.
For each use case, we've evaluated the high-rate data streaming, low-rate data streaming, and adaptive-rate data streaming.
And For adaptive-rate data streaming, take the rssi signal data collection use case for example, if the rssi<-65(default threshold for WIFI roaming handover), we stream data every 2 seconds; if the rssi>=-65, we stream data every 30 seconds.

There are 2 ways to evaluate adaptive-subscription, one is client-driven( the client evaluates the condition and modifies the period, YANG-PUSH supports this, e.g., via modify-subscription), the other is server-driven (to install the adaptive policy into the server and let the server monitor the object changes and switch to different periods automatically).

The results show that, for high-rate data collection at 2-second interval, it's easy to identify when a roaming happens and signal degeneration but also at the cost of a great volume of data because you always keep that high-frequency.
And the opposite is true for low-rate data collection, which greatly reduces the data volume but hard to detect important events and data.
For the client-driven adaptive telemetry, switching from low frequency to high cannot capture all important events and data, because the condition evaluation is at such a low-frequency data collection interval(30 seconds in rssi signal data collection use case) that it may miss a lot of important data during that interval.
While for the server-driven adaptive telemetry, the server will evaluate the condition at the end of each high-frequency interval(2 seconds in rssi signal use case), so it will check whether it needs to switch to another frequency every 2 seconds.

To be brief, server-driven adaptive telemetry can capture the operational statistics degradation as much as possible compared with client-driven adaptive telemetry, greatly reduce the data volume(by ~86% on average shown in our evaluation but depends on the selected threshold) and serve as a compromise between data management resource cost and data fidelity for network diagnosis.

Best Regards,
Qiufang