Re: [ppsp] tracker protocol review

Rui Cruz <rui.cruz@ieee-pt.org> Mon, 05 November 2012 10:24 UTC

Return-Path: <rui.cruz@ieee-pt.org>
X-Original-To: ppsp@ietfa.amsl.com
Delivered-To: ppsp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C04A21F8674 for <ppsp@ietfa.amsl.com>; Mon, 5 Nov 2012 02:24:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.602
X-Spam-Level:
X-Spam-Status: No, score=-1.602 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_43=0.6, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ftSUhn1de9Ut for <ppsp@ietfa.amsl.com>; Mon, 5 Nov 2012 02:24:58 -0800 (PST)
Received: from mail-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44]) by ietfa.amsl.com (Postfix) with ESMTP id 18E5321F85C3 for <ppsp@ietf.org>; Mon, 5 Nov 2012 02:24:57 -0800 (PST)
Received: by mail-bk0-f44.google.com with SMTP id jc3so1946267bkc.31 for <ppsp@ietf.org>; Mon, 05 Nov 2012 02:24:57 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=+rVc9SlhLI0892VSNZ0nUR8pCshB8s+UyhlKBpU0xvU=; b=ekIZSuwFfBMii6J1jWhnoL5l9LqdQddlnojMARz4kNrCK8UlMS5F6XimbWDaAgXqX/ jzC5a3G682sIDe+BCSePuIwXhZ+zQ+09mfRr4/FJaclVuDueRJaYyawN4PyvYsiFda/9 5Ye8dJZIDpGfxqxDu1hf1oIbFrB8uGX3Q1CWRBVMnV5cvxXEl9fsDEzXgtHEjq6herae Gw2J6AQ/0HeRx+BCdlJ+2h0aysJE3I92Lnb6W3nEEEycby70GDsmuweLZBYHZ1aEjv8W 5KkDb2lY56rFoz9eZUso24dKRfcLgKprNxTcS4N23U3hK1dyWtSpsg6vDeOpcW09pRj3 PsSg==
Received: by 10.204.9.4 with SMTP id j4mr2190826bkj.22.1352111096807; Mon, 05 Nov 2012 02:24:56 -0800 (PST)
Received: from [192.168.1.218] (89-180-43-105.net.novis.pt. [89.180.43.105]) by mx.google.com with ESMTPS id s20sm9193674bkw.15.2012.11.05.02.24.52 (version=SSLv3 cipher=OTHER); Mon, 05 Nov 2012 02:24:55 -0800 (PST)
References: <2012110511283736034341@chinamobile.com>
In-Reply-To: <2012110511283736034341@chinamobile.com>
Mime-Version: 1.0 (1.0)
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="Apple-Mail-A6E4DBCD-056C-43A4-9AB6-894B1D65FF95"
Message-Id: <5F56F444-8B12-41F9-87C7-7043185321EB@ieee-pt.org>
X-Mailer: iPad Mail (10A523)
From: Rui Cruz <rui.cruz@ieee-pt.org>
Date: Mon, 05 Nov 2012 10:24:50 +0000
To: zhangyunfei <zhangyunfei@chinamobile.com>
X-Gm-Message-State: ALoCoQlPiiZuD1dmlYIOFS2vWs+DZXtm9yhhIIu7I6ecpG7rob7iDsc/9sl6HV3FnnXPOVAd6OZB
Cc: ppsp <ppsp@ietf.org>, Rui Cruz <rui.cruz@ieee.org>
Subject: Re: [ppsp] tracker protocol review
X-BeenThere: ppsp@ietf.org
X-Mailman-Version: 2.1.12
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: Mon, 05 Nov 2012 10:24:59 -0000

Hi Yunfei,

Thank you very much for the comments.
About Encoding: 
Binary encoding of the protocol (both at the Request/Response layer or the Messaging layer) can be done without modifying the grammar of the protocol. EXI represents the Structure and the Content of an XML document as an EXI binary stream (header and body), therefore, it is just a matter of serialization of the XML Infoset into an octet stream, suitable for HTTP transfer encoding, enabling content negotiation to ensure that clients and servers understand EXI. Similarly, HTTP messages transporting EXI can  have a binary wire format, as being prepared for HTTP/2.0. We have already an implementation of the Tracker Protocol over SPDY, where the HTTP messages are binary encoded, with the advantages of multiplexing requests and header compression.


Cumprimentos/Regards,
Rui Cruz

Sent from my iPad2

On 05/11/2012, at 03:28, zhangyunfei <zhangyunfei@chinamobile.com> wrote:

> Hi Rui and Yingjie (Speaking individually) ,
>     I have read the updated tracker protocol draft and have the following comments:
> 1) Encoding issue: It's good to mention that PPSP-TP is intended to support binary encoding in section 4. However in section 5, 7 and 8, http+XML is still in the main page. Is this just for example? Or a general semantics desperation is enough? I think much of section 7.1 in current version can be placed in Appendix A. Are you intending to use EXI for the binary encoding and do you still need http for the underlying transport?
> 2)  Check the section 10 for the XML descriptions. Do we need the update of this part?
> 3)Security part, section 9.2, how does the content integrity check related to the tracker protocol should be better explained.
>  
> BR
> Yunfei
>  
> zhangyunfei
> _______________________________________________
> ppsp mailing list
> ppsp@ietf.org
> https://www.ietf.org/mailman/listinfo/ppsp