Re: [Taps] Robert Wilton's Yes on draft-ietf-taps-interface-22: (with COMMENT)
"Devon H. O'Dell" <dhobsd@google.com> Wed, 06 September 2023 14:29 UTC
Return-Path: <dhobsd@google.com>
X-Original-To: taps@ietfa.amsl.com
Delivered-To: taps@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6E579C151554 for <taps@ietfa.amsl.com>; Wed, 6 Sep 2023 07:29:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -22.607
X-Spam-Level:
X-Spam-Status: No, score=-22.607 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, 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, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 nqoqtrQpl_lP for <taps@ietfa.amsl.com>; Wed, 6 Sep 2023 07:29:34 -0700 (PDT)
Received: from mail-ua1-x92c.google.com (mail-ua1-x92c.google.com [IPv6:2607:f8b0:4864:20::92c]) (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 ED6AFC14F75F for <taps@ietf.org>; Wed, 6 Sep 2023 07:29:18 -0700 (PDT)
Received: by mail-ua1-x92c.google.com with SMTP id a1e0cc1a2514c-7a4ee7f9c37so1554999241.0 for <taps@ietf.org>; Wed, 06 Sep 2023 07:29:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1694010558; x=1694615358; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bvX+7aA4Mo5PshutLtUW9bLGThV616Uy6VQJqWLhKdU=; b=EU72UrJ6HMb6ftyehcj0RfY7MiTo1R8qJpjMJ6fawALU3uxILJEM4vdyMqzLchybR+ +lU3pg/SOSt/o+gRu+Wkhr9ly1N1PN+Bk3g12/zitOKVccnUq3rib9X//VLKP1ARdqYb Km6534RM6CY9R/5WWfTPr3tgqOTC+T6WQGI+/ptmZJ/Efa+fRSNxvWdhERZTquE6igSi 71QmHeFye1ih/KpQFiGDssNJgLJDLyRRFJ4z7KzdvLScUNIYKmKCW/tugrpIyMlHwIWl GHk6EPRTpiM0xGJBb6d9indXDaqZM0ReVFlNpK0F/dOKcdiqZyMZ24CdiJSNg75blJXa ZrzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694010558; x=1694615358; h=content-transfer-encoding:cc: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=bvX+7aA4Mo5PshutLtUW9bLGThV616Uy6VQJqWLhKdU=; b=eZcZEiyQ18EjbrTnbqJ7EwL5nYtBB3RKE6gLSHR6MZuLl8Td3EJTno4eolezlpE9hJ gQiDalTGoa9xEOVIGtaKVxFGJgFo1vLVAbpkusEkfjQjl20UIYmqXlBiHjT17rFT4raT IfHqTMVxIr47vM5u9zv7uKAOhwrXqR6KphoghjZMjxT1qZOD/h6UwYm8F7npgySOUTEr 2EyhodpdbQz8Rqmu07YHx4TAW1zIKAOqxrMJXjQHJAcrUs8HHXMEQeCC6xTQ3VEU3ebO u2JwykSvyDA4FYEE97tjO74bmJMhL4emgJm/OuuquN9gAzqvk9nko0JNxRgGdx3Hi744 gPrg==
X-Gm-Message-State: AOJu0YwUTtMZJTWqkM6TeqPMiyU0dxD56HL9h3xfikNkko8AhhNOVOFK g1LivaaLTzeCJV3bNOyjOR/lNZ1MSy7gFoH15pbJpw==
X-Google-Smtp-Source: AGHT+IFJP6TOckbxOX/sefdJS58kSL2115ORaCl/OhtYAFNpSK5VFnTdCq9yg+hiSXy+SOq/k9m2astf7LiAKPfSo40=
X-Received: by 2002:a67:f4d6:0:b0:44d:4e08:ccc8 with SMTP id s22-20020a67f4d6000000b0044d4e08ccc8mr2950494vsn.24.1694010557825; Wed, 06 Sep 2023 07:29:17 -0700 (PDT)
MIME-Version: 1.0
References: <169400859112.20072.5328867108981284361@ietfa.amsl.com>
In-Reply-To: <169400859112.20072.5328867108981284361@ietfa.amsl.com>
From: "Devon H. O'Dell" <dhobsd@google.com>
Date: Wed, 06 Sep 2023 10:29:06 -0400
Message-ID: <CABKfq-ZEBZ1wbL+gY4yZ7QAHokD2BfYoBYmZnyr73guD+dJ_cQ@mail.gmail.com>
To: Robert Wilton <rwilton@cisco.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-taps-interface@ietf.org, taps-chairs@ietf.org, taps@ietf.org, anna.brunstrom@kau.se
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/taps/r4nCHncXXMYrlO9oxU69pvSu5EA>
Subject: Re: [Taps] Robert Wilton's Yes on draft-ietf-taps-interface-22: (with COMMENT)
X-BeenThere: taps@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "IETF Transport Services \(TAPS\) Working Group" <taps.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/taps>, <mailto:taps-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/taps/>
List-Post: <mailto:taps@ietf.org>
List-Help: <mailto:taps-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/taps>, <mailto:taps-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Sep 2023 14:29:35 -0000
On Wed, Sep 6, 2023 at 9:56 AM Robert Wilton via Datatracker <noreply@ietf.org> wrote: > ---------------------------------------------------------------------- > COMMENT: > ---------------------------------------------------------------------- > > Hi, > > Moderate level comments: > > (1) As per the architecture doc, I think that it is great that you are defining > a new transport API. I note that this API doesn't really include any standard > APIs or structures to monitor the state of the transport sessions for a given > application (i.e., API user). E.g., how many connections are currently open, > total number of connections (since library was initialized), number of errored > transport connections, drops, mtu issues, flow rates, etc. I think that with > some of the changes to the Internet architecture (e.g., QUIC to cite one > obvious example), it reduces the ability for network operators to monitor and > debug network issues between applications. A potential corollary of this is > that a lot more debug and diagnostics information will need to be made > available to applications in a common way to allow application support staff, > and users of those applications to better understand where in the network > issues and failures are happening. It would seem unreasonable for me to hold a > discuss on this document for what might be a lot of work and discussion that > could take a long time to resolve but I hope that the authors and WG will > consider whether there is further useful future work required in additional > RFCs. Thanks for bringing this up. It's indeed a huge subject and I agree that it's a topic for additional publications. I had intended to discuss this in the interim in May, but I was unfortunately unable to attend last-minute. I see the observability space as related to configuration / discoverability / policy topics. It appears in the minutes of that meeting[1] that Zahed still prefers to close the WG. I'm still very much interested in exploring this space. What's the best path forward on this topic? Kind regards, --dho [1]: https://datatracker.ietf.org/doc/minutes-interim-2023-taps-01-202305151500/ > Minor level comments: > > (2) p 6, sec 1.1. Terminology and Notation > > * Array: Denoted []Type, an instance takes a value for each of zero > or more elements in a sequence of the given Type. An array may be > of fixed or variable length. > * Collection: An unordered grouping of one or more values of the > same type. > > Perhaps calling it a Set may be better than Collection (if duplicates are not > allowed) or a Bag (if duplicates are allowed). > > (3) p 17, sec 6.1. Specifying Endpoints > > Note that an IPv6 address specified with a scope (e.g. > 2001:db8:4920:e29d:a420:7461:7073:0a%en0) is equivalent to > WithIPAddress with an unscoped address and WithInterface together. > > Would it not just be cleaner to not allow interface scoped IP addresses, and > force the clients to use WithInterface, in the case they want to target a > specific interface? > > (4) p 26, sec 6.2. Specifying Transport Properties > > Upon reading, the Preference type > of a Selection Property changes into Boolean, where true means that > the selected Protocol Stack supports the feature or uses the path > associated with the Selection Property, and false means that the > Protocol Stack does not support the feature or use the path. > > I misunderstood this on first reading - maybe explicitly state that the types > for non Preference types are unchanged on a get, maybe give an example of the > return type for section 6.2.11. > > (5) p 64, sec 9.2. Sending Data > > The optional endOfMessage parameter supports partial sending and is > described in Section 9.2.3. > > If this is an asynchronous API, I presume that the caller must prevent any > changes to, or freeing of, the messageData object until it has received a event > to indicate that the send has successfully completed. Perhaps this is too > detailed for this abstract level API and is left to the implementation. > > (6) p 70, sec 9.3.2. Receive Events > > Each call to Receive will be paired with a single Receive event, > which can be a success or an error. This allows an application to > provide backpressure to the transport stack when it is temporarily > not ready to receive Messages. > > The backpressure aspect wasn't entirely clear to me. So, if an application can > handle receiving multiple receive events at the same time, it can make multiple > calls to receive without waiting for, or processing, any receive events? Is > that how the application controls the backpressure? > > (7) p 70, sec 9.3.2. Receive Events > > Each call to Receive will be paired with a single Receive event, > which can be a success or an error. This allows an application to > provide backpressure to the transport stack when it is temporarily > not ready to receive Messages. > > How does the transport stack know that the application has finished with the > memory holding the message in the receive event, or is the expectation that the > receive message contents is logically always allocated on the heap and it is > responsibility of the receiver to free the memory once it is done with it? > > Regards, > Rob > > > > _______________________________________________ > Taps mailing list > Taps@ietf.org > https://www.ietf.org/mailman/listinfo/taps
- [Taps] Robert Wilton's Yes on draft-ietf-taps-int… Robert Wilton via Datatracker
- Re: [Taps] Robert Wilton's Yes on draft-ietf-taps… Devon H. O'Dell
- Re: [Taps] Robert Wilton's Yes on draft-ietf-taps… Zaheduzzaman Sarker
- Re: [Taps] Robert Wilton's Yes on draft-ietf-taps… Devon H. O'Dell
- Re: [Taps] Robert Wilton's Yes on draft-ietf-taps… Michael Welzl
- Re: [Taps] Robert Wilton's Yes on draft-ietf-taps… Devon H. O'Dell
- Re: [Taps] Robert Wilton's Yes on draft-ietf-taps… Zaheduzzaman Sarker