Re: Proposal: drop QPACK encoder stream framing

Roberto Peon <fenix@fb.com> Tue, 12 June 2018 23:34 UTC

Return-Path: <prvs=9701d1302d=fenix@fb.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1191129619 for <quic@ietfa.amsl.com>; Tue, 12 Jun 2018 16:34:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.72
X-Spam-Level:
X-Spam-Status: No, score=-2.72 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fb.com header.b=azMENvy1; dkim=pass (1024-bit key) header.d=fb.onmicrosoft.com header.b=d86Evl7+
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 uyH6nvycuD7I for <quic@ietfa.amsl.com>; Tue, 12 Jun 2018 16:33:58 -0700 (PDT)
Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CF8A0130FDA for <quic@ietf.org>; Tue, 12 Jun 2018 16:33:58 -0700 (PDT)
Received: from pps.filterd (m0148461.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5CNWLwD007930; Tue, 12 Jun 2018 16:33:56 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=dVeTxSh6PWfD0aBh/Gj0lHWmDfBP+XC5VLLnexMtvIE=; b=azMENvy1cVoMsopVAllgyWAqctJWl+tJsqKo0BGYaJ6SmjMh/2kRGTCKHoMvrNE+f87Z zqWZ8mJd98EOKIdUk0i+0eHZ4N7O/fvx4pktvCp7ys6YzuckzdzAVKCBEDlobxcOc4fA flme5EBlGW8wDdqCmh2ObSYLUErm2spbhos=
Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2jjp7a890y-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 12 Jun 2018 16:33:56 -0700
Received: from NAM05-DM3-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.16) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 12 Jun 2018 16:33:54 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dVeTxSh6PWfD0aBh/Gj0lHWmDfBP+XC5VLLnexMtvIE=; b=d86Evl7+mQ3oz/ysv+XPnpuruCpCGOw9Tvno8yhGLSBtNMb+An/jYJei4Wjq2++qAmb+pZA4u+qdjTYoNzwx9O4qo3fuIhPQzzKDnO7zmu0gXF5/C8+ypMYCqZMoPRc/kNLmkkmzeDUHdIJKAJi25yBOQ7yM4WNFvwV8xi1imc4=
Received: from BYAPR15MB2312.namprd15.prod.outlook.com (52.135.197.146) by BYAPR15MB2344.namprd15.prod.outlook.com (52.135.197.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.15; Tue, 12 Jun 2018 23:33:46 +0000
Received: from BYAPR15MB2312.namprd15.prod.outlook.com ([fe80::949a:9cbd:277c:96e0]) by BYAPR15MB2312.namprd15.prod.outlook.com ([fe80::949a:9cbd:277c:96e0%4]) with mapi id 15.20.0841.019; Tue, 12 Jun 2018 23:33:46 +0000
From: Roberto Peon <fenix@fb.com>
To: Dmitri Tikhonov <dtikhonov@litespeedtech.com>, Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
CC: IETF QUIC WG <quic@ietf.org>
Subject: Re: Proposal: drop QPACK encoder stream framing
Thread-Topic: Proposal: drop QPACK encoder stream framing
Thread-Index: AQHT/nHnJassB3eSU02Rr8SQ8wAp5KRVA8KAgAAjgYCAB7IcgA==
Date: Tue, 12 Jun 2018 23:33:46 +0000
Message-ID: <54C69A73-24CB-426D-BDE4-03A59C78505C@fb.com>
References: <20180607151112.GA28823@ubuntu-dmitri> <CAKKJt-cCqFUdVUGtGe1oJWzyFVnm7bTneprQ4ShssfVj0cEtKw@mail.gmail.com> <20180607190226.GA4187@ubuntu-dmitri>
In-Reply-To: <20180607190226.GA4187@ubuntu-dmitri>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.d.1.180523
x-originating-ip: [2620:10d:c090:200::7:88c]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BYAPR15MB2344; 7:oP1WqlhA+khctWsVP/aEmpel+5Y0Ci6KMwpGXG80xXwKFe/0RCunpYPOym+qqK1Ll5OJTqi1H6pmaVD36kPuBPrTyi7i0PE/hH7LD6KJgOWFaGUrOb59UsRqggTTHeOYq9Pxh+u82TOjD86smXhpG1DYfmhwYFndG32Zob3Rx0lLdAd11MxNZwT33a1XpCYXQc5PkFKXQEiKbBG1lFnaxEB24mmuimmznaSfeJrO1/1stnmF2+HXQm/rxrres6Xs; 20:aw9UyYvx9xvHx8eJC/a5J4Mour5lLAo8N1FmDdrMEWnr/D0g8cPKykxardYnvfaf6mHfXQ9/LFbaSRZL0CSipMyN9YI0CezT1FpDZT6cfZn1NcbeYyKjE8ljPZqU9R9VOMEMOk0Txl0fBXvJo0I664uxjogoeTr27c/GKhG2w5Q=
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BYAPR15MB2344;
x-ms-traffictypediagnostic: BYAPR15MB2344:
x-microsoft-antispam-prvs: <BYAPR15MB23445456205FA5671F329024CD7F0@BYAPR15MB2344.namprd15.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(10436049006162);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231254)(11241501184)(944501410)(52105095)(93006095)(93001095)(3002001)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:BYAPR15MB2344; BCL:0; PCL:0; RULEID:; SRVR:BYAPR15MB2344;
x-forefront-prvs: 07013D7479
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39380400002)(39860400002)(396003)(366004)(376002)(346002)(199004)(189003)(83716003)(59450400001)(82746002)(8936002)(81166006)(53936002)(39060400002)(68736007)(25786009)(102836004)(6506007)(106356001)(561944003)(105586002)(6246003)(58126008)(316002)(33656002)(99286004)(110136005)(76176011)(81156014)(6116002)(966005)(6436002)(6486002)(8676002)(186003)(5660300001)(575784001)(3660700001)(86362001)(229853002)(14454004)(305945005)(5250100002)(3280700002)(478600001)(2906002)(446003)(11346002)(2616005)(476003)(36756003)(6512007)(97736004)(46003)(486006)(6306002)(4326008)(2900100001)(7736002)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR15MB2344; H:BYAPR15MB2312.namprd15.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: YnBinLlzvHiuPZn2QvGXdcKPa7yI0eKi/l0yaHBpoMH7L6/U6NwHbVgJOtUsx1a57qX5JRhTXzYzV7pfRbUhqYmi1O1TKQv93CTsjI2vkDBxGzBMs6gDDY9wWFg2dwAoFWmxgYILnWP+HRxfx+w/eJZNUaEMwnY8uLNVlkeRvNX2fSehBJfKhu1JQCr6NTc2
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <A90734B5C734444CB9552683736243EE@namprd15.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Office365-Filtering-Correlation-Id: 1a9fad69-ac86-456d-ccde-08d5d0bcf18d
X-MS-Exchange-CrossTenant-Network-Message-Id: 1a9fad69-ac86-456d-ccde-08d5d0bcf18d
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2018 23:33:46.6933 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2344
X-OriginatorOrg: fb.com
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-06-12_14:, , signatures=0
X-Proofpoint-Spam-Reason: safe
X-FB-Internal: Safe
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/DfgSya8R6qGbMeliQAxuHkkIU6s>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jun 2018 23:34:03 -0000

To be fair, Google's FEC implementation was.... naïve at best.
I wouldn't say that it proved FEC unuseful, but rather that it proved that FEC over temporally-proximate packets wasn't that useful.
-=R

On 6/7/18, 12:03 PM, "QUIC on behalf of Dmitri Tikhonov" <quic-bounces@ietf.org on behalf of dtikhonov@litespeedtech.com> wrote:

    Hi Spencer,
    
    On Thu, Jun 07, 2018 at 11:55:23AM -0500, Spencer Dawkins at IETF wrote:
    > This is me as an individual, asking a question, and NOT making an informed
    > observation or suggestion ... but I was curious.
    
    [snip]
    
    > I note that TSVWG  currently has two FECFRAME docs in WGLC now:
    > 
    > (1) https://urldefense.proofpoint.com/v2/url?u=https-3A__datatracker.ietf.org_doc_draft-2Dietf-2Dtsvwg-2Dfecframe-2Dext_&d=DwIBAg&c=5VD0RTtNlTh3ycd41b3MUw&r=C0sUo-LFNBaYfyoaCsf6TA&m=Kc5MaxpPcqAxoBem1RsFu2d5jUxRsvSOFAU1tUoujBk&s=J_0CNYflHhBvUwAf9oBP40OHkGDkZ8rNBswKhx7fyOA&e=
    > 
    > (2) https://urldefense.proofpoint.com/v2/url?u=https-3A__datatracker.ietf.org_doc_draft-2Dietf-2Dtsvwg-2Drlc-2Dfec-2Dscheme_&d=DwIBAg&c=5VD0RTtNlTh3ycd41b3MUw&r=C0sUo-LFNBaYfyoaCsf6TA&m=Kc5MaxpPcqAxoBem1RsFu2d5jUxRsvSOFAU1tUoujBk&s=1dWjaPRse5ArHTUgAQvsEMJEZtU15tsDEV5w6X_DGoM&e=
    > 
    > The intent for these documents is to add support for sliding window FEC
    > codes to the RFC 6363 FEC Framework, which was limited to block FEC codes.
    
    I have to admit, I have never seen RFC 6363 or the FECFRAME drafts until
    today.  With that said, I believe I understand on high level what they
    are about after reading the abstracts.
    
    > I don't know whether there is any relationship between your proposal
    > (moving from framing to a stream for compression) and the work currently in
    > TSVWG. I have some guesses, but not well-informed guesses, so thought I
    > should ask.
    
    There is no relationship to the QPACK framing in question.  The QPACK
    framing mechanism used to write encoder instructions to the encoder
    QUIC stream is there solely as an aid to the decoder -- evidently
    with the aim of making the QPACK decoder easier to implement (or to
    port existing HPACK decoders).
    
    Google experimented with FEC in gQUIC but the bandwidth overhead
    proved to outweigh any advantages offered by ability to reconstruct
    lost packets and the effort was abandoned, IMMSMC, in 2015.
    
    Using FEC in IETF QUIC is something that is interesting to think about.
    For example, one could envision adding FEC to a critical stream, such
    as the QPACK encoder stream above, to cope with packet loss.  The
    challenges posed by such approach would be non-trivial and likely
    require changes to the transport layer.
    
      - Dmitri.