Overhead of HTTP/2 Stream Management.

Max Bruce <max.bruce12@gmail.com> Sun, 05 April 2015 18:13 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D1F131AC3D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 5 Apr 2015 11:13:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.8
X-Spam-Level:
X-Spam-Status: No, score=-6.8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y1FjWTujARFB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 5 Apr 2015 11:13:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 95A3E1A0091 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 5 Apr 2015 11:13:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Yeoz2-0008GW-GY for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Apr 2015 18:09:20 +0000
Resent-Date: Sun, 05 Apr 2015 18:09:20 +0000
Resent-Message-Id: <E1Yeoz2-0008GW-GY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <max.bruce12@gmail.com>) id 1Yeoyz-0008Fk-J5 for ietf-http-wg@listhub.w3.org; Sun, 05 Apr 2015 18:09:17 +0000
Received: from mail-ig0-f172.google.com ([209.85.213.172]) by lisa.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <max.bruce12@gmail.com>) id 1Yeoyy-0006sk-Q0 for ietf-http-wg@w3.org; Sun, 05 Apr 2015 18:09:17 +0000
Received: by igblo3 with SMTP id lo3so8476304igb.1 for <ietf-http-wg@w3.org>; Sun, 05 Apr 2015 11:08:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=zK3SYRbQJbJyQMnIRL5CTyodJW0o7ob2RiGawI13hwU=; b=HNk7pPUi5YyZeUCFX7RZveaqut6K87dMNf/VgkK63f9nmufXgXU39YmbdsTx6Skef6 fswflWLN75CznqNBuSO3N5sRD5Vh/3OB3jLaNqzIYVoRNdsi75pEcZWrDE+83vYeCYFc KahesRT67mz8IREzVg9ABbqcjzRAnvCdu6RirFxMefFQFProLs7VkjGQnapklXyjqs3t E+gCSXtryFNrgHaSorXa96q3RFNj5eEbboHAO0ZGs60f7cUvevHt/evlqC3On/lO1H9O 7H90zE07TFvFdxQojiE+uq923yBFUBo6zOWtfvbv4NY2g8UVmNSWDDr0+yYyxp8Vj/z2 OvfA==
MIME-Version: 1.0
X-Received: by 10.50.129.9 with SMTP id ns9mr17752345igb.24.1428257331037; Sun, 05 Apr 2015 11:08:51 -0700 (PDT)
Received: by 10.36.58.142 with HTTP; Sun, 5 Apr 2015 11:08:50 -0700 (PDT)
Date: Sun, 05 Apr 2015 11:08:50 -0700
Message-ID: <CABb0SYTLVFYXymJ75TkNkku3oT5pRcSAahjq2HcD5gDLouskpA@mail.gmail.com>
From: Max Bruce <max.bruce12@gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="047d7b343c9cdd4c140512fe1237"
Received-SPF: pass client-ip=209.85.213.172; envelope-from=max.bruce12@gmail.com; helo=mail-ig0-f172.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.842, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1Yeoyy-0006sk-Q0 8f56b91219d43d8a6506826c43e2baad
X-Original-To: ietf-http-wg@w3.org
Subject: Overhead of HTTP/2 Stream Management.
Archived-At: <http://www.w3.org/mid/CABb0SYTLVFYXymJ75TkNkku3oT5pRcSAahjq2HcD5gDLouskpA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29262
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>

I'm in the process of implementing HTTP/2 into Avuna, and I have a question.
>From a performance point of view, why do streams maintain a open/close
state? There seems to be a considerable overhead for it, yet it doesn't
seem necessary. Think of packet IDs in DNS, it just returns with the same
ID to say it is a response to a specific request. What is the benefit of a
detailed stream-like system, versus a simple request/response identifier?