Re: [hybi] I-D Action: draft-ietf-hybi-websocket-multiplexing-01.txt

"Arman Djusupov" <arman@noemax.com> Tue, 22 May 2012 11:40 UTC

Return-Path: <arman@noemax.com>
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 1A5A021F853D for <hybi@ietfa.amsl.com>; Tue, 22 May 2012 04:40:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_38=0.6]
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 TkrCutRiL+fJ for <hybi@ietfa.amsl.com>; Tue, 22 May 2012 04:40:35 -0700 (PDT)
Received: from mail.noemax.com (mail.noemax.com [64.34.201.8]) by ietfa.amsl.com (Postfix) with ESMTP id 2AF0721F853C for <hybi@ietf.org>; Tue, 22 May 2012 04:40:35 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; t=1337686828; x=1338291628; s=m1024; d=noemax.com; c=relaxed/relaxed; v=1; bh=4rWUPBa+Gr9Hv3m2mIjs7HC02HE=; h=From:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type:In-Reply-To:References; b=SLydmRNG8+pCODRLh+JOnR7KlY3A3TxQidIr++IjuYPXvR4qN7605rq1yLRUW667HVuTnh7MjnBGvzJHndehyZmFJWou027m4rTxnJ0X8zhbARFejmtd5+tT/vjPtTi4QqBc0a/I1Y2Yp1FaDBdcgdVLYoGXWd+t2ECgw09RW/s=
Received: from mail.noemax.com by mail.noemax.com (IceWarp 10.4.0) with ASMTP (SSL) id GQK73426; Tue, 22 May 2012 14:40:26 +0300
From: Arman Djusupov <arman@noemax.com>
To: 'Greg Wilkins' <gregw@intalio.com>, 'Takeshi Yoshino' <tyoshino@google.com>
References: <20120420050004.2740.14810.idtracker@ietfa.amsl.com> <CAH9hSJZGjHLzuSz2KZVSuBLtyeC3wfed4raRux0TU1Ymt1VQ4A@mail.gmail.com> <CAH_y2NHpcriaGO1k0h7J-5rvAr8T6O6sfY67rEC3Fe3QHkMC0Q@mail.gmail.com>
In-Reply-To: <CAH_y2NHpcriaGO1k0h7J-5rvAr8T6O6sfY67rEC3Fe3QHkMC0Q@mail.gmail.com>
Date: Tue, 22 May 2012 14:40:21 +0300
Message-ID: <002701cd380f$af9ae000$0ed0a000$@noemax.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0028_01CD3828.D4E90260"
X-Mailer: Microsoft Outlook 14.0
thread-index: AQJn75cJ8lUw0ksMyaNp2LI8wkJEbwHVGKzrAZ9SYVmVhJuoAA==
Content-language: en-us
Cc: hybi@ietf.org
Subject: Re: [hybi] I-D Action: draft-ietf-hybi-websocket-multiplexing-01.txt
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, 22 May 2012 11:40:36 -0000

The mux specification does not define an algorithm for calculating the
subsequent FC quota to be sent to the remote side. This means that the quota
is not required to be a fixed value, it can have a dynamic value taking into
account various criteria including the share of the per-connection window
space available. 

 

If we have to resolve the overallocation and underutilization issue on the
protocol level, we would need a more complex flow control protocol that
would be able use an optimistic window size and discard/retransmit the
frames that would be overbuffered. This would definitely be much more
complex and I doubt that it would resolve performance problems.

 

Note that the issues being discussed in the SPDY list are not only SPDY
problems, they are present even with TCP/IP intermediaries (with the
difference that TCP/IP packets can be discarded and retransmitted later if
the link is overloaded).

 

With best regards,

Arman

 

 

From: hybi-bounces@ietf.org [mailto:hybi-bounces@ietf.org] On Behalf Of Greg
Wilkins
Sent: Tuesday, May 22, 2012 12:12 PM
To: Takeshi Yoshino
Cc: hybi@ietf.org
Subject: Re: [hybi] I-D Action:
draft-ietf-hybi-websocket-multiplexing-01.txt

 


I think we should note the discussion happening over in SPDY-dev about their
flow control and concerns about it

  https://groups.google.com/forum/?fromgroups#!topic/spdy-dev/JB_aQPNI7rw

Our mux proposal with it's send quotas has effectively the same problem -
namely that a fixed quota per channel can cause a significant under
utilisation of a fast link, but can also represent a significant over
allocation of capacity if many channels are present.  I think we need to
closely follow that discussion to see what solutions may be developed before
we commit to a per channel window flow control.

cheers



On 20 April 2012 08:08, Takeshi Yoshino <tyoshino@google.com> wrote:

Hi all,

 

Here's the ietf -01 version of multiplexing spec.

 

Diff:
http://tools.ietf.org/rfcdiff?url2=draft-ietf-hybi-websocket-multiplexing-01
.txt

 

Changes from -00 are:

- now multiplex control blocks MUST be interpreted when the entire message
containing them has arrived

- now the base for delta-encode of handshake is the last
AddChannelRequest/Response with Enc=identity

- clarified how much the send quota is until receiving reply

-- note that this is still open for discussion

- a server MUST _Fail the Physical Channel_ when there's inconsistency
between Sec-WebSocket-Extensions in AddChannelRequest/AddChannelResponse
(e.g. some value that need to be the same for all logical channels is
altered)

-- another option is to just _Fail the Logical Channel_

- style/readability

-- new term "multiplexed connection" to clarify the difference between
logical channels (used for both control and transferring multiplexed
connection's data) and multiplexed WebSocket connections

-- new term "Implicitly Opened Connection" defined to reduce text

-- made definition of send quota and quota parameter in Flow Control section
more detailed

 


_______________________________________________
hybi mailing list
hybi@ietf.org
https://www.ietf.org/mailman/listinfo/hybi