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

Michael Welzl <michawe@ifi.uio.no> Thu, 29 August 2013 07:57 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 574AF21F9EF8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 29 Aug 2013 00:57:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.315
X-Spam-Level:
X-Spam-Status: No, score=-7.315 tagged_above=-999 required=5 tests=[AWL=1.887, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
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 S-gxJ9vTS9k5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 29 Aug 2013 00:57:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BE48F21F9F8F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 29 Aug 2013 00:57:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1VEx5x-0002Xd-BY for ietf-http-wg-dist@listhub.w3.org; Thu, 29 Aug 2013 07:56:45 +0000
Resent-Date: Thu, 29 Aug 2013 07:56:45 +0000
Resent-Message-Id: <E1VEx5x-0002Xd-BY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <michawe@ifi.uio.no>) id 1VEx5k-0002Qg-3o for ietf-http-wg@listhub.w3.org; Thu, 29 Aug 2013 07:56:32 +0000
Received: from mail-out1.uio.no ([129.240.10.57]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <michawe@ifi.uio.no>) id 1VEx5i-0006iW-9h for ietf-http-wg@w3.org; Thu, 29 Aug 2013 07:56:32 +0000
Received: from mail-mx3.uio.no ([129.240.10.44]) by mail-out1.uio.no with esmtp (Exim 4.75) (envelope-from <michawe@ifi.uio.no>) id 1VEx5K-0004OQ-1G; Thu, 29 Aug 2013 09:56:06 +0200
Received: from boomerang.ifi.uio.no ([129.240.68.135]) by mail-mx3.uio.no with esmtpsa (TLSv1:AES128-SHA:128) user michawe (Exim 4.80) (envelope-from <michawe@ifi.uio.no>) id 1VEx5J-00030l-06; Thu, 29 Aug 2013 09:56:05 +0200
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: multipart/alternative; boundary="Apple-Mail=_E4BD343E-7173-4B0C-8A2E-FB027203F05D"
From: Michael Welzl <michawe@ifi.uio.no>
In-Reply-To: <CAA4WUYjeQGuER715PsQBamHSMxuBpT_aOBa4qWFP69r8LmJGKQ@mail.gmail.com>
Date: Thu, 29 Aug 2013 09:56:04 +0200
Cc: Yoav Nir <ynir@checkpoint.com>, Mike Belshe <mike@belshe.com>, Michael Tuexen <Michael.Tuexen@lurchi.franken.de>, HTTP Working Group <ietf-http-wg@w3.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>
Message-Id: <13D8A8EF-8A59-44B1-A5F3-40CAD2C330C4@ifi.uio.no>
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> <CAA4WUYjeQGuER715PsQBamHSMxuBpT_aOBa4qWFP69r8LmJGKQ@mail.gmail.com>
To: willchan@google.com
X-Mailer: Apple Mail (2.1283)
X-UiO-SPF-Received:
X-UiO-Ratelimit-Test: rcpts/h 21 msgs/h 6 sum rcpts/h 22 sum msgs/h 6 total rcpts 6983 max rcpts/h 40 ratelimit 0
X-UiO-Spam-info: not spam, SpamAssassin (score=-7.4, required=5.0, autolearn=disabled, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RP_MATCHES_RCVD=-2.4, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO)
X-UiO-Scanned: B1CA89C7340D15DD473CCA9909A7057CB0F708AA
X-UiO-SPAM-Test: remote_host: 129.240.68.135 spam_score: -73 maxlevel 80 minaction 2 bait 0 mail/h: 6 total 2780 max/h 16 blacklist 0 greylist 0 ratelimit 0
Received-SPF: none client-ip=129.240.10.57; envelope-from=michawe@ifi.uio.no; helo=mail-out1.uio.no
X-W3C-Hub-Spam-Status: No, score=-5.9
X-W3C-Hub-Spam-Report: AWL=-1.045, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-2.511
X-W3C-Scan-Sig: lisa.w3.org 1VEx5i-0006iW-9h 088cb2b582ef14547d3895e22081c98a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [tsvwg] The List (of application-layer desired features)
Archived-At: <http://www.w3.org/mid/13D8A8EF-8A59-44B1-A5F3-40CAD2C330C4@ifi.uio.no>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/19440
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 28. aug. 2013, at 15:34, William Chan (陈智昌) wrote:

> On Wed, Aug 28, 2013 at 7:53 PM, 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!
> 
> 
> I'm not sure if you're trolling me. In case you aren't, you may want to look at the graph at: http://gs.statcounter.com/#os-ww-monthly-201207-201307. Windows XP (released in 2001) is still around 20% of browser usage. If you have the ability to get Microsoft to backport SCTP/IP onto their XP stack, I'd love to know. We're not going to ignore large segments of our user base when we could use UDP and deploy for all relevant OSes. That may be acceptable for some applications, but not for the browser I work on.

I'm not trolling you.

So, first, I think we all agree that SCTP over UDP could be a useful approach anyway, and indeed maybe that could be the long-term path towards wider OS-level deployment. Imagine we had SCTP-over-UDP used by browsers all the time, this might be an argument for putting it in the OS. The way things are now, OS folks won't do it cause applications don't use it, and vice versa. Having a multitude of application-specific solutions over UDP that all pretty much do the same things as SCTP doesn't help that, I don't imagine that QUIC et al are going to end up in the OS at some point.

Why is it even so important that things would be in the OS and not in user space? I don't know, maybe it isn't... I figure that some timing things could be done better, but maybe it really doesn't matter much. So yes, SCTP over UDP sounds like the way to go for me.

But just to explain my argument: for Happy Eyeballs with OS-level SCTP, my point was that one could use OS-level SCTP whenever it's there. When it's not, do the UDP thing. Yes it's more complicated than simply going for the over-UDP solution at all times, and may not be worth it (are there numbers showing that OS-level SCTP is better than userspace SCTP?) - I'm just trying to explain what I had in mind.

Anyway, when I wrote "the OS should do it for you", I was thinking about something quite different, and not a recommendation for what you put in your browser at all. Never mind.


> 
> This is why Roberto said:
> """
> Wide, "safe" deployment
> """
>> 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. Of course, SCTP++ isn't the nicest acronym...  then again, RTMFP isn't either, if you ask me, sounds almost like RTFM...  QUIC is great though!
> 
> I have no attachments to the protocol name or frame format or whatever. Look at what we're doing in HTTP/2 which was inspired by SPDY but now has undergone substantial changes. We're serious about this. As long as the transport 

Sorry if my statement about acronyms rubbed you the wrong way, I was only trying to be a bit ironic here. What I mean is: SCTP seems to do a lot of the things that RTMFP or QUIC are meant to do. Rather than re-inventing the wheel over and over again, it might be better to have a discussion in tsvwg about what you guys think is missing in SCTP and seeing how it could be fixed.

I understand that speed of deployment is a key issue here, and trying to update SCTP in the IETF according to your wishes may take too long, but then just extending the code as you want might have been an even faster solution?! Well that doesn't matter and is of course your decision alone - either way, it's probably worth to look at the requirements addressed by RTMFP and QUIC, and not addressed by SCTP, and then discuss if or in which way SCTP should be extended.


> provides all the features we need, we'll use it. This conversation got started because tsvwg asked httpbis what the application layer wants from the transport. We're telling you. I think the constructive next step is for tsvwg folks to ask for clarification on any requirement they don't understand, discuss whether or not the requirements are reasonable, and discuss what may need to be done to address them.

Yes, absolutely.


Cheers,
Michael