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

Andy Bierman <andy@yumaworks.com> Wed, 09 August 2023 20:20 UTC

Return-Path: <andy@yumaworks.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 BFA4AC15106A for <netconf@ietfa.amsl.com>; Wed, 9 Aug 2023 13:20:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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 (2048-bit key) header.d=yumaworks.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 gEDbCioClMkW for <netconf@ietfa.amsl.com>; Wed, 9 Aug 2023 13:20:48 -0700 (PDT)
Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7A297C1524D3 for <netconf@ietf.org>; Wed, 9 Aug 2023 13:20:48 -0700 (PDT)
Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4fe28e4671dso235607e87.0 for <netconf@ietf.org>; Wed, 09 Aug 2023 13:20:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1691612446; x=1692217246; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=voe3NlHofiA9qHSZ20jbrFu4ZypJlOfBLuDsSU24Y80=; b=lUkM5HCpSc5jgsgjlt2/zpn6PiNsquqkThVKOuL00Z5JM1fTqkNsdA1NjWTe/s52yM KTggA2S8Bi1MSAWXX4ZeBAC4ugCaJV0wIeDb9006j766T7BrKD0r3QSu5GOw5mQcp9f6 /TLabncKiN3wCoUSfkAG7j5n/NbTrf91rhWR9bhhZNz0kRTNQN1upHSgrCnZ+17WeRbd crjganOOEJXdd9za8lM7vEv+yatBoVdxpu5SsML8iPoJdWAj0eHKrMXtt59jMX+NeYzC pQ6VFb39648hwefqE5vQgtykseH4aZiVN5h5IZ7jdmpzy6WjAYnpKZcGo+FDGy2q9VtH TTjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691612446; x=1692217246; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=voe3NlHofiA9qHSZ20jbrFu4ZypJlOfBLuDsSU24Y80=; b=L3zANtsPfP6DCxq23qWZ+Q7S6Q6kLYiuFZ0FeGhy+92SWjQHlV/UzrpfG6sle4zP23 oktDlvZPvA1S2FNGbz0+9NBIV0ZWjJX91fVmZPoXxguaUCWo2tRVO14ljX78bT9VcmZp CisOTJptCv5M0+0hXAuYMWO/MK4vXmT2RO2envpabvRZrevMGHl+ZQqPre+JSs+M/5gY tlLXrg+VDeaDS0O0du8nBFwK+/kJ+dA7p8THSOyjCnGofdpCKofZc2cnUJJmsbtMMaam oPA3xjfLCYjKRo74XF1RE2T50VYb5UMzcoTqp54CbtQnj/gxC/yxWzBLIyiXvkOrgK0f 5+Qg==
X-Gm-Message-State: AOJu0YyL5xTDM+I7jv1vTDLZwsGbm9n4bCLLCuqXwtm5pbHcHVmAf4SR fMH8YnG7dSClXp2RFx6O5vV404eSoCoGaQsbEX8QRg==
X-Google-Smtp-Source: AGHT+IHrUbjENZ4LIZW3/Oc6AfQ7kdZYPJtGntIFZNZwartRKnsPrnP5aFOIhL7VTRJCtyrUvs5V9Wgf7ualAlcmMAk=
X-Received: by 2002:a19:5049:0:b0:4fe:1f1c:184f with SMTP id z9-20020a195049000000b004fe1f1c184fmr130727lfj.44.1691612445979; Wed, 09 Aug 2023 13:20:45 -0700 (PDT)
MIME-Version: 1.0
References: <e2e898680f2b40a78b7d8854ca5fee4f@huawei.com> <wd6kzin4foik2dimypz67ziqya7lhbs3rzk7t4gp6jic77kxb3@6pvkir2sivsn> <04cb53fc90f84bf4b23acd598eefaf1c@huawei.com> <anhguehaskcbb2ayryota6fixkijydn2tjp2iggkrxqfottfxh@c5zwzaewitu6> <80d76006-a780-ddf0-74e9-7edc6b2063ce@huawei.com> <6f0be853231c4fa4b24de758590770f2@swisscom.com> <D3F2969C-C395-4403-995D-E064A943F3AB@insa-lyon.fr> <2xysgyiy4arqyemi52o7uog33uzwf2o6c6cgoik7tx57rcsmvk@jvlxk4njwlyx> <CABCOCHSb191+f5ocQ8ET0wPA6KEz7F=BR7awskn-SatcpmeUSw@mail.gmail.com> <fsg6dfpghcuzy3mu3axwutbij2xfynvmtqqkagytkn5tqqrxgb@hmq6r65xvymz>
In-Reply-To: <fsg6dfpghcuzy3mu3axwutbij2xfynvmtqqkagytkn5tqqrxgb@hmq6r65xvymz>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 09 Aug 2023 13:20:35 -0700
Message-ID: <CABCOCHTfDTr1vu2wA0QHQ7MiCkhH460VC1rmxtv+D0+a+77r0A@mail.gmail.com>
To: Jürgen Schönwälder <jschoenwaelder@constructor.university>, Andy Bierman <andy@yumaworks.com>, Alex Huang Feng <alex.huang-feng@insa-lyon.fr>, netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f0d0cc06028336d1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/wv3xO8RJ1d2Tl0SjwSxwLx0XOyg>
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: Wed, 09 Aug 2023 20:20:52 -0000

On Wed, Aug 9, 2023 at 11:03 AM Jürgen Schönwälder
<jschoenwaelder@constructor.university> wrote:

> On Wed, Aug 09, 2023 at 10:21:32AM -0700, Andy Bierman wrote:
> >
> > > Perhaps you just wanted UDP and the rest just got added for political
> > > correctness in the IETF?
> >
> > The solution is partial at best and designed for use in enterprise
> networks.
> > The introduction describes lots of line cards blasting UDP packets at a
> > single receiver.
> >
> > Maybe it is unwise to have a standard that almost certainly generates
> > packet loss, yet has zero tolerance for packet loss.
> >
>
> A UDP "blasting service" can work if the network is provisioned
> accordingly and the sources take precautions to avoid excessive
> sending rates (e.g., by using some throttling mechanisms) and
> implementations ensure some good randomization of the sending events
> over time to avoid synchronization issues leading to excessive traffic
> spikes.
>
>
I don't think YANG Push has this sort of mechanism.
Consider lots of line cards with "on-change" subscriptions.
The report frequency may jump on all line cards at once.

There are no mandatory mechanisms or even complete optional mechanisms
to detect message loss, especially if the first segment is lost.
Since packet order is unreliable, a missing Message-Id is not so easy to
identify.
Unreliable packet ordering is not good for YANG Push.
There are many ways for a sequence of patches to produce different
results if the order is wrong.

Now not so sure I want to give up TCP for YANG Push...


Andy




One benefit mentioned before is to avoid connection state at the
> receiving side. I do not know whether this is a real concern; once you
> have thousands of notification senders, you likely also provision more
> than one receiver. But it would certainly be good to know what the
> performance requirements are and then some experiments can shed some
> light on things. Our intuition about performance bottlenecks is often
> not good and the document does not detail which performance problems
> exactly are being addressed by the solution.
>
> /js
>
> --
> Jürgen Schönwälder              Constructor University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://constructor.university/>
>