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

Xiajinwei <xiajinwei@huawei.com> Thu, 13 November 2014 19:36 UTC

Return-Path: <xiajinwei@huawei.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 A67FF1ACD66 for <ppsp@ietfa.amsl.com>; Thu, 13 Nov 2014 11:36:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.494
X-Spam-Level:
X-Spam-Status: No, score=-4.494 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.594, SPF_PASS=-0.001] autolearn=ham
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 Ts0dnzzNH-NZ for <ppsp@ietfa.amsl.com>; Thu, 13 Nov 2014 11:36:15 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 207FB1AC3D1 for <ppsp@ietf.org>; Thu, 13 Nov 2014 11:36:13 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml405-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BOT41556; Thu, 13 Nov 2014 19:36:10 +0000 (GMT)
Received: from nkgeml407-hub.china.huawei.com (10.98.56.38) by lhreml405-hub.china.huawei.com (10.201.5.242) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 13 Nov 2014 19:36:08 +0000
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.21]) by nkgeml407-hub.china.huawei.com ([10.98.56.38]) with mapi id 14.03.0158.001; Fri, 14 Nov 2014 03:35:57 +0800
From: Xiajinwei <xiajinwei@huawei.com>
To: "mario.nunes@inov.pt" <mario.nunes@inov.pt>, 'João Pedro Taveira' <joao.p.taveira@gmail.com>, "Huangyihong (Rachel)" <rachel.huang@huawei.com>, Zongning <zongning@huawei.com>, "ppsp@ietf.org" <ppsp@ietf.org>
Thread-Topic: [ppsp] Call for WG consensus on Tracker Protocol encoding
Thread-Index: Ac/+6XHitTUE4yIXTIW0IaBSD9/HLgALRSJwAAtM+nv//4QfgP//G3ng
Date: Thu, 13 Nov 2014 19:35:56 +0000
Message-ID: <A8219E7785257C47B75B6DCE682F8D2F901095B2@nkgeml501-mbs.china.huawei.com>
References: <B0D29E0424F2DE47A0B36779EC666779661DB7CE@nkgeml501-mbs.china.huawei.com> <51E6A56BD6A85142B9D172C87FC3ABBB86251329@nkgeml501-mbs.china.huawei.com> <CAJ018wBnFwLO-UR0Ci9qcYRLP3nvky6yvNrivFNrwBBdL1GReQ@mail.gmail.com> <001901cfff48$d8e83ae0$8ab8b0a0$@inov.pt>
In-Reply-To: <001901cfff48$d8e83ae0$8ab8b0a0$@inov.pt>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.47.150.5]
Content-Type: multipart/alternative; boundary="_000_A8219E7785257C47B75B6DCE682F8D2F901095B2nkgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/ppsp/TXxDZBOVerPgyX374m-fYfl0aDE
Subject: [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 19:36:19 -0000

I am personally inclined to the text encoding as it is more legible for readers. Using XML, JSON or YANG is all OK for me.

Jinwei

发件人: ppsp [mailto:ppsp-bounces@ietf.org] 代表 Mario Nunes
发送时间: 2014年11月13日 21:51
收件人: 'João Pedro Taveira'; Huangyihong (Rachel); Zongning; ppsp@ietf.org
主题: Re: [ppsp] Call for WG consensus on Tracker Protocol encoding

Hi all

I support Joao’s, opinion on text based messages.

In ITU-T there is a long record of binary encoding due to bandwidth constrains but in IETF there is a large support for text based, due to its higher readability and simplicity for debugging.

Concerning the syntax of the messages I see at least three alternatives:

- SDP
- XML
- JSON

SDP is very successful e.g. for SIP but is not used for new protocols for some time now

Between XML and JSONB I definitely support JSON for a number of reasons,  namely because it is ligher and more readable than XML, and has more support in IETF, as you can read in this article:

http://www.internetsociety.org/articles/using-json-ietf-protocols

Best regard
Mário Nunes


From: ppsp [mailto:ppsp-bounces@ietf.org] On Behalf Of João Pedro Taveira
Sent: 13 de novembro de 2014 13:14
To: Huangyihong (Rachel); Zongning; ppsp@ietf.org<mailto:ppsp@ietf.org>
Subject: Re: [ppsp] Call for WG consensus on Tracker Protocol encoding

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<mailto: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<mailto:ppsp-bounces@ietf.org>] On Behalf Of Zongning
Sent: Thursday, November 13, 2014 10:28 AM
To: ppsp@ietf.org<mailto: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<mailto:ppsp@ietf.org>
https://www.ietf.org/mailman/listinfo/ppsp