Re: [Ext] Consensus call for qlog serialization format (issue #144)

Lucas Pardue <lucaspardue.24.7@gmail.com> Mon, 02 August 2021 17:52 UTC

Return-Path: <lucaspardue.24.7@gmail.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 0B3A53A126E; Mon, 2 Aug 2021 10:52:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.847
X-Spam-Level:
X-Spam-Status: No, score=-1.847 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 swByrQow6Rsi; Mon, 2 Aug 2021 10:52:49 -0700 (PDT)
Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 24E3B3A1262; Mon, 2 Aug 2021 10:52:48 -0700 (PDT)
Received: by mail-ej1-x632.google.com with SMTP id gn26so32215115ejc.3; Mon, 02 Aug 2021 10:52:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v61zwjKri7JjQ6Xm29RFpq5rV2uKVQQhaNlxFwHz9VA=; b=DzTTvDKgHT3fu59MC2Hy/ZDAKUk+zu2+231pyVIvd9IerLEm0XEDbER24/uZo88y1p jE+y6yH/WRnHFzknbHaMbOLKQhV54qjV7xgtUYzIrfD+GCIcpaZrWBVv8Si1YgmnWb8+ sX6DYkDGJ2y5O4u9msph4Huw2BSFUSDZZQkcnDCBznVYL9HO78B1RSnTYBl5EEzqXNp/ ojRjsInhUc/JYfGtXc+qIMt4wvfVokxeZC35ijZ9ruj0bg+5AI0QPPop71V8l0grt01Y BqwquBB8OrAqoxFsM9mBRt/GOHDdD0EKx87mYCONpbaZ+FMkzZsEEaj/8v+Zhvwhdznu isHA==
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=v61zwjKri7JjQ6Xm29RFpq5rV2uKVQQhaNlxFwHz9VA=; b=J8poGbmymX5ChisdYO4JC5hIAj6CjvIjmBtCmP007BFceYjTPxkLCvhrJXblrlWQJl JZVLQ+ykvZ15ltV4fnIXidYsXIaRR/Z8lsvrCcxKupS9EGRnMP1TorIrBj6dQpViqjQs f8bvOyTUGV/mpJ0bl6oqALjXldMb2mttyw8HHFIXcAnKXnodcs0q58chlRT7XKNb8xqX PL8/b2/LdYjaGgce3pOeft9v6z0akyedhCL3HF7UPC8yKO+95F61rq/0waTzKsg+Izhe svIIkj6KA3KxYccRfmr2cnyonEe5xecS/ntZcZuCrAIBo2BsQqD+Cf20V/Jgwd8FgPGS 8igg==
X-Gm-Message-State: AOAM5319dn+fdjuRM3KxnhxTG0FD8oDi1H6kg2PQtbSIhxSNAkpi7TI7 o5Gr/mjKG6zQZ1kIoeQ8eSgPuDcESTByZmqWhCg=
X-Google-Smtp-Source: ABdhPJzssGWk7IEPsmrA0Un8VLHLpDuP31vDhV2iz7saG9Im7vuYjFZM/ruSS0fLPGqoreoGS5/seGUeh2trjJxOLIQ=
X-Received: by 2002:a17:907:3345:: with SMTP id yr5mr16490273ejb.542.1627926762300; Mon, 02 Aug 2021 10:52:42 -0700 (PDT)
MIME-Version: 1.0
References: <CALGR9oZS=k8XhyfugHH6VmdMVAAj6ER8s18g5eaZqX_3hie4ig@mail.gmail.com> <46CBE180-6B80-4B29-AAE3-BABBC59A02C4@icann.org>
In-Reply-To: <46CBE180-6B80-4B29-AAE3-BABBC59A02C4@icann.org>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Mon, 02 Aug 2021 18:52:31 +0100
Message-ID: <CALGR9obnuPNYcFh1tZanFoLE1FCRSfQ1WoEEcSL+uc_5usGNSA@mail.gmail.com>
Subject: Re: [Ext] Consensus call for qlog serialization format (issue #144)
To: Paul Hoffman <paul.hoffman@icann.org>
Cc: QUIC WG <quic@ietf.org>, QUIC WG Chairs <quic-chairs@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000063299405c8973c15"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/r6j7XZsaYeJN7Q6H83b3W6llxlc>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 02 Aug 2021 17:52:54 -0000

Hi Paul,

Response in-line:

On Mon, Aug 2, 2021 at 4:59 PM Paul Hoffman <paul.hoffman@icann.org> wrote:

> On Aug 2, 2021, at 6:23 AM, Lucas Pardue <lucaspardue.24.7@gmail.com>
> wrote:
> >
> > Hello QUIC WG,
> >
> > During the IETF 111 meeting discussion of qlog, we discussed the
> serialization format tracked on issue #114 [1].
> >
> > The feeling in the room was to keep the JSON serialization format.
> Noting that implementations can use their own intermediate formats and
> transform to and from JSON as needed, and that future documents could
> specify other interop formats if there is sufficient interest.
> >
> > The proposed resolution for this matter is to keep the JSON
> serialization format as the canonical interoperable format. This email
> seeks to establish consensus for this. If you have comments, for or
> against, please respond on the issue. The call will run until EoD August 9
> 2021.
>
> Which JSON serialization is being discussed here? If it is the one in
> Section 6.1, it is explicitly not canonical, and not interoperable. For
> example, 6.1.1 gives QLOG emitters a choice of writing large numbers a
> numbers or strings. Section 6.1.2.1 gives multiple ways of truncating byte
> strings. Section 6.1.4 allows QLOG emitters use non-standard JSON (trailing
> commas). There are also other SHOULD-level requirements for JSON emitters
> in other parts of the draft, such as in section 3.


> I would support having a JSON serialization format as the canonical
> interoperable format, but only if there is eventually a canonical JSON
> format, which there is not currently. Without a canonical JSON
> serialization, there can be no interoperability with other formats.
>

Great question!

The intention here is to determine consensus on using _a JSON_
serialization and not a completely different format. The current draft is a
starting point but is not intended to be the final solution.

Should the WG determine consensus on using _a JSON_ serialization, the
editors and WG will unblocked on iterating the finer details of _the JSON_
serialization. The specific examples you provide are good, they can be
tracked as issues against the draft.

I'd also like to clarify that this consensus call relates to only a JSON
serialization. Although the issue mentions streaming serialization (and
NDJSON) and Robin presented some slides on the topic during the IETF 111
meeting, our intention continue that discussion separately pending the
outcome of this call. I've created a new issue to make this clear [1].

Does that clarify things sufficiently?

Cheers
Lucas

[1] - https://github.com/quicwg/qlog/issues/172