Re: [hybi] Call for interest: multiplexing dedicated for WebSocket

Tobias Oberstein <tobias.oberstein@tavendo.de> Tue, 11 June 2013 15:36 UTC

Return-Path: <tobias.oberstein@tavendo.de>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E3A2B21F9A00 for <hybi@ietfa.amsl.com>; Tue, 11 Jun 2013 08:36:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 y9Xx2L0q6NYi for <hybi@ietfa.amsl.com>; Tue, 11 Jun 2013 08:35:58 -0700 (PDT)
Received: from EXHUB020-3.exch020.serverdata.net (exhub020-3.exch020.serverdata.net [206.225.164.30]) by ietfa.amsl.com (Postfix) with ESMTP id A3DEC21F9A39 for <hybi@ietf.org>; Tue, 11 Jun 2013 08:35:57 -0700 (PDT)
Received: from EXVMBX020-12.exch020.serverdata.net ([169.254.3.90]) by EXHUB020-3.exch020.serverdata.net ([206.225.164.30]) with mapi; Tue, 11 Jun 2013 08:35:56 -0700
From: Tobias Oberstein <tobias.oberstein@tavendo.de>
To: "John A. Tamplin" <jat@jaet.org>
Date: Tue, 11 Jun 2013 08:35:53 -0700
Thread-Topic: [hybi] Call for interest: multiplexing dedicated for WebSocket
Thread-Index: Ac5mtVXlYwcFav5eRhS96qdjfnyzIwAAMXpw
Message-ID: <634914A010D0B943A035D226786325D4422DDFCDEC@EXVMBX020-12.exch020.serverdata.net>
References: <CAH9hSJZxr+aG7GZa4f-dUOTGj4bnJ+3XxivUX4jei5CMyqN4LQ@mail.gmail.com> <CAH9hSJZUG1f+3Uk=t2=A5i4O9=wPvAisspM=pgmGEH9emTL9-Q@mail.gmail.com> <CAH9hSJZai_UuxW4O6mZcEJT2DJoURtLo16XNci1qkYVWv4HVdg@mail.gmail.com> <007501ce56f0$67f74080$37e5c180$@noemax.com> <519CD6A1.7080708@ericsson.com> <519CE075.4000106@tavendo.de> <CAM5k6X9WmO80hiQZ6_GqK66PAd3of=2ZRi9=VrWj52apA1+=5g@mail.gmail.com> <CAFWmRJ2Hbe0x5FeV2T7Gkp3WEsxQHe2=YPBTgvHYLcus3A4rBQ@mail.gmail.com> <CAH9hSJYOPvsFPDXLOa29ASd8xavLdvfRK_cVd=Uc=Vaydz1O=w@mail.gmail.com> <CAFWmRJ2M0Gtoz80+6v+=0Ldm9+xE2brqD2shVcBPuNz+QGiKHg@mail.gmail.com> <634914A010D0B943A035D226786325D4422DC20DAA@EXVMBX020-12.exch020.serverdata.net> <CAH9hSJY_f4jS1ks1xzNmJSX5c+BxJv=-cNs5iS4mP2rZvtsvTQ@mail.gmail.com> <634914A010D0B943A035D226786325D4422DC213B9@EXVMBX020-12.exch020.serverdata.net> <CAHixhFr39Ymm6wCeMaF_y+VpC7DVDMFKWDaz_WOixQu=HQEsOw@mail.gmail.com> <634914A010D0B943A035D226786325D4422DDFCBCA@EXVMBX020-12.exch020.serverdata.net> <CAM5k6X9yZJC++ePF1mc03LVz6jQ1CheTdzuY+KDP20nhYoRToQ@mail.gmail.com>
In-Reply-To: <CAM5k6X9yZJC++ePF1mc03LVz6jQ1CheTdzuY+KDP20nhYoRToQ@mail.gmail.com>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: de-DE, en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Cc: Simone Bordet <sbordet@intalio.com>, "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Call for interest: multiplexing dedicated for WebSocket
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Jun 2013 15:36:04 -0000

>     3. single app with multiple communication requirements with
>     different  TOS (low-latency/mass..)
> 
>     might need MUX+flow-control+priorization.
> 
> In the case of a single app, it can always do its own prioritization, so 

The app then needs to implement app-level fragmentation, where the
draft already requires fragmentation for mux.

> I do not think it essential for this case.

For a single instance (tab) of the app, the can reinvent fragmentation
and implement it's own priority scheduling.

This seems to be highly inefficient.

For multiple instances (tabs) of the app, it's essential, since the app cannot
implement itself.

> 
>     I think with a little more work we could prepare for more advanced
>     scheduling
>     schemes in the future and allow implementations to experiment today
>     without
>     breaking interoperability.
> 
> 
> I don't see much value in providing the extension mechanism in this 
> draft without actually requiring an implementation, and requiring a 

The draft already requires the implementation to use a "fair scheduler", but
leaves the exact mechnism open.

> priority implementation means adding a lot of extra work.  The only way 
> I would support this would be if the text were basically "the 
> application can provide an indication of priority, and the server is 
> free to use or ignore this information as it sees fit".  In that case, 
> would anyone bother to use it?

A client can only hint, but _if_ the server sets priority on a channel, the
client _must_ schedule accordingly.

For a implementations not supporting priority scheduling, the proposal
essentially only relaxes the allowed parameters in Sec-WebSocket-Extensions
header for client-to-server:

priority-enabled client => non-supporting server:

c2s: mux; priority=scheduler; mux
s2c: mux

Change: skip mux configurations not supported instead of failing the handshake.

non-supporting client => priority-enabled server:

c2s: mux
s2c: mux

No change at all.