[Hls-interest] LL-HLS Amendment Proposal: Optional part response headers for CDN efficiency.

Andrew Crowe <acrowe@llnw.com> Tue, 09 February 2021 15:54 UTC

Return-Path: <acrowe@llnw.com>
X-Original-To: hls-interest@ietfa.amsl.com
Delivered-To: hls-interest@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 92FAC3A0E87 for <hls-interest@ietfa.amsl.com>; Tue, 9 Feb 2021 07:54:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level:
X-Spam-Status: No, score=-2.088 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=llnw.com
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 YC82zGsaGC7b for <hls-interest@ietfa.amsl.com>; Tue, 9 Feb 2021 07:54:25 -0800 (PST)
Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (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 AA1F23A0E8D for <hls-interest@ietf.org>; Tue, 9 Feb 2021 07:54:25 -0800 (PST)
Received: by mail-pl1-x630.google.com with SMTP id g3so9987057plp.2 for <hls-interest@ietf.org>; Tue, 09 Feb 2021 07:54:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=llnw.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=SUmOyamb9oFw+pSlS3W4RQWxpUWBtAB126DHk8dVhTU=; b=KY/lrpD2RRBsWCr9Y+ahXkwQ+EEk0Gu1jcALaNRFL2U/Im8xXIJlPoRHL6GEemJzyy gofV2M79fRz7H2VBJ9n3qd5dWy0dE4kO/omUXC1IBivoKLCaYXYf6Jx/NdLkQohL4r3e Pyq96fgCO8Smd9XcTUDr6BqaS12R43IWr8aW3dXr3OsdThAmrXpbtn4uBt+Edf3CvpaG TH3siRlhU/JfE995z/mGDvJHX7bUUy6g1byPbtOetqpzderdkyKNwlGVRW1u+HRElf7t YpgWHKqFUv2fWHq1Ao+vvQ5hKP87cVlolFxxO13zuUKpBoeF1mnAQ+v3ECoCsdw3H6+G QVRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=SUmOyamb9oFw+pSlS3W4RQWxpUWBtAB126DHk8dVhTU=; b=cbFujZ3UY5PtXaYFnjvtj2fKsvYAxco+GNOp7VZf3BJhjILRp6gcd8KLYsIbNSZf4U xreuTGjg1H0h7X6vuABBboQPN6vKtTd0/Nuvi8Bp1pVVeMzcr0wjXPnkIcXnxsVvO82M Xm7pTo9ES8UxTL5FMmhcZxc8sXUrG3l3lNA75zFN2PSUAkk9laj/oIpZKMQAHvX5yGeY /jdlDAmowZzBUhbJYTlql3al6UjAI3/E8XpiRcZFMiXgmnpPmtPWUzcOJIF7LFkdV7cj Am6klwr4ccl2xwNb0YfnoK1PCal/MjlGEfr6ebiyPKCQfCkKOCziu3A58M6vxJfiRvIO 9ErA==
X-Gm-Message-State: AOAM530y9ziwvP7BJT4VI8zMZAQuCjkrei4bf1pbkjbLg6ChKYvxnVKc xDQSQls9Sk2Hoodl+zPZdynaUUdemIzo3LKxA8/Pabp/yY80LA==
X-Google-Smtp-Source: ABdhPJxV7b6OBZ7byhHlr8g/gnUGYtIVI3II/2FoWwMq8xqabTLulYZeble60Z33Xpwv/3sVoAbioLAiRUQCqJ7vsXc=
X-Received: by 2002:a17:902:bccc:b029:de:8483:506d with SMTP id o12-20020a170902bcccb02900de8483506dmr21323090pls.53.1612886064328; Tue, 09 Feb 2021 07:54:24 -0800 (PST)
MIME-Version: 1.0
From: Andrew Crowe <acrowe@llnw.com>
Date: Tue, 09 Feb 2021 10:54:13 -0500
Message-ID: <CANtXGXGRu+FuUMEhtV9LQNc_iT5qJN+V2OZjYLdtm3A_gLtKiw@mail.gmail.com>
To: hls-interest@ietf.org
Content-Type: multipart/alternative; boundary="000000000000ed9d7a05bae94c5e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/hls-interest/I66iMvYxhyOSuxnKjAp3VqXBLOg>
Subject: [Hls-interest] LL-HLS Amendment Proposal: Optional part response headers for CDN efficiency.
X-BeenThere: hls-interest@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussions about HTTP Live Streaming \(HLS\)." <hls-interest.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hls-interest>, <mailto:hls-interest-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hls-interest/>
List-Post: <mailto:hls-interest@ietf.org>
List-Help: <mailto:hls-interest-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hls-interest>, <mailto:hls-interest-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Feb 2021 15:54:28 -0000

Hello,

CMAF content packaged and delivered using LL-DASH and range-based LL-HLS
are easily managed as duplicate content by CDNs as they specify only
segment files. In fact, once the segment is complete, it can then be served
out of CDN cache for players that are not Low Latency capable - effectively
reducing latency for them as well. Part-based LL-HLS introduces
individually named part files that then collapse to the separately named
segment file upon final part completion. This then means that on first
request for the whole collapsed segment file the CDN will have to go back
to origin to request bytes that it likely already has in the individually
named part files. CDNs can improve cache efficiency, origin hit rate, and
whole segment delivery times with a little bit of additional information
from origin.


On request for a named part file an origin may provide a set of response
headers:

*X-HLS-Part-Sequence*
A multi value header that represents the current part sequence (index=1)
and the total number of parts for the segment. The values will be separated
by a forward slash ("/"). For example a 2 second segment with 8 parts per
segment will respond to the 2nd part request
(vid720_segment_1521.part2.m4v) like
X-HLS-Part-Sequence: 2/8


*X-HLS-Part-Offset*
A single value header that represents the byte offset of the part in the
segment. The first part of a segment will always be 0 while, for example
the second .25s part of a 2mpbs stream (vid720_segment_1521.part2.m4v) may
have a value like 623751


*X-HLS-Part-Root-Segment*
A single value header that provides the name of the root segment of the
current part. This lets the CDN/proxy know which root file to concatenate
the parts into. vid720_segment_1521.part2.m4v would have a value of
vid720_segment_1521.m4v


With the information from these three headers the CDN can recognize the
individually named part files as ranges of a larger file, store them
effectively and deliver a better experience to viewers across all formats.

Regards,
-Andrew
-- 
[image: Limelight Networks] <https://www.limelight.com>
Andrew Crowe* Architect*
EXPERIENCE FIRST.
+1 859 583 3301 <+1+859+583+3301>
www.limelight.com
[image: Facebook] <https://www.facebook.com/LimelightNetworks>[image:
LinkedIn] <https://www.linkedin.com/company/limelight-networks>[image:
Twitter] <https://twitter.com/llnw>