Re: [Wpack] Mirja Kühlewind's Block on charter-ietf-wpack-00-14: (with BLOCK and COMMENT)

Jeffrey Yasskin <jyasskin@chromium.org> Fri, 28 February 2020 21:21 UTC

Return-Path: <jyasskin@google.com>
X-Original-To: wpack@ietfa.amsl.com
Delivered-To: wpack@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 04FA83A1E35 for <wpack@ietfa.amsl.com>; Fri, 28 Feb 2020 13:21:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.249
X-Spam-Level:
X-Spam-Status: No, score=-9.249 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=chromium.org
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 Bej6gm1rFwdw for <wpack@ietfa.amsl.com>; Fri, 28 Feb 2020 13:21:00 -0800 (PST)
Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EBEC33A0B61 for <wpack@ietf.org>; Fri, 28 Feb 2020 13:20:59 -0800 (PST)
Received: by mail-qv1-xf32.google.com with SMTP id g16so2055223qvz.5 for <wpack@ietf.org>; Fri, 28 Feb 2020 13:20:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cLwep3cNcgiltt5ZmHD7FRPaJwHMr+MMEFq1NZnG/M8=; b=TRgWiz1JJ2nnLHpqhEH+2eFkQR+/eJF6r4CpVhJzHk9LJv2g7AoG2Jmg4e9RvYKW86 2WQDWiQZQPpJFcLFPFyYz6KQR2qXKZ/YFifUwt3XtkE2vbao80V0eXvf7fzFpMc59U0t 6bD6IKu0DZ6+VN7YB5Qe8Qs+kYHCZVRyp7rH8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cLwep3cNcgiltt5ZmHD7FRPaJwHMr+MMEFq1NZnG/M8=; b=Vdp0At+sMxWiFpqEWMUxboECtIvr3VHrjh7ya0m5PLFsdeSMTLW2Wyfiq8ySa2cW75 wZtM4STZTRNZOKBndVAZk6GJybpD2HFeFJideYMMdNTOa9TIA+ofNgC4Oy0+Ka/omaKZ fVsoEo+maapS79jv0vAQd/BG1mpne+6X8Q1F0pdvFM/3u49+QRtiu0LQq/cB0lGHUKiS zw506uhqQy+0S/X3UCwIEfgmuK9HK4NW0ymWxTw/BU6WLl/4qZpOlEQ3Tr6a+jcNswhP L6kkjQ7pojWeBcq5rnzgPe9UYPCqn7lzorzJLkMY6CqdK3byIRy/TwLFks3YD4G+NWqV euOQ==
X-Gm-Message-State: APjAAAVQ2+1gkbAIqYcuHrJunbkoZclvarljkkg2A/QHyDc3I/1S+0fX w8U0nl9F3Rw1813QLqERsa/29htJxZf4GSLcOnbM9Q==
X-Google-Smtp-Source: APXvYqw6mU8ILi622Tpnx+iuBTigN6nZMErRNuq1IWUxeePqE27nHZW3ghJPSjoLrbHSlzDKhAUFi4orIZngH0czdwU=
X-Received: by 2002:a05:6214:88c:: with SMTP id cz12mr5307131qvb.95.1582924858563; Fri, 28 Feb 2020 13:20:58 -0800 (PST)
MIME-Version: 1.0
References: <158281607227.2144.7066471693425440365.idtracker@ietfa.amsl.com> <9449bb04-4b54-4a50-8273-fb368d91fd8b@www.fastmail.com>
In-Reply-To: <9449bb04-4b54-4a50-8273-fb368d91fd8b@www.fastmail.com>
From: Jeffrey Yasskin <jyasskin@chromium.org>
Date: Fri, 28 Feb 2020 13:20:47 -0800
Message-ID: <CANh-dX=w1KTEMswYJVqhr8kXObJM+7qXeBNgiKEV4HwP26+VmA@mail.gmail.com>
To: Alexey Melnikov <aamelnikov@fastmail.fm>
Cc: Mirja Kuehlewind <ietf@kuehlewind.net>, The IESG <iesg@ietf.org>, wpack@ietf.org, wpack-chairs@ietf.org
Content-Type: multipart/alternative; boundary="000000000000e6f975059fa96982"
Archived-At: <https://mailarchive.ietf.org/arch/msg/wpack/fCqa4ctvdHWIk_8loAmsDNJ03m0>
Subject: Re: [Wpack] Mirja Kühlewind's Block on charter-ietf-wpack-00-14: (with BLOCK and COMMENT)
X-BeenThere: wpack@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Web Packaging <wpack.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wpack>, <mailto:wpack-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/wpack/>
List-Post: <mailto:wpack@ietf.org>
List-Help: <mailto:wpack-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wpack>, <mailto:wpack-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Feb 2020 21:21:02 -0000

On Thu, Feb 27, 2020 at 7:21 AM Alexey Melnikov <aamelnikov@fastmail.fm>
wrote:

> Hi Mirja,
>
> I am only replying below to your blocking comments:
>
> On Thu, Feb 27, 2020, at 3:07 PM, Mirja Kühlewind via Datatracker wrote:
> > Mirja Kühlewind has entered the following ballot position for
> > charter-ietf-wpack-00-14: Block
> >
> > When responding, please keep the subject line intact and reply to all
> > email addresses included in the To and CC lines. (Feel free to cut this
> > introductory paragraph, however.)
> >
> >
> >
> > The document, along with other ballot positions, can be found here:
> > https://datatracker.ietf.org/doc/charter-ietf-wpack/
> >
> >
> >
> > ----------------------------------------------------------------------
> > BLOCK:
> > ----------------------------------------------------------------------
> >
> > Thanks for all the discussion that happen on the charter so far,
> unfortunately
> > there are still a few points that are not fully clear to me from a
> transport
> > perspective:
> >
> > 1) It not clear to me how you plan to address low latency. I assume you
> don't
> > want to optimise anything in the lower layers but it does sound a bit
> like it.
> > Can you clarify this point?
>
> WPACK is working on a bundle format, so there is no transport protocol
> here. Can you suggest how to clarify this?
>

We could split this into two requirements:

>>>>>
* When a bundle is streamed, the client must be able to start using a
subresource before the entire bundle is downloaded, and for large
subresources, before the entire subresource is downloaded.

* When a bundle is loaded from random-access storage, the client must be
able to use a subresource without necessarily reading the entire prefix of
the bundle before that subresource.
<<<<<

Those were roughly what I had in mind when I wrote "low latency".

The current format achieves the first by putting the index of subresources
at the start of the bundle (unlike ZIP) and by using
https://tools.ietf.org/html/draft-thomson-http-mice-03 to protect
subresource integrity.

It achieves the second by having an index (unlike multipart/*).

> 2) I think "Being extensible and crypto agile" is a requirement we have
> for any
> > protocol we design. Is there anything special here, or why is this
> listed?
>
> Nothing special in this case, but in order to avoid any doubts.
>
> > 3) I also don't really understand this point
> > "Specifying constraints on how clients load the formats without
> describing
> > specific loading algorithm to help achieve the above goals"
> > Can you further explain? I assume there are no transport implications
> here but
> > as I'm not sure what is meant, I'd like to double-check!
>
> No transport implications. By "load" this means from disk/web browser
> cache. Does this help?
>

See also the discussion on the IESG list under "WG Review: Web Packaging
(wpack)" and at
https://mailarchive.ietf.org/arch/msg/wpack/gokRbg6vSxHz3jC3eqcVhYkIF1s/.

> 4) Again here I'm not sure what is meant and I assume you don't plan for
> any
> > transport protocol changes or extension but double-checking! "Optimize
> > transport of large numbers of small same-origin resources." What does
> this
> > mean? What's the solution you have in mind?
>
> I might need Jeffrey's help to reply to this one. I am pretty sure there
> are no transport protocol implications.
>

This was about improving compression by letting the compression algorithm
keep state across many resources. There have also been a few attempts to
get the same benefits in HTTP directly, whose difficulties have led to
https://tools.ietf.org/html/draft-handte-httpbis-dict-sec-00.

Thanks for the transport-oriented review!

Jeffrey