Re: Please review HTTP performance aspects of Incremental Font Transfer

Chris Lilley <chris@w3.org> Wed, 24 July 2024 22:26 UTC

Received: by ietfa.amsl.com (Postfix) id 55428C1E6400; Wed, 24 Jul 2024 15:26:38 -0700 (PDT)
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 53A34C1E0D8D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Jul 2024 15:26:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.11
X-Spam-Level:
X-Spam-Status: No, score=-3.11 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="W49JODRG"; dkim=pass (2048-bit key) header.d=w3.org header.b="JYxWKxKc"; dkim=pass (2048-bit key) header.d=w3.org header.b="JYxWKxKc"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Loczcfgj1SFE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Jul 2024 15:26:37 -0700 (PDT)
Received: from mab.w3.org (mab.w3.org [IPv6:2600:1f18:7d7a:2700:d091:4b25:8566:8113]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E0D80C1DFD50 for <httpbisa-archive-bis2Juki@ietf.org>; Wed, 24 Jul 2024 15:26:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:Content-Type:In-Reply-To:From:References:Cc:To:MIME-Version: Date:Message-ID:Reply-To; bh=IA9IwN8xvXg0Cv1OYMWEUVLsbs31AdZdudSKqREON1s=; b= W49JODRGZnxrC8Nb3UqB+oeepovq+XPIMF1JUA2yb2epfaeWD/HneW4044Korv7OkZAUpUHqr/mZ6 0DZiFg4urZAw7PUNFPpAI3ul3bhtvOM4w5UARpaGSHlBbOun34+45YqOg8sfSvD04DfRGTHsOIFet 5RbzsnkieCoTc2tmDuKfRRl0+3PLDxdrfz7Jp3BHx+jlIY7xN2kwTR1GlXNtRDvQTuqUZtLErGZgF WCpWIxO9q/jDZ0WNmLUweX5PIrHzDog9zUv+LhJv7coyfiIdJLCJrhmcSHBsD7+g6Ww333iDaXmZF pE9ilWuTizCyTDDFnMnj+XsO4rWJublbCA==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sWkQM-005Sdi-37 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Jul 2024 22:25:30 +0000
Resent-Date: Wed, 24 Jul 2024 22:25:30 +0000
Resent-Message-Id: <E1sWkQM-005Sdi-37@mab.w3.org>
Received: from ip-10-0-0-144.ec2.internal ([10.0.0.144] helo=pan.w3.org) by mab.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <chris@w3.org>) id 1sWkQK-005Sci-1y for ietf-http-wg@listhub.w3.internal; Wed, 24 Jul 2024 22:25:28 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version: Date:Message-ID:Reply-To; bh=IA9IwN8xvXg0Cv1OYMWEUVLsbs31AdZdudSKqREON1s=; t=1721859928; x=1722723928; b=JYxWKxKc59lfJX4E6tBpvUq0gvEC7jHulO8GGr4Mb14PR0x jybk1ly/VogUg+70KIb8VOhUktdfoLqPfPtJaJq79gjflgpwRN85ZzRNMlH9GKdNNjbdvTiN4KHoT YuABf4HvQWnmGtmguAv+i/67x0JxTNX96BMDnCq6fLuw2kJ0FZLw7spsvu8DCm1hItqfflDbBvmRj 94N8sP7dPYulTxhCqxCJaVkJtxVbypddQgCk7iVqRep5n9kkeSXVT8FQNmcbWLEPRLgUrl1WS3VrK p7krbUgU+lxjPT88iKqivPCFtEt6wQUYgICEIqZGYMTi+yED6BtK06KpgRcfH2ow==;
Received: from anthe.w3.org ([2600:1f18:7d7a:2700:318c:b74a:bdca:4a0]) by pan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <chris@w3.org>) id 1sWkQK-00CYmX-0K for ietf-http-wg@w3.org; Wed, 24 Jul 2024 22:25:28 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version: Date:Message-ID:Reply-To; bh=IA9IwN8xvXg0Cv1OYMWEUVLsbs31AdZdudSKqREON1s=; t=1721859928; x=1722723928; b=JYxWKxKc59lfJX4E6tBpvUq0gvEC7jHulO8GGr4Mb14PR0x jybk1ly/VogUg+70KIb8VOhUktdfoLqPfPtJaJq79gjflgpwRN85ZzRNMlH9GKdNNjbdvTiN4KHoT YuABf4HvQWnmGtmguAv+i/67x0JxTNX96BMDnCq6fLuw2kJ0FZLw7spsvu8DCm1hItqfflDbBvmRj 94N8sP7dPYulTxhCqxCJaVkJtxVbypddQgCk7iVqRep5n9kkeSXVT8FQNmcbWLEPRLgUrl1WS3VrK p7krbUgU+lxjPT88iKqivPCFtEt6wQUYgICEIqZGYMTi+yED6BtK06KpgRcfH2ow==;
Received: from ip-10-0-0-242.ec2.internal ([10.0.0.242] helo=spica.w3.internal) by anthe.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <chris@w3.org>) id 1sWkQJ-00F0a4-37; Wed, 24 Jul 2024 22:25:27 +0000
Received: from localhost ([::1] helo=spica.w3.internal) by spica.w3.internal with esmtp (Exim 4.96) (envelope-from <chris@w3.org>) id 1sWkQJ-00AL8V-2w; Wed, 24 Jul 2024 22:25:27 +0000
Received: from [IPV6:2a02:587:e907:78ea:58ef:734d:ea14:f2a3] ([2a02:587:e907:78ea:58ef:734d:ea14:f2a3]) by spica.w3.internal with ESMTPSA id aaUHD1d/oWYRmyUANTRr8w (envelope-from <chris@w3.org>); Wed, 24 Jul 2024 22:25:27 +0000
Message-ID: <64614fb8-09a3-4414-963b-f9ed9eb7ddf7@w3.org>
Date: Thu, 25 Jul 2024 01:25:25 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird Beta
To: Patrick Meenan <patmeenan@gmail.com>
Cc: ietf-http-wg@w3.org
References: <132cd8d5-d1d0-4912-97c3-9144e814725f@w3.org> <CAJV+MGxinyW8-PMNKSSSh49nYOvOoJuSHJZU5tYFKRS9BC9-4g@mail.gmail.com>
Content-Language: en-US
From: Chris Lilley <chris@w3.org>
In-Reply-To: <CAJV+MGxinyW8-PMNKSSSh49nYOvOoJuSHJZU5tYFKRS9BC9-4g@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-W3C-Hub-Spam-Status: No, score=-17.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, DMARC_PASS=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IH=-3, W3C_IM=-5, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: pan.w3.org 1sWkQK-00CYmX-0K a0dee75f9138cfbe6cd47fc91a4436b8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Please review HTTP performance aspects of Incremental Font Transfer
Archived-At: <https://www.w3.org/mid/64614fb8-09a3-4414-963b-f9ed9eb7ddf7@w3.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52117
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: <https://www.w3.org/email/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 2024-07-24 20:02, Patrick Meenan wrote:
> Thanks. From the looks of it, the actual fetching of the incremental 
> font files and patches don't do anything special with HTTP itself
Correct, that was the goal.
> (and it looks like there was work done to minimize round trips by 
> processing and generating a de-duped list of patches).
Yes, indeed. Especially on high latency connections, multiple round 
trips kills performance.
> Moving to stand-alone patch files on larg(ish) boundaries will help 
> with the edge caching of the files. It's great to see the evolution 
> from some of the earlier drafts.
There was a lot of criticism of the earlier approach, which we took very 
seriously; and we are confident that the current approach responds to 
those drawbacks (which would indeed have hampered widespread adoption) 
while still delivering the performance benefits that we are trying to 
enable.
>
> I filed an issue but the one part that looked like it might be able to 
> use some more fleshing out is the local behavior of patched font files 
> and how they interact with the on-device caches (caching of patched 
> files vs re-processing all of the patches every time).

I saw that issue, thanks and we will look into clarifying that aspect.

-- 
Chris Lilley
@svgeesus
Technical Director @ W3C
W3C Strategy Team, Core Web Design
W3C Architecture & Technology Team, Core Web & Media