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

"Prof. Rui Santos Cruz Eng." <rui.cruz@ieee.org> Thu, 13 November 2014 13:50 UTC

Return-Path: <rui.cruz@ieee.org>
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 D7D681A874D for <ppsp@ietfa.amsl.com>; Thu, 13 Nov 2014 05:50:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 Fcxiioe4i8VT for <ppsp@ietfa.amsl.com>; Thu, 13 Nov 2014 05:50:01 -0800 (PST)
Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7CE521A873C for <ppsp@ietf.org>; Thu, 13 Nov 2014 05:49:57 -0800 (PST)
Received: by mail-wg0-f42.google.com with SMTP id y19so1459230wgg.1 for <ppsp@ietf.org>; Thu, 13 Nov 2014 05:49:56 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=XYTvWZnNMotxZvprD6gPezsuiZ54EbcDwPmM+0jA5uM=; b=bA7+m8L5d9fqJKgjnyJfY5uvoe+sbPBiB70Nm//XQRz+E57YtoXSqlsyS+RzDra5nK JBs/OcMurZfeN4yrwoeEzvQcnCIIYsMLHuYfYCDTniClvxbYEzFP7n8sU8qrAh/o11Yh X8DQslhjhVSqakg4WPkuP8wx8JFujiF5PzTE8PqpLj2WsHpQPX1CUgAPT5RBLiY0pCyS EJwolMw5S6+GxIlBqx7+nXeYUbwK15ngFVXaR/cqe8RMqFGlqy+PfrKZPhl4rPAZfsg2 Y6+dpa9toIceghqHfqZHFusb88UsYG9BrV5/5PnXKta/rw3hApXZw1H6ViBIdJ0287dK vcFA==
X-Gm-Message-State: ALoCoQkPOJWuC8v599ChihUQ67i8D9B63TqcSwqPFHa9SqTQKrlgmVOyoauYGGdOsiwPEERiKcf0
X-Received: by 10.180.90.45 with SMTP id bt13mr3846840wib.75.1415886596210; Thu, 13 Nov 2014 05:49:56 -0800 (PST)
Received: from airia.home (a95-93-148-247.cpe.netcabo.pt. [95.93.148.247]) by mx.google.com with ESMTPSA id wl1sm35643005wjb.4.2014.11.13.05.49.54 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Nov 2014 05:49:55 -0800 (PST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_7BC4A28D-3FF4-4014-A07A-99DE458D8837"
Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\))
From: "Prof. Rui Santos Cruz Eng." <rui.cruz@ieee.org>
In-Reply-To: <B0D29E0424F2DE47A0B36779EC666779661DB7CE@nkgeml501-mbs.china.huawei.com>
Date: Thu, 13 Nov 2014 13:49:53 +0000
Message-Id: <D51A799E-A2B1-4D9B-8B04-48A4A40FD84D@ieee.org>
References: <B0D29E0424F2DE47A0B36779EC666779661DB7CE@nkgeml501-mbs.china.huawei.com>
To: Zongning <zongning@huawei.com>
X-Mailer: Apple Mail (2.1990.1)
Archived-At: http://mailarchive.ietf.org/arch/msg/ppsp/G-Iz7c6qxmuwV4QNnQRMT0jJRCE
Cc: "Joao P. Taveira" <joao.silva@inov.pt>, Gu Yingjie <guyingjie@gmail.com>, "ppsp@ietf.org" <ppsp@ietf.org>
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:50:08 -0000

Hi Folks,

The current version of the Base Tracker Protocol draft had followed all previous recommendations of the WG, and, as you may recall, the initial specifications described a text-based encoding (HTTP/XML) that could even be represented in binary form on the wire.

Later, it was recommended in the WG to "specify the protocol" not using a specific encoding method as it would seem as mandatory, and that was done using a syntax and format for the Protocol messages defined with a C-like syntax, similar to the presentation language used to defined TLS, just to “document” the protocol. Consequently, the encoding “examples" (HTTP/XML) for the protocol were removed from the document, remaining only in part 4 of the draft the mention:

“PPSP-TP is a message-oriented request/response protocol.  The messages can be encoded using binary type or text type, which can be indicated in the Content-Type field in HTTP/1.1 [RFC2616], but that definition is not in the scope of this specification.” 

I personally welcome the chance given by the WG to have a mandatory encoding specification for the protocol, and I am convinced that it would be just a question of getting the consensus on using one of the following:

1. HTTP/XML: just pure text but also directly representable in binary format on the wire (in "real-time") using current well known methods and standards.
2. HTTP/JSON: just pure text but also directly representable in binary format on the wire (in "real-time”) using current well known methods and standards.

None of those require special work from what was described and exemplified in earlier versions of the draft (HTTP/XML), just a simple transcription of previous text to the current document, or a transcription of the previous text but with a conversion of the messages body to JSON (XML to JSON is straightforward).

As other co-authors also mentioned, a pure binary format, although apparently more “efficient” on the wire, would bring unnecessary complexity to the implementation, usage and extensibility.

Thanks. 

Regards,

Dr. Rui Santos Cruz, Ph.D.
rui.cruz@ieee.org

IST/INESC-ID/INOV - Lisbon, Portugal
__________________________________________
ppsp mailing list
ppsp@ietf.org
https://www.ietf.org/mailman/listinfo/ppsp

> On 13 Nov 2014, at 02:27, Zongning <zongning@huawei.com> wrote:
> 
> 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 <https://www.ietf.org/mailman/listinfo/ppsp>