Re: [netconf] draft-ietf-netconf-udp-notif-10

Hannes Tschofenig <hannes.tschofenig@gmx.net> Mon, 07 August 2023 15:30 UTC

Return-Path: <hannes.tschofenig@gmx.net>
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 D493BC152567; Mon, 7 Aug 2023 08:30:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.804
X-Spam-Level:
X-Spam-Status: No, score=-2.804 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (2048-bit key) header.d=gmx.net
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 nEz5xrvo8ATa; Mon, 7 Aug 2023 08:30:01 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBBE0C14F5E0; Mon, 7 Aug 2023 08:30:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1691422181; x=1692026981; i=hannes.tschofenig@gmx.net; bh=If7jOzp6WWpoHWDnAakPZ1mER2Yr2vsthhJVm+mGJOo=; h=X-UI-Sender-Class:From:To:References:In-Reply-To:Subject:Date; b=cVgMNOqasbhtLhToiZ6qyFMyhMAepAe8yQYxvn/fRjgjq+l8jFMlWWjTchGRsZcFnp/G0sT uaxRLBDBqv+V0P8obCOupkbYwL7YRTI+L9WykKzY+fH7eKBAnnziF8arYHdcJidJLDmyr2GFF UK23t4t5yQQ8tEm8Vfm5HSgpUCvY1XH1t0HEWphdxlmKTOPn2l/ccUez3pgNFEaEQkpLRc92e ahfN7HhcT9/mYe3GxuDYf7mxHdBAaJCEk2kUAPQeJjyPI/jHI/6YLI87YyBKEgbJdFC0S5pzi IbAjnjhWx6GNvCLvGwngAJTfdGWWHwoiDpU9725r3GViuga9opvA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from SurfaceHannes ([213.142.96.68]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MpDNf-1q1zHm2OUh-00qgav; Mon, 07 Aug 2023 17:29:41 +0200
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
To: Thomas.Graf@swisscom.com, benoit.claise=40huawei.com@dmarc.ietf.org, zhoutianran@huawei.com, netconf@ietf.org, jschoenwaelder@constructor.university
References: <e2e898680f2b40a78b7d8854ca5fee4f@huawei.com> <wd6kzin4foik2dimypz67ziqya7lhbs3rzk7t4gp6jic77kxb3@6pvkir2sivsn> <04cb53fc90f84bf4b23acd598eefaf1c@huawei.com> <anhguehaskcbb2ayryota6fixkijydn2tjp2iggkrxqfottfxh@c5zwzaewitu6> <80d76006-a780-ddf0-74e9-7edc6b2063ce@huawei.com> <6f0be853231c4fa4b24de758590770f2@swisscom.com>
In-Reply-To: <6f0be853231c4fa4b24de758590770f2@swisscom.com>
Date: Mon, 07 Aug 2023 17:29:38 +0200
Message-ID: <013201d9c943$fb30ee20$f192ca60$@gmx.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQK56JIY5TOyYrOeMV8YvaCkAG+0/gJa0WTkAcO3RVMCJUAGWQG7GjQ3AjwWF4KtzNfOAA==
Content-Language: de-at
X-Provags-ID: V03:K1:UXoPLrNllK8bDJpE/GdCKbXaIAZl70+3xrorq7CT6hidtv83blA DjWaGUWpi4mxxg/y/H64g1nZdQqomg4pDrFeoT2lfyMPo0x6ot/8t2d1Q1TcwiHwqUp6Dwz l0lFUXV9Vctom5efwh7Q59YKaYBclm30pHZONH6qgi7J/TGmmt+CfPWdnYB9vrFdGXIxP3H fRmX0eI0wysBCmEuVLh7w==
UI-OutboundReport: notjunk:1;M01:P0:xgKQO0Fyb1o=;Rd3MiMLnuBPRyjmcWRIIEOMq4TD zApX26awllQi2tym89rzXcTwxFnf/0LoHBg2GLCK7BIwmHfAAd1rtkNqtT/ILxv5QkIUiLUtu r32oqdjPFXJpnIEhP0cVe17QnEqqmYL6MU9X2wDFqjcbbPy1w5+sKcF2OhU6GhR8uF4lVUzWI O+G7VfdYZDPZ92LJvUCy8w9JjS68JlzEBszuNMfqKDRZv1/rMc8IomwRE2YQOGeJngpYKqny1 IX40kbvzGtBw1KhERaJl2u/rhONCJb5zB1lE8UOkLUa8t9JSWa4l4feqXzFwjWDKPjNbyOvHb X+XTNCnujQqBimWqqwcyzGodiBNwXx4VzxQxj0REptJBv2P1UPRMHj6A5Ej52XmVUmO4kC+Ee nFq5iG5f8j2/FMeaKtvhHSfF83lkf1V6KrCijPfIYnaKr/6OQIUy9w5ZTuxeai0JHmDuGJm7F q7D3Kw4904htDxz98tQBDa4AceObYDrbHHefGBp9i899NRYMuLkqDbOUwu0xdguSiGCUrMJXL 6uFWD4MotWV1Gvc9sdB5kMiwMaXsGsFVD4ALz0QuQ94oDkUHHOXdYejlBLlpCDwxTPHAlQVX3 1U1puRnV4gvHo7upZqCtPXobqyAzaAEWyqGw3vJAamIGhM9KJN8E/AIhKY/pVbbI7l4HBNvKC LqcnuhE1FjGwe3jH3/ulOqnXJseCpvQijOevRMNVHueQbFBUJ7gkMvknaHTNM2tFywnY0QGVy CnHGEQKCdZRHAk5Pg/hl0RmnLCyeD1jmrPked7F63qOclm3QpblYj5EJDE9YjPPGj94w+uvgT 14hEpjM2FPQOiLmG7SIYdNnjzfSekVoF0QnYBLSwzHZ4/xtfeCH49IlF3RVHgT08MGKCUKs9N 7e6mNyyBk+AdH4Oly3QcDv81IC9Rn1J+ZiCtSKje/3PYpBHCPbFR6HvwgGHf10iYAm+EAtlDB vhOwn0jBkqAQt5tYNPgNeF6+WvM=
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/p2WNCp9tjbvVCRPK6ieVIpOITCE>
Subject: Re: [netconf] draft-ietf-netconf-udp-notif-10
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 07 Aug 2023 15:30:05 -0000

Hi Thomas,

I have no problem with your choice of two transports. I was reading the draft trying to understand what was written.

When packet loss is neglectable and payload sizes are small then everything is fine -- even with UDP.
If this is not the case then there is a problem. The document needs to say that.

If you expect to send large volumes of data without flow and congestion control I fear you will see a lot of incomplete messages arriving at the receiver. You will be unhappy.

Once you use fragmentation you will have to maintain state since otherwise you cannot put the sent message together. 
Once you use security you will also have to maintain state. 

Thanks for the pointers to the implementations. Will try them. 

Ciao
Hannes

> -----Ursprüngliche Nachricht-----
> Von: netconf <netconf-bounces@ietf.org> Im Auftrag von
> Thomas.Graf@swisscom.com
> Gesendet: Montag, 7. August 2023 10:51
> An: benoit.claise=40huawei.com@dmarc.ietf.org; zhoutianran@huawei.com;
> netconf@ietf.org; jschoenwaelder@constructor.university
> Betreff: Re: [netconf] draft-ietf-netconf-udp-notif-10
> 
> Dear Jürgen,
> 
> Following up on Tianran's and Benoit's comments.
> 
> The reason why I am co-authoring and supporting draft-ietf-netconf-udp-notif
> and draft-ietf-netconf-distributed-notif because it is important that a network
> operator has the choice between two transport protocols for YANG push. One,
> draft-ietf-netconf-https-notif, which maintains states between YANG push
> publisher and receiver, and draft-ietf-netconf-udp-notif which doesn't require to
> maintain states. It should be the operators choice to chose which of the
> transport protocols make most sense for which type of metrics. Speaking for
> Swisscom, accounting metrics should be sent without states, directly from
> network processors on line cards, where re-transmitting packets are not feasible
> and at YANG push receiver. Where state changes, should be sent through a
> transport protocol which maintains states and re-transmission is supported and
> can be sent from the route processor. It is desirable to have minimal interaction
> between Network Telemetry data collection and the network node exporting
> the metrics, in particular when load is distributed among multiple YANG push
> receiver daemons in a redundant fashion.
> 
> I believe in running code. draft-ietf-netconf-udp-notif and draft-ietf-netconf-
> distributed-notif describe both an implementation status section where open-
> source code is linked. For https-notif we published a YANG push publisher
> https://github.com/network-analytics/https-notif-c-publisher and YANG push
> receiver https://github.com/network-analytics/https-notif-c-collector as well.
> Udp-notif has been integrated into the pmacct Network Telemetry open-source
> project.
> 
> I confirm that CBOR will be a further important step to make YANG push equally
> scalable and efficient than the other Network Telemetry protocols in use. I am
> looking forward to contribute to the netconf working group.
> 
> Best wishes
> Thomas
> 
> -----Original Message-----
> From: netconf <netconf-bounces@ietf.org> On Behalf Of Benoit Claise
> Sent: Monday, August 7, 2023 9:17 AM
> To: Tianran Zhou <zhoutianran@huawei.com>; netconf <netconf@ietf.org>
> Subject: Re: [netconf] draft-ietf-netconf-udp-notif-10
> 
> Dear all,
> 
> On 8/7/2023 8:55 AM, Jürgen Schönwälder wrote:
> > On Mon, Aug 07, 2023 at 06:34:36AM +0000, Tianran Zhou wrote:
> >>> The abstract says:
> >>>
> >>>     The objective is to provide a lightweight approach to enable higher
> >>>     frequency and less performance impact on publisher and receiver
> >>>     processes compared to already established notification mechanisms.
> >>>
> >>> It is not clear what 'performance impact' means here. Anyway, is there a
> proof that this design accomplishes the objective and how much is the gain
> over a transport that does segmentation properly, e.g., TCP?
> >> ZTR> There is no such proof from my side. I am not sure if there is any from
> coauthors.
> >>
> > It would help to demonstrate that the design achieves the stated
> > goals... This will likely make you think more clearly what you mean
> > with 'less performance impact on publisher and receiver processes' and
> > how much the gain is over 'established notification mechanisms'.
> >
> There is a reason why NetFlow was exported over UDP and why IPFIX is still
> exported over UDP (independently of what the IPFIX RFC mandates).
> 
> Regards, Benoit
> 
> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf