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

邓灵莉/Lingli Deng <denglingli@chinamobile.com> Thu, 13 November 2014 19:43 UTC

Return-Path: <denglingli@chinamobile.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 115191ACE55 for <ppsp@ietfa.amsl.com>; Thu, 13 Nov 2014 11:43:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.028
X-Spam-Level:
X-Spam-Status: No, score=0.028 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RELAY_IS_221=2.222, RP_MATCHES_RCVD=-0.594, 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 yoVcjK96Ntsy for <ppsp@ietfa.amsl.com>; Thu, 13 Nov 2014 11:43:12 -0800 (PST)
Received: from cmccmta3.chinamobile.com (cmccmta3.chinamobile.com [221.176.66.81]) by ietfa.amsl.com (Postfix) with SMTP id C55211ACE52 for <ppsp@ietf.org>; Thu, 13 Nov 2014 11:42:47 -0800 (PST)
Received: from spf.mail.chinamobile.com (unknown[172.16.121.3]) by rmmx-syy-dmz-app09-12009 (RichMail) with SMTP id 2ee9546509b6635-06a1a; Fri, 14 Nov 2014 03:42:47 +0800 (CST)
X-RM-TRANSID: 2ee9546509b6635-06a1a
X-RM-SPAM-FLAG: 00000000
Received: from cmccPC (unknown[31.133.167.36]) by rmsmtp-syy-appsvr02-12002 (RichMail) with SMTP id 2ee2546509b0173-bb8ac; Fri, 14 Nov 2014 03:42:47 +0800 (CST)
X-RM-TRANSID: 2ee2546509b0173-bb8ac
From: 邓灵莉/Lingli Deng <denglingli@chinamobile.com>
To: 'Xiajinwei' <xiajinwei@huawei.com>, 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
References: <B0D29E0424F2DE47A0B36779EC666779661DB7CE@nkgeml501-mbs.china.huawei.com> <51E6A56BD6A85142B9D172C87FC3ABBB86251329@nkgeml501-mbs.china.huawei.com> <CAJ018wBnFwLO-UR0Ci9qcYRLP3nvky6yvNrivFNrwBBdL1GReQ@mail.gmail.com> <001901cfff48$d8e83ae0$8ab8b0a0$@inov.pt> <A8219E7785257C47B75B6DCE682F8D2F901095B2@nkgeml501-mbs.china.huawei.com>
In-Reply-To: <A8219E7785257C47B75B6DCE682F8D2F901095B2@nkgeml501-mbs.china.huawei.com>
Date: Fri, 14 Nov 2014 03:42:43 +0800
Message-ID: <002601cfff7a$0145d340$03d179c0$@com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0027_01CFFFBD.0F691340"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac/+6XHitTUE4yIXTIW0IaBSD9/HLgALRSJwAAtM+nv//4QfgP//G3ng//4zR7A=
Content-Language: zh-cn
Archived-At: http://mailarchive.ietf.org/arch/msg/ppsp/FnAb20F8cneAO48sGsTOWiVPiIM
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 19:43:15 -0000

I prefer text encoding too, and JSON would be the one for me.

 

Lingli

 

From: ppsp [mailto:ppsp-bounces@ietf.org] On Behalf Of Xiajinwei
Sent: Friday, November 14, 2014 3:36 AM
To: mario.nunes@inov.pt; 'João Pedro Taveira'; Huangyihong (Rachel); Zongning; ppsp@ietf.org
Subject: [ppsp] 答复: Call for WG consensus on Tracker Protocol encoding

 

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> 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
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> 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