Re: Multi-GET, extreme compression?
William Chan (陈智昌) <willchan@chromium.org> Mon, 18 February 2013 01:54 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0ABF821F8AB6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 17 Feb 2013 17:54:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.348
X-Spam-Level:
X-Spam-Status: No, score=-9.348 tagged_above=-999 required=5 tests=[AWL=0.328, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FtVoi0yH9YOU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 17 Feb 2013 17:54:14 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 061D721F8AB2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 17 Feb 2013 17:54:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1U7Fus-00076J-Jg for ietf-http-wg-dist@listhub.w3.org; Mon, 18 Feb 2013 01:53:14 +0000
Resent-Date: Mon, 18 Feb 2013 01:53:14 +0000
Resent-Message-Id: <E1U7Fus-00076J-Jg@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1U7Fuj-00075d-Ti for ietf-http-wg@listhub.w3.org; Mon, 18 Feb 2013 01:53:05 +0000
Received: from mail-qa0-f44.google.com ([209.85.216.44]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1U7Fue-00027x-8R for ietf-http-wg@w3.org; Mon, 18 Feb 2013 01:53:05 +0000
Received: by mail-qa0-f44.google.com with SMTP id bv4so1072340qab.10 for <ietf-http-wg@w3.org>; Sun, 17 Feb 2013 17:52:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=9QU7FqpXLjFd8aGqrrvVI6HG05yLeNCs/a9BGECoXjw=; b=LaiJdNrlF0eCElEiKFZmi8Tz9hyQxdroBCHfDXwFnsMipZtzDmas8pSOYkG3DA0qJR 5UQBow4Ctr+lk+mjXH4QPrZMQUDfoIQvCHnYqOZgouyCyFdo7Rp/TUCJ8QJBpLEXj/Aa vC1b2Ye2bkM+pYVoiQvOvZkVAtBfKJVI/CuOaMoEj96gK1FckXSfWsTpkED0fvq+4/iz Baz1ciom5oqnaXZItgF1d09py7O+HK+TMzKkTKfg4mU1QznR5rFfAol33SWn7fyhTMdV pflrJ6fuiuVnq7OGzDeZaMwFxS5Y0clJWDMme7zylUeOOe4cGqdjYWZ/EXt5yV2qNLsY mO9Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=9QU7FqpXLjFd8aGqrrvVI6HG05yLeNCs/a9BGECoXjw=; b=KgAx7vtv+Zsxpa78mJnAdRgiFSDXpiczI48pcgQkvlqd+OkT8YXqzOCzS88mn8sNRU HSBjVrZr1yRtnssWR3FLSjPU2UBKwZO3M6VP15nJUMZooiNlCPYfYpcRgQmnEpSRGAI6 MIO1m1dkaY2AOPSZexeZqzHWcleXQ/wvOlGF8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=9QU7FqpXLjFd8aGqrrvVI6HG05yLeNCs/a9BGECoXjw=; b=ccTKofDyH3HEpUfLN1ltQN77MamFdZxzg4uAZ3l4/dfwBtkkWk64nrBATRhC+pmtEf rRy/Tlg8ZoT8Ts90ocnvBhhpGOafslcDnJZFMfrl6Co8PhnNmaLNuFcfWZJ8iuNDsm/j DzEgNS5UMgNbMtvfv6OOCxykDMWV+CgF2LV04rwyaDUvar1bvB4ovCPNGVM+STgma1p4 i9CZkljnHh/grP1TdvQeUt5gNq22guz03+GwgqQEy6OVJBEHdO3xrLSHoZRpWUzi7TKy t1003GDUTDlupcUj7GZgcoK0BmxXZ0rtYvJMRWUpDaVfLu0OPV4I/bgvspS+CyFulb9s Q15Q==
MIME-Version: 1.0
X-Received: by 10.224.176.19 with SMTP id bc19mr4783667qab.46.1361152354261; Sun, 17 Feb 2013 17:52:34 -0800 (PST)
Sender: willchan@google.com
Received: by 10.229.135.210 with HTTP; Sun, 17 Feb 2013 17:52:34 -0800 (PST)
In-Reply-To: <968F329C-B6CF-4129-B816-DC56C834A4A4@opengroupware.org>
References: <CAMm+LwiF6EM8_aQgUm=nPS5XqaG25iRGNke_rnHTM1vTGMXdfg@mail.gmail.com> <A6A82B6EF92590887D2A23D5@cyrus.local> <D9118B58-F53F-4F75-8292-2B990172E234@opengroupware.org> <CABP7RbcX2OqttZuYeuYxhyOgE_ax0M67L1ywPy_VDpW1upM69Q@mail.gmail.com> <CAP+FsNeWDBTBYJ0P-URbO5avbUno5etKid10RM+dRwDWAUys2w@mail.gmail.com> <CABP7RbfVvZnYPPsRvzmC0BtCiPBxQmYXHTRKtq8XE7Z2wY2EfA@mail.gmail.com> <CAA4WUYioRAOEbjU32yEaJuWDAySiZF=OfKXcF-8esqTP0uqwtQ@mail.gmail.com> <968F329C-B6CF-4129-B816-DC56C834A4A4@opengroupware.org>
Date: Sun, 17 Feb 2013 17:52:34 -0800
X-Google-Sender-Auth: jJSBSx74RAoWQTiILHOvltuzM-4
Message-ID: <CAA4WUYgGiJmtbswzmXWi-Ob+1HmoGnMhwr+9j9b5KS5OVQQdjQ@mail.gmail.com>
From: "William Chan (陈智昌)" <willchan@chromium.org>
To: Helge Hess <helge.hess@opengroupware.org>
Cc: James M Snell <jasnell@gmail.com>, Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Phillip Hallam-Baker <hallam@gmail.com>, Cyrus Daboo <cyrus@daboo.name>
Content-Type: multipart/alternative; boundary="20cf302ef96c8f9aff04d5f5fa02"
X-Gm-Message-State: ALoCoQmmN+iEhj/QYj0+Ncxfy56NeeSAEdASbCpLJIIt0++/XoOB/Fq/RSrLWhs9vvBNTdREgY3aof5bqSjAXPxnXfLrPVn7NEf/oqbsNX953YGa1g1vfvpMkeH5we967EvX2HBPQHn0UGejtt9IeFR51t/3Mn58qMgmvg4sRPIzzejLeognYkLNGbh9C4we8H/gQE5LAG2l
Received-SPF: pass client-ip=209.85.216.44; envelope-from=willchan@google.com; helo=mail-qa0-f44.google.com
X-W3C-Hub-Spam-Status: No, score=-4.7
X-W3C-Hub-Spam-Report: AWL=-1.406, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.556, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1U7Fue-00027x-8R 11c58b2403465b091e7fb90038ad6d7b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Multi-GET, extreme compression?
Archived-At: <http://www.w3.org/mid/CAA4WUYgGiJmtbswzmXWi-Ob+1HmoGnMhwr+9j9b5KS5OVQQdjQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16647
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>
On Sun, Feb 17, 2013 at 5:38 PM, Helge Hess <helge.hess@opengroupware.org>wrote: > On Feb 17, 2013, at 5:30 PM, William Chan (陈智昌) <willchan@chromium.org> > wrote: > > I'm having difficulty grokking this proposal. Can you describe more > clearly how this would work with the web platform? Specifically, what kind > of markup in a HTML document should cause a browser to use a MGET for a > resource set as you describe it. > > ? e.g. <img>, <script>, CSS links etc. > I'm confused. We issue individual GETs for the individual resource URLs. How do we know to combine those individual resources into this magical /resource/set path? Furthermore, as I previously linked to in the very first reply to the thread, when we discussed MGET previously, I highlighted how the browser incrementally parses the document and sends GETs for resources as it discovers them. Since my browser does not have a crystal ball telling it that more resources are coming and when they are coming, the browser simply issues GETs as soon as it can (subject to some other constraints like DNS and available TCP sockets and some weak attempts at resource scheduling). > > > Also, how does this work for HTTP/1.X? Since we'll be living in a > transitional world for awhile, I'd like to understand how this allows for > HTTP/1.X semantics backwards compatibility. > > An old server would return a 405 when the BATCH comes in, then the client > needs to switch to performing the operations individually. > So, you handwaved over how the client would magically transform URL1 + URL2 + URL3 into magical example.com/resource/set. Assuming that's possible, how do you do the reverse transformation, when a HTTP/2=>HTTP/1.X gateway needs to translate HTTP/2 MGET requests for this /resource/set into the individual GETs for the original URLs. And even if this is possible, how reasonable is it to pay this roundtrip on receiving the 405? We've fought really hard to eliminate roundtrips. > > hh > >
- Multi-GET, extreme compression? Phillip Hallam-Baker
- Re: Multi-GET, extreme compression? William Chan (陈智昌)
- Re: Multi-GET, extreme compression? Cyrus Daboo
- Re: Multi-GET, extreme compression? Helge Heß
- Re: Multi-GET, extreme compression? James M Snell
- Re: Multi-GET, extreme compression? Roberto Peon
- Re: Multi-GET, extreme compression? Dr Robert Mattson
- Re: Multi-GET, extreme compression? James M Snell
- Re: Multi-GET, extreme compression? Bjoern Hoehrmann
- Re: Multi-GET, extreme compression? Dr Robert Mattson
- Re: Multi-GET, extreme compression? Helge Hess
- Re: Multi-GET, extreme compression? William Chan (陈智昌)
- Re: Multi-GET, extreme compression? Helge Hess
- Re: Multi-GET, extreme compression? William Chan (陈智昌)
- Re: Multi-GET, extreme compression? Helge Hess
- Re: Multi-GET, extreme compression? Mark Nottingham
- Re: Multi-GET, extreme compression? Helge Hess
- Re: Multi-GET, extreme compression? James M Snell
- Re: Multi-GET, extreme compression? James M Snell
- Re: Multi-GET, extreme compression? Phillip Hallam-Baker
- Re: Multi-GET, extreme compression? William Chan (陈智昌)
- Re: Multi-GET, extreme compression? Willy Tarreau
- Re: Multi-GET, extreme compression? Patrick McManus
- Re: Multi-GET, extreme compression? Phillip Hallam-Baker
- Re: Multi-GET, extreme compression? Brian Pane
- Re: Multi-GET, extreme compression? Mark Baker
- Re: Multi-GET, extreme compression? Nico Williams
- Re: Multi-GET, extreme compression? Nico Williams
- Re: Multi-GET, extreme compression? Mark Nottingham
- Re: Multi-GET, extreme compression? Nico Williams
- Re: Multi-GET, extreme compression? Mark Nottingham
- Re: Multi-GET, extreme compression? Nico Williams
- Re: Multi-GET, extreme compression? Nicolas Mailhot
- Re: Multi-GET, extreme compression? Julian Reschke
- Re: Multi-GET, extreme compression? Nicolas Mailhot
- Re: Multi-GET, extreme compression? James M Snell
- Re: Multi-GET, extreme compression? Julian Reschke
- Re: Multi-GET, extreme compression? Julian Reschke
- Re: Multi-GET, extreme compression? Nicolas Mailhot
- Re: Multi-GET, extreme compression? Julian Reschke
- Re: Multi-GET, extreme compression? Phillip Hallam-Baker