Re: [rtcweb] Lower-overhead protocol variations
Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Thu, 21 February 2013 20:19 UTC
Return-Path: <Michael.Tuexen@lurchi.franken.de>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4AA4421F8F45 for <rtcweb@ietfa.amsl.com>; Thu, 21 Feb 2013 12:19:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level:
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sKd5LuuDpbrV for <rtcweb@ietfa.amsl.com>; Thu, 21 Feb 2013 12:19:48 -0800 (PST)
Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by ietfa.amsl.com (Postfix) with ESMTP id 0C77921F886A for <rtcweb@ietf.org>; Thu, 21 Feb 2013 12:19:48 -0800 (PST)
Received: from [192.168.1.101] (p5481B5C4.dip.t-dialin.net [84.129.181.196]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 72D7D1C0C0692; Thu, 21 Feb 2013 21:19:46 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset="us-ascii"
From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <51263522.1030206@jesup.org>
Date: Thu, 21 Feb 2013 21:19:51 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <3FAF754D-8040-49FC-B0AD-F17BF705F62C@lurchi.franken.de>
References: <512540A3.3090008@jesup.org> <0DB30A45-97A6-4974-9CBB-BEE6691EFCE2@lurchi.franken.de> <51263522.1030206@jesup.org>
To: Randell Jesup <randell-ietf@jesup.org>
X-Mailer: Apple Mail (2.1283)
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Lower-overhead protocol variations
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Feb 2013 20:19:49 -0000
On Feb 21, 2013, at 3:54 PM, Randell Jesup wrote: > On 2/21/2013 8:03 AM, Michael Tuexen wrote: >> On Feb 20, 2013, at 10:31 PM, Randell Jesup wrote: >> >>> This is a relevant thread to current discussions: >>> http://www.w3.org/mid/D1737092-F63D-4821-B3FA-D425267E4F23@cisco.com >>> and continued with subject change in >>> http://www.w3.org/mid/4F4D6315.9000601@jesup.org >>> >>> I'm re-evaluating if the original decision against even/odd was required, >>> in order to see if we can collapse the current draft 0-RTT proposal >>> into a single declarative "open" message on a stream with no response or ack >>> required. Even/odd (perhaps based on a property of the SCTP association?) >>> would avoid the need for mismatched channel pairs, and thus avoid the need >>> for the response/ack and the need to send with the in-order bit. >> I'm not sure what you mean you even/odd? >> >> I guess you will send the "open" message reliable and ordered. OK. >> Are you proposing that there is no ACK sent back? What would happen >> if one side sends an "open" message indicating an unordered data channel, >> sends a user message on this channel and the user message is delivered >> first? > > As you infer below, this would be one side uses even channels to initiate, the other uses odd (to avoid glare). > The reliability question is important; the simplest solution would be to buffer any data that arrives without an Open message until the Open message is received, and then deliver it. There's no issue in the other direction, as once the open message is received the receiver can then send on that stream/channel with no restrictions. I assume there's some way to reliably choose roles for even/odd selection in SCTP? If not, we can find other ways to do it (even SDP if we had to), though I think we could also key off the DTLS. Not sure we can choose based on SCTP. The port numbers can be the same and we have no addresses available. Maybe we can use the client/server identity from DTLS (the DTLS client uses even, the DTLS server uses odd). > >>> The only hole I've seen so far is that if the return stream isn't >>> currently within the range of valid streams (i.e. at the far end) there's >>> no easy way to return an error. However, we expect to be able to >> How are the stream in both directions tied together? How is the allocation >> done? Can't the sender of the "open" message know that there is no backward >> channel? > > Actually, it probably can since it knows how many streams the other side can send with. Some verbiage around how negotiation of the number of streams is done may be all we need here. I don't see this as a major problem. My questions are answered by the odd/even rule and buffering received messages before the Open is received. > >> Maybe you are thinking about each side only using even outgoing streams for >> data channels initiated by its own, and the next higher odd for the ones >> initiated by the peer. If you are thinking like this, each side knows if >> the resources are there and, if not, can request more. Do you have something >> like this in mind? > > Yes. I don't remember if you can request that the *other* side increase streams, but if we add verbiage that says "when a stream increase is requested by one side, the other side shall request a number of streams that large or larger" I think we're covered - then if the other side wouldn't have a return channel, you just request a stream increase (maybe even an increase of 0 streams, but that would require the other side to equal you). Yes, you can add incoming and outgoing streams (we thought it might be useful...). So your idea would work... Best regards Michael > > > -- > Randell Jesup > randell-ietf@jesup.org > > _______________________________________________ > rtcweb mailing list > rtcweb@ietf.org > https://www.ietf.org/mailman/listinfo/rtcweb >
- [rtcweb] Lower-overhead protocol variations Randell Jesup
- Re: [rtcweb] Lower-overhead protocol variations Michael Tuexen
- Re: [rtcweb] Lower-overhead protocol variations Randell Jesup
- Re: [rtcweb] Lower-overhead protocol variations Michael Tuexen
- Re: [rtcweb] Lower-overhead protocol variations Harald Alvestrand
- Re: [rtcweb] Lower-overhead protocol variations Stefan HÃ¥kansson LK
- Re: [rtcweb] Lower-overhead protocol variations Randell Jesup
- Re: [rtcweb] Lower-overhead protocol variations Michael Tuexen
- Re: [rtcweb] Lower-overhead protocol variations Harald Alvestrand
- Re: [rtcweb] Lower-overhead protocol variations Michael Tuexen
- Re: [rtcweb] Lower-overhead protocol variations Salvatore Loreto
- Re: [rtcweb] Lower-overhead protocol variations Salvatore Loreto
- Re: [rtcweb] Lower-overhead protocol variations Michael Tuexen
- Re: [rtcweb] Lower-overhead protocol variations Salvatore Loreto
- Re: [rtcweb] Lower-overhead protocol variations Harald Alvestrand