Re: [ppsp] PPSP distributed tracker

"Xiao, Lin (NSN - CN/Beijing)" <lin.xiao@nsn.com> Thu, 27 October 2011 02:54 UTC

Return-Path: <lin.xiao@nsn.com>
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 AFFCA21F8AD6 for <ppsp@ietfa.amsl.com>; Wed, 26 Oct 2011 19:54:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.454
X-Spam-Level:
X-Spam-Status: No, score=-4.454 tagged_above=-999 required=5 tests=[AWL=-0.306, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wstvcEA1SBQn for <ppsp@ietfa.amsl.com>; Wed, 26 Oct 2011 19:54:16 -0700 (PDT)
Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [93.183.12.31]) by ietfa.amsl.com (Postfix) with ESMTP id 01A8621F8AB8 for <ppsp@ietf.org>; Wed, 26 Oct 2011 19:54:14 -0700 (PDT)
Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd002.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id p9R2s92i023547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 27 Oct 2011 04:54:09 +0200
Received: from demuexc022.nsn-intra.net (demuexc022.nsn-intra.net [10.150.128.35]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id p9R2s696002067; Thu, 27 Oct 2011 04:54:09 +0200
Received: from CNBEEXC007.nsn-intra.net ([10.159.192.12]) by demuexc022.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.4675); Thu, 27 Oct 2011 04:54:06 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CC9453.AEFDD76E"
Date: Thu, 27 Oct 2011 10:54:02 +0800
Message-ID: <22A3852D27EBD546A70413F89677CE3303BF01@CNBEEXC007.nsn-intra.net>
In-Reply-To: <CAJYQ-fRHXnYh5hzLWb1V-MqMegr=BAm7XVdq1fvLvQH8RLn23Q@mail.gmail.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [ppsp] PPSP distributed tracker
Thread-Index: AcyUJ7WJNrf6amvtQdG+0SMhLzddZwAJOIMg
References: <4E9D00AA.4060400@mti-systems.com><201110181408148242523@chinamobile.com><22A3852D27EBD546A70413F89677CE33019B92@CNBEEXC007.nsn-intra.net><00bf01cc92c7$0edbe120$2c93a360$@com><22A3852D27EBD546A70413F89677CE33019BEE@CNBEEXC007.nsn-intra.net><00eb01cc92e9$64ec6130$2ec52390$@com><22A3852D27EBD546A70413F89677CE33019C22@CNBEEXC007.nsn-intra.net><22A3852D27EBD546A70413F89677CE33019C32@CNBEEXC007.nsn-intra.net> <CAJYQ-fRHXnYh5hzLWb1V-MqMegr=BAm7XVdq1fvLvQH8RLn23Q@mail.gmail.com>
From: "Xiao, Lin (NSN - CN/Beijing)" <lin.xiao@nsn.com>
To: ext Johan Pouwelse <peer2peer@gmail.com>
X-OriginalArrivalTime: 27 Oct 2011 02:54:06.0743 (UTC) FILETIME=[B1767A70:01CC9453]
Cc: ppsp@ietf.org
Subject: Re: [ppsp] PPSP distributed tracker
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: Thu, 27 Oct 2011 02:54:17 -0000

Hi Johan,

 

Thank you very much for your comments. I agree with you that the proposal now is not that mature. Valuable suggestions are appreciated and helpful to refine the solution.  

Try to answer your questions in line as following:

 

BR

Xiao Lin

-----Original Message-----
From: ext Johan Pouwelse [mailto:peer2peer@gmail.com] 
Sent: Thursday, October 27, 2011 5:39 AM
To: Xiao, Lin (NSN - CN/Beijing)
Cc: ext Yingjie Gu(yingjie); ppsp@ietf.org
Subject: Re: [ppsp] PPSP distributed tracker

 

Dear PPSP,

Just completed a review of V3 of your distributed tracker proposal.

 

Main point:

As indicated my me before within PPSP, light-weight solutions are not often

proposed here. This proposal leans towards overengineering.

 

This proposal does not make a distinction between tracker replication

and distribution using PEX or DHT. By having multiple central

trackers, reliability should improve. However, how many seconds does a

peer wait when a query gets no reply? If a peer waits for 10 seconds

before trying a secondairy peers the result is significant loss of

user experienced performance and degradation of streaming service.

Should a peer issue multiple request in parallel to ensure fast

performance at the cost of server resources? From my viewpoint a PPSP

standard should recommend policies here. You agree?

[Lin]: Yes. I think parallel requests may necessary, but not from peer directly. To keep the simplification, we need decouple the PPSP tracker protocol with the distributed tracker deployment solution here. A normative tracker request is sent to a local tracker (by tracker protocol). This local tracker takes the responsibility for the distributed searching, which needn’t be aware by the requested peer. As local swarms managed by the tracker, at most time it can reply a list with local peers. Or the swarm tracker, which responsible for the swarm globally, should be queried. The solution can reduce the cross area traffic in both peer overlay and tracker overlay. But considering the waiting time, as you suggested, the local tracker may send query the tracker overlay at the same time when it searches the swarm locally.

 

 

Section 2 defines six different entities/roles, where 2 is the

minimum. By expanding the tracker functionality to include network

locality, piece availability registration and a tracker2tracker

protocol we risk defining a standard which cannot be implemented,

scale or compete with the performance of minimalistic solutions.

Missing from this draft is the handling of NATed peers. Does the

tracker do a simple dialback to check if a peer is connectable? Is

connectability part of peer info?

[Lin]:Yes. We do need NAT traversal in PPSP, but it should be solved from the level of PPSP tracker protocol. As the distributed tracker use directly the PPSP tracker protocol for peer-tracker communication, it’ll implement the NAT traversal mechanism adopted by tracker protocol. PPSP WG had made a decision to take this part out from tracker protocol as a individual draft for NAT traversal study:

http://tools.ietf.org/html/draft-li-ppsp-nat-traversal-02

 

 

For over 10 years the Bittorrent tracker protocol seems to be doing

well. This proposal is a radical departure from this deployed

technology. An explanation why this is done would significantly

improve this draft in my opinion. Is that possible?

[Lin]: Good question. A single service provider may not require such complex deployment. However, considering the purpose of the PPSP, which is to setup a standardized platform for all P2P file/video sharing applications. Multiple and distributed tracker deployment may required in the future. 

 

 

Greetings, johan.

On 25/10/2011, Xiao, Lin (NSN - CN/Beijing) <lin.xiao@nsn.com> wrote:

> Hi,

> 

> 

> 

> As I said, I made another version to give a clearer description. Also the

> Figures and the flows are modified accordingly.

> 

> 

> 

> http://tools.ietf.org/id/draft-xiao-ppsp-reload-distributed-tracker-03.txt

> 

> 

> 

> 

> 

> BR

> 

> Xiao Lin

> 

> 

> 

> From: ppsp-bounces@ietf.org [mailto:ppsp-bounces@ietf.org] On Behalf Of

> Xiao, Lin (NSN - CN/Beijing)

> Sent: Tuesday, October 25, 2011 4:12 PM

> To: ext Yingjie Gu(yingjie); ppsp@ietf.org

> Subject: Re: [ppsp] PPSP distributed tracker

> 

> 

> 

> Hi Yingjie,

> 

> 

> 

> I’ve answered your questions as followed.

> 

> By the way, I’m submitting a updated version 03, which may describe the

> change more clearly.

> 

> 

> 

> BR

> 

> Xiao Lin

> 

> 

> 

> From: ext Yingjie Gu(yingjie) [mailto:guyingjie@huawei.com]

> Sent: Tuesday, October 25, 2011 3:41 PM

> To: Xiao, Lin (NSN - CN/Beijing); ppsp@ietf.org

> Subject: 答复: [ppsp] PPSP distributed tracker

> 

> 

> 

> Thanks to Lin  again for doing all the work.

> 

> I would apologize, as co-author, I failed to contribute to this version of

> updating.

> 

> Here is my comments and hope it can help.

> 

> 

> 

> 

> 

> ________________________________

> 

> Best Regards

> Gu Yingjie

> 

> 

> 

> 发件人: Xiao, Lin (NSN - CN/Beijing) [mailto:lin.xiao@nsn.com]

> 发送时间: 2011年10月25日 乐乐14:41

> 收件人: ext Yingjie Gu(yingjie); ppsp@ietf.org

> 主题: RE: [ppsp] PPSP distributed tracker

> 

> 

> 

> The updating content in v02 includes :

> 

> 

> 

> l  The local tracker can keep the content record of  local peers, at the

> same time when it forwards the  content update/registration information to

> tracker overlay. So, most content requests can be solved locally.

> 

> Y.J. Gu :  How frequently the content record is shared among trackers?  I

> guess not real-time sharing, because the content record is updated quite

> often.  It could be an implementation choice, but we can give some advise in

> the draft.

> 

> [Lin]: content record is not shared among trackers, it only stored in both

> local connection tracker (for traffic localization) and the responsible

> swarm tracker located by RELOAD mechanism (maintains overall peerlist for a

> swarm).

> 

> 

> 

> l  Delete  the open issues in chapter 5, and decide to use local connection

> tracker to manage the status of the ppsp peers locally, as most peer

> requests are from local peers according to the algorithm mentioned above. If

> the peer status can not be found in local connection tracker, the request is

> forwarded to the tracker overlay, as each local tracker always registries

> its own address to a node on tracker overly, whose ID has a DHT mapping

> with the PPSP peer. As the position of the peer status , which is also the

> peer’s connection node address, is always registered to the tracker overlay

> according to RELOAD.

> 

> Y.J. Gu : Why not share peer status when you share content record? The

> reason that we share content record among trackers is to decrease the

> response time to a request for some content that is not locally stored. If

> the content can be found locally, but the tracker still have to find the

> status through the overlay, it doesn’t decrease the response time. The

> status shared on tracker overlay might not be accurate, but neither do the

> content record. It’s only a way to improve the performance. The peer, who

> get an inaccurate information from the tracker, can correct it by

> communicating with the peers in peerlist. Even the local connection tracker

> can not promise an accurate content record and peer status.

> 

> [Lin]:   No. I mean, node status always maintained by its local connection

> tracker, but only put the information that how to find the local connection

> tracker of the peer (the position of the peer status) on the tracker

> overlay.  So, the frequent status updates can be done locally, but there

> must be a way (by RELOAD overlay ) to find the position of the status

> information, and the position information do not need frequent updates,

> which saves the traffic across overlay.

> 

> 

> 

> l  A data kind for peerStatusIndex is defined.

> 

> 

> 

> As still some editorial errors, I’ll give a new version soon.

> 

> 

> 

> 

> 

> BR

> 

> Xiao Lin

> 

> 

> 

> From: ext Yingjie Gu(yingjie) [mailto:guyingjie@huawei.com]

> Sent: Tuesday, October 25, 2011 11:35 AM

> To: Xiao, Lin (NSN - CN/Beijing); ppsp@ietf.org

> Subject: 答复: [ppsp] PPSP distributed tracker

> 

> 

> 

> Thanks lin for updating the draft.

> 

> Maybe it’s better to give a brief introduction of the updating from -01

> version to -02 version.

> 

> 

> 

> 

> 

> ________________________________

> 

> Best Regards

> Gu Yingjie

> 

> 

> 

> 发件人: ppsp-bounces@ietf.org [mailto:ppsp-bounces@ietf.org] 代表 Xiao, Lin (NSN

> - CN/Beijing)

> 发送时间: 2011年10月25日 乐乐11:19

> 收件人: ppsp@ietf.org

> 主题: [ppsp] PPSP distributed tracker

> 

> 

> 

> Hi All,

> 

> 

> 

> I’ve updated the distributed tracker draft for a while. Could you please

> give your comment on it ? Thanks!

> 

> 

> 

> http://tools.ietf.org/id/draft-xiao-ppsp-reload-distributed-tracker-02.txt

> 

> 

> 

> 

> 

> Abstract

> 

> 

> 

> This document defines PPSP tracker usages for REsource LOcation And

> 

> Discovery (RELOAD).  Although PPSP assumes a centralized tracker from

> 

> peer's point of view, the logical centralized tracker could be realized

> 

> by a cluster of geographically distributed trackers. In this draft, we

> 

> design distributed trackers system, which are organized by RELOAD. It

> 

> provides lookup service for file/channel indexes and Peer Status among

> 

> the distributed trackers.

> 

> 

> 

> 

> 

> 

> 

> BR

> 

> Xiao Lin

> 

>