Re: [tsvwg] The List (of application-layer desired features)

Brian Trammell <trammell@tik.ee.ethz.ch> Wed, 28 August 2013 15:34 UTC

Return-Path: <trammell@tik.ee.ethz.ch>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B7E8E11E819E for <tsvwg@ietfa.amsl.com>; Wed, 28 Aug 2013 08:34:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SKlK9zxvQ+1X for <tsvwg@ietfa.amsl.com>; Wed, 28 Aug 2013 08:34:33 -0700 (PDT)
Received: from smtp.ee.ethz.ch (smtp.ee.ethz.ch [129.132.2.219]) by ietfa.amsl.com (Postfix) with ESMTP id 8995121F91BF for <tsvwg@ietf.org>; Wed, 28 Aug 2013 08:34:29 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by smtp.ee.ethz.ch (Postfix) with ESMTP id 0A745D9309; Wed, 28 Aug 2013 17:34:28 +0200 (MEST)
X-Virus-Scanned: by amavisd-new on smtp.ee.ethz.ch
Received: from smtp.ee.ethz.ch ([127.0.0.1]) by localhost (.ee.ethz.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZRMnRiBC3QtA; Wed, 28 Aug 2013 17:34:27 +0200 (MEST)
Received: from pb-10243.ethz.ch (pb-10243.ethz.ch [82.130.102.152]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: briant) by smtp.ee.ethz.ch (Postfix) with ESMTPSA id B85B6D9303; Wed, 28 Aug 2013 17:34:27 +0200 (MEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Brian Trammell <trammell@tik.ee.ethz.ch>
In-Reply-To: <07FF0072-DA3F-4E4A-9418-F2C4CF918817@ifi.uio.no>
Date: Wed, 28 Aug 2013 17:34:27 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <E2FAF1EC-0E0F-4690-B36A-FB7242FF9975@tik.ee.ethz.ch>
References: <CAP+FsNeMqB0+igBZjjsT-Xb+17YdUyptBJ2N0x9_jaaLYzKisQ@mail.gmail.com> <CAP+FsNcvR5q3N2iLv6wM6LQXS72sg1pdvTWdU9rsSFAP8OHpwA@mail.gmail.com> <4613980CFC78314ABFD7F85CC302772111B7D710@IL-EX10.ad.checkpoint.com> <CABaLYCuom7VH+9VJrbe7-D+S7YfGtbS59ne5fG03Zrm=U5tc0Q@mail.gmail.com> <081D0F76-F4AE-42D5-B354-795BE4910D23@lurchi.franken.de> <2ADDC87F-8E20-4D7D-B0A0-20CE3DD12B81@ifi.uio.no> <CAA4WUYhK4TQNsYiemfDq5xVtxtmPV=suqteRUkb11r43ZxRHAA@mail.gmail.com> <07FF0072-DA3F-4E4A-9418-F2C4CF918817@ifi.uio.no>
To: Michael Welzl <michawe@ifi.uio.no>
X-Mailer: Apple Mail (2.1508)
Cc: "tsvwg@ietf.org" <tsvwg@ietf.org>, Yoav Nir <ynir@checkpoint.com>, Mike Belshe <mike@belshe.com>, HTTP Working Group <ietf-http-wg@w3.org>, willchan@google.com, Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
Subject: Re: [tsvwg] The List (of application-layer desired features)
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tsvwg>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Aug 2013 15:34:37 -0000

hi Michael, all,

On 28 Aug 2013, at 13:53 , Michael Welzl <michawe@ifi.uio.no> wrote:

> 
> On 28. aug. 2013, at 11:53, William Chan (陈智昌) wrote:
> 
>> On Aug 28, 2013 4:01 PM, "Michael Welzl" <michawe@ifi.uio.no> wrote:
>> >
>> > Hi,
>> >
>> > I agree 100% with Michael Tuexen here... just one thing, in line:
>> >
>> >
>> >>> You're right, SCTP is non-deployable, which makes it a non-starter.  SCTP also does not address handshake issues or TLS issues.
>> >>
>> >> I agree that SCTP over IP can't be deployed now due to missing NAT support.
>> >
>> >
>> > Indeed that's not an argument against SCTP/UDP/IP, but I also wonder why, instead of saying "can't be deployed", people don't just go ahead and use it whenever it's there and works, with a fall-back to TCP? This could be done with (this version of) Happy Eyeballs:
>> > http://tools.ietf.org/html/draft-wing-tsvwg-happy-eyeballs-sctp-02
>> >
>> > Good reasons against doing this are... what? Anyone?
>> 
>> Implementation usefulness. Why bother adding code that barely gets used (and that is unlikely to improve in the near future), adds complexity, code bloat, etc...?
>> 
> Fair point. That's why I think the OS should in fact do Happy Eyeballs for you!

My only concern here -- and I say this as someone who's a big fan of the general approach of endpoints being smart in how they work around deficiency in the network -- is that SCTP and TCP provide different services. This is unlike the case with IPv4 and IPv6, the differences between which are completely hidden behind the API (in the common case, in the modern world, anyway). 

So even if the OS handles the fallback (which it should), the application still has to determine whether the SCTP features it wants to use are available, unless the OS also provides SOCK_SEQPACKET (or equivalent) service with partial reliability and/or multihoming and/or streams over TCP.

>> SCTP/UDP has a much higher likelihood of usefulness. But as Roberto has mentioned, it still has deficiencies, mostly around RTTs (connection + DTLS setup). If they can be fixed, great. Let's do it.
>> 
> Why shouldn't it be possible to fix SCTP to do whatever you want? Anyway it sounds to me like a simpler approach than building a whole new protocol.

This, absolutely. But in order for it to take off, we need to make it as simple as possible for application developers to adapt to the availability different transport capabilities and services, which is more an API than a protocol issue.

Cheers,

Brian