Re: Fwd: I-D Action: draft-reschke-http-jfv-00.txt

"Poul-Henning Kamp" <phk@phk.freebsd.dk> Mon, 14 July 2014 14:53 UTC

Return-Path: <ietf-http-wg-request@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 6F17C1A05CB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 14 Jul 2014 07:53:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.553
X-Spam-Level:
X-Spam-Status: No, score=-7.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 uBlJOcl6WamK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 14 Jul 2014 07:53:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DCBBD1A0769 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 14 Jul 2014 07:53:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1X6hb6-0007KM-AC for ietf-http-wg-dist@listhub.w3.org; Mon, 14 Jul 2014 14:51:20 +0000
Resent-Date: Mon, 14 Jul 2014 14:51:20 +0000
Resent-Message-Id: <E1X6hb6-0007KM-AC@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1X6has-0007Jd-EJ for ietf-http-wg@listhub.w3.org; Mon, 14 Jul 2014 14:51:06 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1X6har-0006Vv-GO for ietf-http-wg@w3.org; Mon, 14 Jul 2014 14:51:06 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 754181578; Mon, 14 Jul 2014 14:50:43 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.9/8.14.9) with ESMTP id s6EEoepo086751; Mon, 14 Jul 2014 14:50:41 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: ietf-http-wg@w3.org, Julian Reschke <julian.reschke@gmx.de>
In-reply-to: <CABP7Rbe7rZv88WjJGW-2DzyheMh4BsCGEpzzSwRUU_NJS6V+Rg@mail.gmail.com>
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
References: <20140702074741.4807.54532.idtracker@ietfa.amsl.com> <53C3D406.1060101@gmx.de> <45341.1405343868@critter.freebsd.dk> <CABP7Rbe7rZv88WjJGW-2DzyheMh4BsCGEpzzSwRUU_NJS6V+Rg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <86749.1405349440.1@critter.freebsd.dk>
Content-Transfer-Encoding: quoted-printable
Date: Mon, 14 Jul 2014 14:50:40 +0000
Message-ID: <86750.1405349440@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-3.375, RP_MATCHES_RCVD=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1X6har-0006Vv-GO a57cc9cccebdb1b3edd21b3c27e27de4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: I-D Action: draft-reschke-http-jfv-00.txt
Archived-At: <http://www.w3.org/mid/86750.1405349440@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/25821
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>

In message <CABP7Rbe7rZv88WjJGW-2DzyheMh4BsCGEpzzSwRUU_NJS6V+Rg@mail.gmail.com>, James M Snell wr
ites:

>Sanity around header structure is a good thing, but I'm -1 on forcing
>dependency on a json decoder.

As long as you don't propose ASN.1 instead :-)

>Let's invest time in an efficient binary encoding that gives us easy,
>reliable parsing.

This is where I think we should really work on three levels of
data:
	routing-headers (first line of HTTP/1 sans :query)
	metadata
	entity-body

For routing-headers, yes, they should be binary and very cheap to access.

For metadata I think interoperability is more important than raw performance
and I would prefer we don't invent a new format, but piggy-back on some
existing encoding.

But this is clearly HTTP/3 stuff, so lets put it on the afterburner...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.