Re: [GGIE] HTTP redirect for HTTP Adaptive Streaming (HAS) in CDN use cases

Ori Finkelman <orif@qwilt.com> Sat, 03 November 2018 22:00 UTC

Return-Path: <orif@qwilt.com>
X-Original-To: ggie@ietfa.amsl.com
Delivered-To: ggie@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77829128766 for <ggie@ietfa.amsl.com>; Sat, 3 Nov 2018 15:00:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level:
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_TEMPERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=qwilt-com.20150623.gappssmtp.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 c1mt6LNnBTHd for <ggie@ietfa.amsl.com>; Sat, 3 Nov 2018 15:00:29 -0700 (PDT)
Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 DD16D126DBF for <ggie@ietf.org>; Sat, 3 Nov 2018 15:00:28 -0700 (PDT)
Received: by mail-wm1-x32d.google.com with SMTP id f1-v6so3571583wmg.1 for <ggie@ietf.org>; Sat, 03 Nov 2018 15:00:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qwilt-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dupzk+fOf1d62H8wySXvTm5uDrMZIGZofc1owCCbfyI=; b=StQEUw2b/7ylLbVftbJ/ylVi02UDb/KXhj+8iryrWUI1TMfKmd9f6n66c26bNPedj4 CFznXw1gR0lGoCaFfGiDKnaT6zPCXVzvp448oujWUY5YZkgqoU0WtegGDumbw5urYaKH MT9u2MMHUPHoyzmse5u4gDNVKK2l8zXRHhYvF0apecRCNyDr0kbxCXwITtnYRFtizfZE F+mq0cZBJUYlipBHMYV01YnMkZhgNlKWVxxwvHhpoC+OeHthiJNjahr9e1KwPaH1aF4X lQOuKI33/FmYb+FbTCKqELooOXi2+RlliWTMxbIg5Dy51rDLhcejvL3hA+zW/miUDSvn xJwg==
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=dupzk+fOf1d62H8wySXvTm5uDrMZIGZofc1owCCbfyI=; b=dOoGbECyt5LrWc9XjDfdal4AyJ+ISwjH6i19Hd5U339zSGhoYeV6mFJP4fXiRvOrv2 75Gz5+t3tANbn5el6jeUVJw1lG2vXk6jFfrlsG79EoCGw0UjmptQqLkd7CksJA5WRzpS kVyAn0xDV+nb1CdObhxOiRIfXykXxuXLrLi5jHggEMR5TmUUeTNEjbqhCw6wErjjDYzn ZFlAEYWk7z+UXuIyV93HgLZw3a6YINh4a3U8J0m/j5E5Z4I9gjXe/nvif5fbhD6hjW8i bhLuWufiGJ3agLyFAE5sJM57692yErBJkkCr/dbTva35niVpq48v5y8dB+7zWCZ+CJ/A Uhww==
X-Gm-Message-State: AGRZ1gIoukSRhATuV68sOe6uvYQYJ0XI4ylrzLg2elWnxcJonJsneWbq aiI1/IBAzSCsWV/pT19/hkAhFzYGQWO6J4OVaSPEfg==
X-Google-Smtp-Source: AJdET5ctp22Wgku4Ocb67u3uz+9uy+zLvTeyA6qgxw0OZU+wQ/34C0J9gHEkK9btueaYxlaPB9maP+DMZA+srwiPJnM=
X-Received: by 2002:a1c:9dc5:: with SMTP id g188-v6mr1761692wme.141.1541282427125; Sat, 03 Nov 2018 15:00:27 -0700 (PDT)
MIME-Version: 1.0
References: <CAMb9nTskMRUK+0xm43yFxz8JjJ4pyFjg2nqKn0_06vnrtXfyrw@mail.gmail.com> <CAMb9nTug8YL03Qisv5mXiR2GX6biCcROD3ETmvVyTVSaifu4XQ@mail.gmail.com> <CALGR9obZgmLPuzD8iCYg0ifonheweYAv-uew+ZjPYHAt2QU-Og@mail.gmail.com>
In-Reply-To: <CALGR9obZgmLPuzD8iCYg0ifonheweYAv-uew+ZjPYHAt2QU-Og@mail.gmail.com>
From: Ori Finkelman <orif@qwilt.com>
Date: Sat, 03 Nov 2018 23:59:59 +0200
Message-ID: <CAMb9nTtiUndagB9jYPgrzg8fa6B5Rg=x-9FQ_RwN7_sQQBMbKw@mail.gmail.com>
To: lucaspardue.24.7@gmail.com, Thomas Peterson <hidinginthebbc@gmail.com>
Cc: ietf-http-wg@w3.org, ggie@ietf.org, "Begen, Ali (Contractor)" <Ali_Begen@comcast.com>
Content-Type: multipart/mixed; boundary="0000000000009188cd0579c9c704"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ggie/FKJ5OSTNQ-kQzdsrDezZmoEtBNg>
Subject: Re: [GGIE] HTTP redirect for HTTP Adaptive Streaming (HAS) in CDN use cases
X-BeenThere: ggie@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discuss IETF-related items surfaced in the W3C GGIE Task Force <ggie.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ggie>, <mailto:ggie-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ggie/>
List-Post: <mailto:ggie@ietf.org>
List-Help: <mailto:ggie-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ggie>, <mailto:ggie-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Nov 2018 22:00:34 -0000

Thanks Lucas and Thomas for your inputs.
Thomas, it's a good point, we will have to address the case of multiple
endpoints, we will address it in the next version once we get some inputs
from HTTPbis on the preferred direction.

All, my apologies for distributing by mail, we will submit on Monday
morning as soon as the submission tool is open.
Attached is a newer revision with minor typo fixes.

Thanks,
Ori






On Sat, Nov 3, 2018 at 3:33 PM Lucas Pardue <lucaspardue.24.7@gmail.com>
wrote:

> Ori,
>
> Thanks for sharing this, and the authors for writing this up. What's
> captured in the document broadly matches my experiences in this space.
>
> The problems can be real. A broker server, dimensioned to handle a low
> rate of playlist requests, may end up getting overwhelmed with client media
> requests. This is hard to predict because client implementations are
> diverse; new things come along, and existing ones may regress. I am aware
> of non-IETF efforts that attempt to characterise client behaviour like
> this, and it wouldn't surprise me if the effort is duplicated across
> different content or service providers.
>
> I support discussion that can address this issue but have no strong
> opinion on the final solution at this time.
>
> Lucas
>
> On Sat, Nov 3, 2018 at 1:13 PM Ori Finkelman <orif@qwilt.com> wrote:
>
>>
>> [Resending as I have sent to the wrong list]
>>
>>
>> Hello ,
>>
>> HTTP redirect, usually using 302 Found, is widely used in video CDN for
>> HTTP Adaptive Streaming (HAS) protocols, specifically for HLS and DASH.
>> Using HTTP redirect instead of the more commonly used delegation by CNAME
>> is a much more powerful and flexible solution.
>>
>> At a high level, the required behavior is that after getting an HTTP
>> redirect to a playlist address that takes the client to a CDN cache, if the
>> playlist contains
>> relative references to the media segments, the client should be "sticky"
>> and request the subsequent media segments directly from the cache without
>> the need
>> for repeated redirects that would add undesired latency and harm QoE.
>> However, due to misinterpretations of the RFC in some cases, and
>> contradiction between this requirement and the existing RFC in other cases,
>> we face many
>> issues with clients that behave differently in the case of HTTP redirect,
>> when relative references are being used.
>> A discussion of this use case can also be found in section 2.2.1 of
>> RFC6983 <https://tools.ietf.org/html/rfc6983#section-2.2.1>.
>>
>> The Streaming Video Alliance (SVA) and DASH Industry Forum (DASH-IF) are
>> attempting to resolve these issues and create clear guidelines describing
>> how video players,
>> browsers and streaming applications should behave in such HTTP redirect
>> cases.
>>
>> The attached I-D includes a detailed description of this issue, examples
>> with our understanding of the current behavior and proposals for
>> alternative approaches for solution.
>> We were hoping that the members of HTTPBIS working group could share
>> their views regarding the preferred  approach in order to resolve this
>> issue.
>>
>> If there is interest and some available time I can prepare a quick slide
>> deck for the httpbis meetings next week.
>>
>>
>> Best regards,
>> Ori
>>
>>
>>
>> --
>>
>> *Ori Finkelman*Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |
>> orif@qwilt.com
>> --
>>
>> *Ori Finkelman*Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |
>> orif@qwilt.com
>> --
>>
>> *Ori Finkelman*Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |
>> orif@qwilt.com
>>
>

-- 

*Ori Finkelman*Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |
orif@qwilt.com