Re: [ppsp] Call for WG consensus on Tracker Protocol encoding

João Pedro Taveira <joao.p.taveira@gmail.com> Thu, 13 November 2014 13:14 UTC

Return-Path: <joao.p.taveira@gmail.com>
X-Original-To: ppsp@ietfa.amsl.com
Delivered-To: ppsp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77ADF1A871A for <ppsp@ietfa.amsl.com>; Thu, 13 Nov 2014 05:14:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.699
X-Spam-Level:
X-Spam-Status: No, score=-1.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=no
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 9yiLByU27LE2 for <ppsp@ietfa.amsl.com>; Thu, 13 Nov 2014 05:14:08 -0800 (PST)
Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9CF141A8710 for <ppsp@ietf.org>; Thu, 13 Nov 2014 05:14:05 -0800 (PST)
Received: by mail-la0-f48.google.com with SMTP id gq15so13421484lab.35 for <ppsp@ietf.org>; Thu, 13 Nov 2014 05:14:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:from:date:message-id:subject:to :content-type; bh=Cqoh4Q6UU53fUn+oGuiR0UZBbrrWCO2iqylLSNaWDXc=; b=Co22RNknWWRwULuaaj9ny8H010uGk0dv3SHaMIi4DDNEM92cQCsZblglmTOppQIZoW 8hqRXtY6JB9sLOpWx7mB8pj+YcPz8eIpggXHuVZ2sWPZyComE9JhCVPa93+ZoXagNSsc 4hqVHT0U4l6ZDTCTcVEdZ8xidUPqbtayM/J/FOX7H6iztLfwr88gHif/W1GXmK8hlklZ YR55ASQvPfQgnWQ7WsbFJQNWedkVS3oa1Fi42y34TgORo1zQYspG3xi3SkZg08wuDnve +zz7wTNWnsEL9uqX9pc5nVQ3dZ7VccQUm0wvzcGY2WuLUxonAXk41r3hyFiY2TCidLtr /Rag==
X-Received: by 10.112.138.39 with SMTP id qn7mr2348135lbb.57.1415884443747; Thu, 13 Nov 2014 05:14:03 -0800 (PST)
MIME-Version: 1.0
References: <B0D29E0424F2DE47A0B36779EC666779661DB7CE@nkgeml501-mbs.china.huawei.com> <51E6A56BD6A85142B9D172C87FC3ABBB86251329@nkgeml501-mbs.china.huawei.com>
From: João Pedro Taveira <joao.p.taveira@gmail.com>
Date: Thu, 13 Nov 2014 13:14:03 +0000
Message-ID: <CAJ018wBnFwLO-UR0Ci9qcYRLP3nvky6yvNrivFNrwBBdL1GReQ@mail.gmail.com>
To: "Huangyihong (Rachel)" <rachel.huang@huawei.com>, Zongning <zongning@huawei.com>, "ppsp@ietf.org" <ppsp@ietf.org>
Content-Type: multipart/alternative; boundary="089e011614ec500d950507bd4915"
Archived-At: http://mailarchive.ietf.org/arch/msg/ppsp/grykJTCOAa5k9ygMlHYBv3rYiUA
Subject: Re: [ppsp] Call for WG consensus on Tracker Protocol encoding
X-BeenThere: ppsp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: discussing to draw up peer to peer streaming protocol <ppsp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ppsp>, <mailto:ppsp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ppsp/>
List-Post: <mailto:ppsp@ietf.org>
List-Help: <mailto:ppsp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ppsp>, <mailto:ppsp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Nov 2014 13:14:10 -0000

Hi to all,

About the specification language to used, I don't prefer this or other
language. Arno already sugested XDR and Rachel sugested JSON or YANG. I
think that base protocol is well defined in high level point of view. The
main issue is on-the-wired encoding.

Personally, I prefer binary encoded protocols. They are compact, and if
well defined, they are simple and very efficient. The problem is that they
are complex to use and/or implement.

The Tracker Protocol should be text encoded (imho, JSON) on-the-wired over
HTTP, for now. This will allow faster testing and adoption. Since messages
are historically defined in a hierarchical way from XML sharing elements,
we will be able to discuss binaries hierarchical structures (e.g. mp4box or
something like icmp) to get a binary encoding that match current abstract
protocol.

For now, I think we should use JSON over HTTP.

Best Regards,
João Pedro Taveira

On Thu Nov 13 2014 at 8:05:21 AM Huangyihong (Rachel) <
rachel.huang@huawei.com> wrote:

>  Hi  all,
>
>
>
> IMHO, text encoding makes more sense to me. It’s prevalently used in
> application protocols over HTTP (e.g., alto protocol). And maybe we could
> use standard languages, like JSON or YANG to specify our messages (not just
> current C language). As for the efficiency issue,  it may be more efficient
> when parsing the binary encoding than text encoding. But the advantage is
> very limited from my point of view. And I don’t see such  efficient issue
> raised in current web servers (which accept text encoding).
>
>
>
> BR,
>
> Rachel
>
>
>
> *From:* ppsp [mailto:ppsp-bounces@ietf.org] *On Behalf Of *Zongning
> *Sent:* Thursday, November 13, 2014 10:28 AM
> *To:* ppsp@ietf.org
> *Subject:* [ppsp] Call for WG consensus on Tracker Protocol encoding
>
>
>
> Hi, all,
>
>
>
> Firstly, thanks to the co-authors of Base Tracker Protocol for
> persistently moving the draft forward.
>
>
>
> Now the outstanding issue is that as a Standard Track document, we really
> NEED to agree on a mandatory encoding for the interoperable on-the-wire
> Tracker Protocol. As discussed in the PPSP session today, we will start
> WGLC for the draft, provided that we can reach a rough consensus on the
> encoding option and the co-authors revise the draft accordingly.
>
>
>
> Currently we have two options mentioned in the draft – they are text based
> and binary based. For an exemplary comparison, please see Section 3.1 in
> the draft. Could folks in the group give their opinions on which encoding
> option is preferred for Tracker Protocol, and why? People are welcome to
> give other options beyond text and binary, but please do show us the reason
> for choosing them.
>
>
>
> The during of this call will not last too long, before the co-chairs will
> make a decision. So, please do contribute your technical expertise in this
> perspective, to enlight the group.
>
>
>
> Thanks.
>
>
>
> -Yunfei & Ning
>  _______________________________________________
> ppsp mailing list
> ppsp@ietf.org
> https://www.ietf.org/mailman/listinfo/ppsp
>