Re: [hybi] Multiplexing: Pre-AddChannelResponse quota

Takeshi Yoshino <tyoshino@google.com> Mon, 25 June 2012 02:19 UTC

Return-Path: <tyoshino@google.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 3EC9021F85F6 for <hybi@ietfa.amsl.com>; Sun, 24 Jun 2012 19:19:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.976
X-Spam-Level:
X-Spam-Status: No, score=-102.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 nkDIN3F6e+3l for <hybi@ietfa.amsl.com>; Sun, 24 Jun 2012 19:19:40 -0700 (PDT)
Received: from mail-gg0-f172.google.com (mail-gg0-f172.google.com [209.85.161.172]) by ietfa.amsl.com (Postfix) with ESMTP id 8F2AD21F858A for <hybi@ietf.org>; Sun, 24 Jun 2012 19:19:40 -0700 (PDT)
Received: by ggnc4 with SMTP id c4so2730484ggn.31 for <hybi@ietf.org>; Sun, 24 Jun 2012 19:19:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record; bh=xMgi/HZIO6o/b7z7+p97LMTE+Osho9ZMcKpCTImp9Ps=; b=dA7dM9aU6pX8ycyDKnPJT+lROeoF5/PHePLMYPiOQALabT/DCUNb9mYJJ/ieWPgOCv 0tpjhVkBduHZCmcvF/sCvXAenC5R0GzCgOcCij0aaiMAAWTmfGwRHP5Cnulv/ugoSXIc LzE1QgK2fIu5C+zfdWPrmF/AJGUNTmpcpIx9X4PMCY0vXrfh3i/eueaeAuVEM7DWhqtw 7MLI9/Rno7VQgzYPXPiVlm5O7vOwCdpn5QaWqxl3MXkj7TtpB9fApz75Xg+MhiD8xekp rMY6qAwr7PjrRSCXzwLBc7Ukeygerm79Al/2OcW4FjiJ9ZsAO60p3Gu0J9Nh+8tSJMlZ uw8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=xMgi/HZIO6o/b7z7+p97LMTE+Osho9ZMcKpCTImp9Ps=; b=kvVqVxW2m5a/pGumvm1sGH3rviL2/J6seegRTSjMB3MQdn/0qz8zBWQvI1OfgFI8Cz pKLLC8hwUz5DnHTZ5p1uPSraioaI2r/oWukVwHqmp0b0OaikLKcTkeyUgnLBG4D9Gu6M We1wlHiphfycZYvFoCvK8oom2L9KwjqNwjqhbbr2XZf6tiVbBHMltbqdshGa8gVXbqOx vu8FNLqjv+QsdJmYQXDQtbxVyorr5S3j45SecQmr/aN43gVIB6o9AJgiYA4fKVCg33S/ MCIjEFUNwcQ0BuygM2ShcIBTILDfn5kvPJ/wAnD3jNBqJl7mk+Iv4WK+qwurovp3L1Jq wr2g==
Received: by 10.50.160.234 with SMTP id xn10mr6832617igb.61.1340590779493; Sun, 24 Jun 2012 19:19:39 -0700 (PDT)
Received: by 10.50.160.234 with SMTP id xn10mr6832609igb.61.1340590779405; Sun, 24 Jun 2012 19:19:39 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.66.7 with HTTP; Sun, 24 Jun 2012 19:19:18 -0700 (PDT)
In-Reply-To: <20120622121738.GR5812@jl-vm1.vm.bytemark.co.uk>
References: <002001cd4a14$53eb66f0$fbc234d0$@noemax.com> <CAH9hSJbz9HQrN67=Jf6bEmJikTGEViNEqjDP8XbHKrPKhYD19Q@mail.gmail.com> <001301cd4acf$d8c5cda0$8a5168e0$@noemax.com> <CAH9hSJYzbfUKMjuV3J1-tdapV59N5aewO-nAMLMexzF2f6KosA@mail.gmail.com> <6A3569A8-C253-4363-B00C-F336B0CA3128@noemax.com> <CAH9hSJayEAqJEE7=KdYuq669HOaG76kS9AVwUMUYaPKLtO=zEw@mail.gmail.com> <000301cd503d$0aff8f00$20fead00$@noemax.com> <CAH9hSJaNpAV2WYqRr7Pf47=auvADPHusx9ipUDLvAZRhRp7iuA@mail.gmail.com> <002101cd504f$d8a20e30$89e62a90$@noemax.com> <CAH9hSJayzKB9RFNtebKNygZa2HH3crkw9ycyRPGb+BrACYwAMQ@mail.gmail.com> <20120622121738.GR5812@jl-vm1.vm.bytemark.co.uk>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Mon, 25 Jun 2012 11:19:18 +0900
Message-ID: <CAH9hSJbngbwRAM3cMG7TH8mPhUVpvJ-LyK+3nckMuiEZbN-g6w@mail.gmail.com>
To: Jamie Lokier <jamie@shareable.org>
Content-Type: multipart/alternative; boundary="14dae934030332158904c3429d36"
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQn3/pkPg7NRZ2fd6iRhIR+/6vKxHTzBXBC9k54e/IhhSWCCsVQyLPZIXlS6tDT7zZZw9HbCOWCI4caEm8ZWWT9IjwCwF898Tw7s6I+V1BcLfSzM5O9VSDiBxqGuQTM6wM5Apikf6Z4BEehk4cTJjODt6hB4nidhyn5/DD7+jYRvfLZf42E=
Cc: hybi@ietf.org
Subject: Re: [hybi] Multiplexing: Pre-AddChannelResponse quota
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: Mon, 25 Jun 2012 02:19:41 -0000

On Fri, Jun 22, 2012 at 9:17 PM, Jamie Lokier <jamie@shareable.org> wrote:

> Why not just send NewChannelSlots[ADD=3], instead of 3
> NewChannelSlot messages?
>
> The slot messages are wasteful if the server is happy to accept 1000
> low-usage slots from the beginning.
>
> >    (C) receives FlowControl[ID=1, quota=1024]
> >    (C) receives FlowControl[ID=2, quota=1024]
> >    (C) receives FlowControl[ID=3, quota=1024]
> >    Now (C) is allowed to send pre-handshake data up to 1024 for each of
> >    allocated slots.
>
> Why not just send NewChannelSlots[ADD=3,PER_CHANNEL_QUOTA=1024]?
>
>
This is fine if we don't need a way to increase pre-handshake quota for the
slots after allocating them e.g. when the server gets more room for
processing after the allocation.

   (C) receives NewChannelSlots[ADD=1,PER_CHANNEL_QUOTA=1024].
>
> (Or it can be a flag in the AddChannelResponse parameters in the
> common case where it's COUNT=1 and the data quotas haven't changed,
> but that's just a special case to compress a message.)
>

Yes.