Re: [Taps] TAPS Documents for Charter Item 3

Tommy Pauly <tpauly@apple.com> Thu, 11 January 2018 15:28 UTC

Return-Path: <tpauly@apple.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 08DED12EB86 for <taps@ietfa.amsl.com>; Thu, 11 Jan 2018 07:28:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.309
X-Spam-Level:
X-Spam-Status: No, score=-4.309 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=apple.com
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 nKmUiWQoLa_v for <taps@ietfa.amsl.com>; Thu, 11 Jan 2018 07:28:13 -0800 (PST)
Received: from mail-in23.apple.com (mail-out23.apple.com [17.171.2.33]) (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 43CDC1204DA for <taps@ietf.org>; Thu, 11 Jan 2018 07:28:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1515684492; x=2379598092; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/SbbtwkWWjhP23w8GhIc5YkpCUbprvyd/XhU1hESnvA=; b=Kl8ktZYZxtHr70F4ZKxle1+ihskVbtZXqasGgIvCWp/kmdDeubIwFQKmwNMWJDRc 38cwleAYprcft4i9VwA5Q9BHPtX2kH6gGAXUIxbYo6Dk1tx4M/CnUT7biuMlN+j3 XtRfe9h0zsOTA5YF4X98rhmSNECk3DnULPD/qz9WMRSNbum0WuSP3ZA3FJi1YPfR Vjv8/LXhmpG2d6fK8wBGXB+UVnxjsJLMFL67l8SDz81GX+eDa8jE9kVotfuvmORe okdfpHDQiydsddXDnlYG/TVHFjr+w8dvbFVdLWEtQrfE7md8P26lhkkBzjsfRap6 /L7gwRwYZLOxZGuK0nN3Ww==;
Received: from relay5.apple.com (relay5.apple.com [17.128.113.88]) (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail-in23.apple.com (Apple Secure Mail Relay) with SMTP id 4D.C7.05970.C82875A5; Thu, 11 Jan 2018 07:28:12 -0800 (PST)
X-AuditID: 11ab0217-f00cb9e000001752-75-5a57828c78f3
Received: from nwk-mmpp-sz11.apple.com (nwk-mmpp-sz11.apple.com [17.128.115.155]) by relay5.apple.com (Apple SCV relay) with SMTP id F4.9C.18983.B82875A5; Thu, 11 Jan 2018 07:28:11 -0800 (PST)
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_14qtWJj9G+cYPyWPsruDZQ)"
Received: from [17.234.112.39] (unknown [17.234.112.39]) by nwk-mmpp-sz11.apple.com (Oracle Communications Messaging Server 8.0.2.1.20171204 64bit (built Dec 4 2017)) with ESMTPSA id <0P2E00C06DMZVT60@nwk-mmpp-sz11.apple.com>; Thu, 11 Jan 2018 07:28:11 -0800 (PST)
Sender: tpauly@apple.com
From: Tommy Pauly <tpauly@apple.com>
Message-id: <FA73A113-B3BE-4E95-B3D1-76397E63ABD8@apple.com>
Date: Thu, 11 Jan 2018 07:28:10 -0800
In-reply-to: <E2E5D336-27BF-4F83-BECD-0589FC2769AB@ifi.uio.no>
Cc: "taps@ietf.org" <taps@ietf.org>
To: Michael Welzl <michawe@ifi.uio.no>
References: <19E34FCD-7BD6-41DB-8830-C376CF6B0623@apple.com> <E2E5D336-27BF-4F83-BECD-0589FC2769AB@ifi.uio.no>
X-Mailer: Apple Mail (2.3458)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrELMWRmVeSWpSXmKPExsUi2FAYodvTFB5l8KFB3OLH2Z2sFndiHJg8 liz5yeSxevVD5gCmKC6blNSczLLUIn27BK6MA22rGQv+PWGs6J8wjb2B8fVRxi5GTg4JAROJ 3dOfMXcxcnEICaxhkrjTM4MNJrFp2wNGiMQhRoktC/6zgCR4BQQlfky+B2YzC4RJHL2/hwWi aCKTxNTWlUAdHBzCAhISm/ckgtSwCahIHP+2gRmi10bizYJJTBAlphLXFlqDhFkEVCX27T/C CmJzCthJzLr5ixFivLLE41mNYKtEBNQkTixfzQbSKiRQIDHjnhXEmbISK2ffZQW5QEJgCptE +4E7zBMYhWYhuXQWkktnAbUzC6hLTJmSCxHWlnjy7gIrhK0msfD3IiZk8QWMbKsYhXMTM3N0 M/OMjPUSCwpyUvWS83M3MYIiYTWT+A7Gz68NDzEKcDAq8fA+yA2PEmJNLCuuzD3EKM3BoiTO mxxtEyUkkJ5YkpqdmlqQWhRfVJqTWnyIkYmDU6qBUTO2avucDH6Za3sNDZimxEqqz2aLmvhG Z5vlw+VyEYvtL/3X69087bjJWvOoaSH35YwfXpqsG3S86YTKV83sDY9f+3w8dMVjS+iim6FP JhV8n+S0bP8x2WmHd6Zo/P6xzMt/36fli2Xn3puxzsSrLHFdjNtSB6E/7y8xJ223E/5QaVJ9 vPbmrFNKLMUZiYZazEXFiQCbEn9AZQIAAA==
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCLMWRmVeSWpSXmKPExsUi2FA8W7e7KTzK4NdrK4sfZ3eyWtyJcWDy WLLkJ5PH6tUPmQOYorhsUlJzMstSi/TtErgyDrStZiz494Sxon/CNPYGxtdHGbsYOTkkBEwk Nm17AGRzcQgJHGKU2LLgPwtIgldAUOLH5HtgNrNAmMTR+3tYIIomMklMbV0J1MHBISwgIbF5 TyJIDZuAisTxbxuYIXptJN4smMQEUWIqcW2hNUiYRUBVYt/+I6wgNqeAncSsm78YIcYrSzye 1Qi2SkRATeLE8tVsIK1CAgUSM+5ZQZwpK7Fy9l3WCYz8s5AcNwvJcbOAOpgF1CWmTMmFCGtL PHl3gRXCVpNY+HsRE7L4Aka2VYwCRak5iZWmeokFBTmpesn5uZsYwWFbGLGD8f8yq0OMAhyM Sjy8FgXhUUKsiWXFlbnAEOJgVhLhXRwYFiXEm5JYWZValB9fVJqTWnyIUZqDRUmcd8YqoJRA emJJanZqakFqEUyWiYNTqoFRXvPsTcOOFAanCVHnvk16VhTjelv799VlxlEZnsH8qjvcPc9w Xes40LKtteWQndWiSxI7Hz4/+Eg1WiD536eZ1bffH34ecne2qovMT8H7QUm34g8o/DryjYk5 4NI0oaUdv/OlrmTWXj96YPmOX5UPfiWL8GRP2/JK2E6uV9buO7fQ2ez71noLlFiKMxINtZiL ihMBW0pxYVcCAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/taps/lnnI9aB9bXnzeuZat0qIa3ZJhFA>
Subject: Re: [Taps] TAPS Documents for Charter Item 3
X-BeenThere: taps@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 11 Jan 2018 15:28:16 -0000


> On Jan 11, 2018, at 12:23 AM, Michael Welzl <michawe@ifi.uio.no> wrote:
> 
> Hi Tommy,
> 
> A few answers below:
> 
>> On Jan 10, 2018, at 6:11 PM, Tommy Pauly <tpauly@apple.com <mailto:tpauly@apple.com>> wrote:
>> 
>> Hello TAPS,
>> 
>> In Singapore, there was much discussion about where we go after the minset drafts, and what documents will form charter item 3:
>> 
>> 3) Specify experimental support mechanisms to provide the Transport 
>> Services identified in work item 2. This document will explain 
>> how to select and engage an appropriate protocol and how to 
>> discover which protocols are available for the selected service 
>> between a given pair of end points. Further, it will provide a 
>> basis for incremental deployment. Work on this document will 
>> begin when the TAPS Transport Services have been specified.
>> 
>> Since it would be good to get convergence and adoption of documents in London, I’d like to take a stab at how we can structure the WG documents and start a discussion on this list to decide our collective approach.
>> 
>> At a high level, based on the work of NEAT, Post Sockets, Happy Eyeballs, Socket Intents, etc, it seems like the “support mechanisms” for TAPS are converging into categories (a) how to expose functionality in an Abstract API and (b) guidance on how to implement a library that provides TAPS functionality. These two categories are not unrelated, but have different audiences; Abstract APIs are aimed at adopters of a TAPS system, while the implementation guidance aspects are aimed at library and system implementers. The high-level concepts that bind these together form the overall TAPS architecture.
>> 
>> Looking at things in this way, I could imagine three documents, which would form the capstone of the TAPS work
>> 1) TAPS Architecture: high level explanation of the approach and goals, how the API and implementations relate, and how the system is derived from the protocol surveys and minset. Defines consistent terminology for concepts used in the other documents.
>> 2) TAPS API: document aimed at adopters taking advantage of a TAPS system: configuration, initiation of channels, listening/responding, data transfer, and maintenance.
>> 3) TAPS Implementation Guide: document aimed at implementers on how to bring up connections (handling a multiplicity of paths, endpoints, and protocols), sending and receiving data through protocol stack instances, and interpreting configuration and system policy into decisions.
> 
> Funny, I have also been thinking about item 3 in exactly this way for a long time … and I believe we two are not the only ones.
> This split really seems quite natural.
> 

Good to hear that the split seems reasonable!

> 
>> I believe that many (or all) of the outstanding documents we have in the WG already fall into one or more of the categories. Here’s a table with the three proposed documents as 1, 2, 3, and three aspects of a TAPS system/architecture as A, B, C:
>> 
>> 
>> A
>> B
>> C
>> 1. TAPS Architecture
>> Connection Establishment
>> Data transfer
>> Policy and Path Selection
>> 2. TAPS API
>> Initiator/Listener/Responder
>> Send/Receive
>> Intents and configuration
>> 3. TAPS Implementation Guide
>> Protocol Racing, Path Racing, Happy Eyeballs
>> Protocol Stack Instance
>> Policy engine
>> 
>> In this table, we could see the existing documents contributing aspects to certain blocks:
>> 
>> draft-fairhurst-taps-neat: 1A, 1B, 1C, 2A, 2B, 2C, 3C
>> draft-trammell-taps-post-sockets: 1A, 1B, 1C, 2A, 2B, (2C), (3B)
>> draft-pauly-taps-guidelines: 3A, (1C)
>> draft-grinnemo-taps-he: 3A
>> draft-tiesel-taps-socketintents: 2C
> 
> I agree with this rough assessment. This table is good to think about!
> I think draft-tiesel-taps-communitgrany is missing for 1)  (not sure if it’s A / B / C, but it’s about terminology)

Yes, this wasn’t a complete list. Also note that I’m not proposing that we adopt any of the documents as they are, but specifically adopt WG items for Architecture, API, and Implementation, and we build those documents from the existing ones, taking the best parts of all of them.
> 
> 
>> This is a rough assignment and not necessarily exhaustive, but the point is that much of the content is probably already there is some form, and can be reinterpreted into these documents.
>> 
>> What do people think about this approach? Any aspects that are missed here that would need to be separate documents, or new sections across the documents?
> 
> Personally I like the approach but I’d caution that we need a tight connection between the lines in the table. For everything we do, we must make sure it’s implementable, and explain how. Hence, a document describing API primitives should also clarify how these primitives could be implemented - with the split you describe above, by pointing at a specific section for each functionality in a "line 3” document (if these things really are going to be separate documents?).

That’s why I’d propose having three documents that are adopted as a group, that are designed to go through the process together, and heavily reference one another. The definition of what goes in each should be based on the audience. One other comment I have for the API is that it should likely remain agnostic to specific protocols: it should say “here’s how to send/receive with these kind of options, and protocols will treat them like this”; but the implementation document can go into details of how those map down to specific protocol details in existing mappings (TCP, SCTP, UDP, QUIC). My two goals in saying this are:
1) The API should be simple and easy to understand for an adopter’s perspective
2) The API should be relevant despite changes in transport protocols de jour. Maybe in fifty years no one is using TCP anymore; we’ll publish implementation and mapping updates, but the API document should still be unchanged.

Thanks,
Tommy
> 
> Cheers,
> Michael
> 
> _______________________________________________
> Taps mailing list
> Taps@ietf.org <mailto:Taps@ietf.org>
> https://www.ietf.org/mailman/listinfo/taps <https://www.ietf.org/mailman/listinfo/taps>