Re: [Taps] TCP components

Michael Welzl <michawe@ifi.uio.no> Sat, 20 June 2015 08:35 UTC

Return-Path: <michawe@ifi.uio.no>
X-Original-To: taps@ietfa.amsl.com
Delivered-To: taps@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A9F2B1B2DFE for <taps@ietfa.amsl.com>; Sat, 20 Jun 2015 01:35:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.31
X-Spam-Level:
X-Spam-Status: No, score=-1.31 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_45=0.6, T_RP_MATCHES_RCVD=-0.01] autolearn=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 sHjUkRCWKELT for <taps@ietfa.amsl.com>; Sat, 20 Jun 2015 01:35:50 -0700 (PDT)
Received: from mail-out5.uio.no (mail-out5.uio.no [IPv6:2001:700:100:10::17]) (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 8A6751B2DFC for <taps@ietf.org>; Sat, 20 Jun 2015 01:35:50 -0700 (PDT)
Received: from mail-mx4.uio.no ([129.240.10.45]) by mail-out5.uio.no with esmtp (Exim 4.80.1) (envelope-from <michawe@ifi.uio.no>) id 1Z6EFT-00068b-7h; Sat, 20 Jun 2015 10:35:35 +0200
Received: from 173.179.249.62.customer.cdi.no ([62.249.179.173] helo=[192.168.0.114]) by mail-mx4.uio.no with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) user michawe (Exim 4.80) (envelope-from <michawe@ifi.uio.no>) id 1Z6EFS-0001Px-KZ; Sat, 20 Jun 2015 10:35:35 +0200
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\))
From: Michael Welzl <michawe@ifi.uio.no>
In-Reply-To: <55849DC5.7040600@isi.edu>
Date: Sat, 20 Jun 2015 10:35:31 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <D534A8F8-A4AB-41DC-83E9-C65A6C7BF902@ifi.uio.no>
References: <5579768E.5060402@tik.ee.ethz.ch> <A3EF3A19-0E37-42E6-8D17-94164EBA7FDD@ifi.uio.no> <154FD7B7-9A01-43EC-927D-B9D71F1BC38D@tik.ee.ethz.ch> <57DC7DAB-7054-41BE-8515-626353782BBC@ifi.uio.no> <5581B81B.4090500@isi.edu> <725D4141-40AB-4E30-9409-96813C80905B@tik.ee.ethz.ch> <33CA72C2-D0EC-43A1-B766-D34F3636961B@ifi.uio.no> <23AACB56-2044-4E89-930B-C7D501AD7184@tik.ee.ethz.ch> <E788A309-869F-49E0-832D-429E0DA0E2F9@ifi.uio.no> <DA987915-C664-40D9-B527-9A686BA01013@tik.ee.ethz.ch> <C2962821-4DF2-44CD-BBEF-49520B5BA4D3@ifi.uio.no> <5584400C.5080406@isi.edu> <CAJ+dxNCN3Pj4x707hr50V-GZHJvQM_S8cx1g3NTZne086T3sOQ@mail.gmail.com> <5584937F.2030408@isi.edu> <CAJ+dxND-KRA_=cfe6iPG6oWD+M_YegY7MBUqnSutEKdXrjpoag@mail.gmail.com> <55849DC5.7040600@isi.edu>
To: Joe Touch <touch@isi.edu>
X-Mailer: Apple Mail (2.2070.6)
X-UiO-SPF-Received:
X-UiO-Ratelimit-Test: rcpts/h 13 msgs/h 5 sum rcpts/h 14 sum msgs/h 5 total rcpts 30299 max rcpts/h 54 ratelimit 0
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, TVD_RCVD_IP=0.001, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO)
X-UiO-Scanned: 3B03DD379883A6DE05EE6A027F7D204133E03D00
X-UiO-SPAM-Test: remote_host: 62.249.179.173 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 5 total 1231 max/h 13 blacklist 0 greylist 0 ratelimit 0
Archived-At: <http://mailarchive.ietf.org/arch/msg/taps/cPDtVpUM8RhakQt_jd0CsjqwuI4>
Cc: Mohamed Oulmahdi <m.oulmahdi@gmail.com>, "taps@ietf.org" <taps@ietf.org>, Mirja Kühlewind <mirja.kuehlewind@tik.ee.ethz.ch>, Brian Trammell <ietf@trammell.ch>
Subject: Re: [Taps] TCP components
X-BeenThere: taps@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussions on Transport Services <taps.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/taps>, <mailto:taps-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Sat, 20 Jun 2015 08:35:52 -0000

> On 20. jun. 2015, at 00.55, Joe Touch <touch@isi.edu> wrote:
> 
> 
> 
> On 6/19/2015 3:42 PM, Mohamed Oulmahdi wrote:
>> 
>> 
>> On Sat, Jun 20, 2015 at 12:11 AM, Joe Touch <touch@isi.edu
>> <mailto:touch@isi.edu>> wrote:
>> 
>> 
>>    You're getting far ahead of the conversation, IMO. This document
>>    needs to start by explaining the services we already have before
>>    jumping into a "service of services" model.
>> 
>>    I don't disagree with the goal, but it's impractical to develop a
>>    meta-interface when the base interface has not been described.
>> 
>> 
>> It is just to say that TCP already defines its services, and the goal is
>> not to give another definition of these services, but only to change the
>> way they are exposed to applications. So the services definition already
>> exists, but implicitly.
> 
> It's explicit - see section 3.8 of RFC 793. The issue with that variant is that it captures the state of TCP in 1981; it has evolved quite a bit since then. Although we do have a 793-bis in the works, the update of that section hasn't been tackled yet.
> 
> Let's put it this way:
> 
> 	- if the goal of TAPS is to unify existing APIs,
> 	then those APIs need to be summarized together in one place
> 
> 
> 	- if TAPS is indeed focused solely on an alternate API,
> 	then it should NOT try to 'restate' the existing TCP API
> 	in a TAPS doc
> 
> "Do, or do not; there is no try."
> 	- Yoda

TAPS is focused on an alternate API that it's based on existing transports. As a way of analyzing existing transports and creating a foundation for this API, document #1 is written. I think this discussion is about the approach taken to write document #1.

So now I wonder what you're complaining about, as you go on about TCP already defining its services implicitly in the API. I mean, yes it does, okay - and so?  You criticized the SCTP API for not being abstract enough - so clearly if we'd just copy+paste the API descriptions of the RFCs of the considered transports in a list, that would look pretty messy. You seem to want a "clean" approach, but you're not going to get that unless we focus on TCP alone  :-)

I've been proposing go through transport APIs and then analyze what we have, because this way, SCTP is already going to give us a long list of services.
You've been saying that we should start with TCP. Well okay, but the service list there is pretty narrow. Maybe the TCP API isn't properly described in the current draft, okay, I think we can take that criticism for what it is. Still, I don't know what you're really after - in the end, we're going to get a list that's pretty similar to what's there now, and that's what we want, right?

- unordered reliable delivery of messages
- delivery of messages with timed delivery
- reliable delivery of a data stream (naturally that's ordered)

.... and so on. Right? Or what else is it you want / expect? 

Cheers,
Michael