Re: [ppsp] I-D Action: draft-ietf-ppsp-base-tracker-protocol-00.txt

João Pedro Taveira <joao.p.taveira@gmail.com> Tue, 19 February 2013 12:17 UTC

Return-Path: <joao.p.taveira@gmail.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 A25E621F8878 for <ppsp@ietfa.amsl.com>; Tue, 19 Feb 2013 04:17:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.632
X-Spam-Level:
X-Spam-Status: No, score=-1.632 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1, SARE_HTML_USL_OBFU=1.666]
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 zohZgQWSoV4p for <ppsp@ietfa.amsl.com>; Tue, 19 Feb 2013 04:17:53 -0800 (PST)
Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by ietfa.amsl.com (Postfix) with ESMTP id F030321F883A for <ppsp@ietf.org>; Tue, 19 Feb 2013 04:17:52 -0800 (PST)
Received: by mail-pb0-f48.google.com with SMTP id wy12so2233083pbc.7 for <ppsp@ietf.org>; Tue, 19 Feb 2013 04:17:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=67BegM1J0RZxmnViUgZOZgyZ5FIf/y16aUI78mqTt4Q=; b=HfVCKo/XViJESzaxM5j9J6UByS8UCpE1PBSMryVyJ+jfqdqCnBezNJh4XznTHxmRcB P0j/JuVBvg6EKwTRsVdleIfSLbr1D5jQfqDyxlc3BFdSNOBAcuC9wdnK/RV9llwWmQCh j178PCNdTNcFyugoQuspg5FbLoW0Gm+aXP80/3VjstSR7x5DYusV/iKCxM9qANRsQ+OS igGg4csOnxFI/p95VHvfo8NOOtbbwnFdb+lnmJCFycKYCI21O+/sXIJGg6fB72EP9S0M sUiFsj+QKObY6369WZoDs7bYGRyhgkTUjB2xcOZBCs2eglQZUQQWhMq996GOvbDfXpXg AySQ==
MIME-Version: 1.0
X-Received: by 10.66.4.136 with SMTP id k8mr45189464pak.22.1361276272708; Tue, 19 Feb 2013 04:17:52 -0800 (PST)
Received: by 10.66.249.201 with HTTP; Tue, 19 Feb 2013 04:17:52 -0800 (PST)
In-Reply-To: <51235B1E.4070608@cs.vu.nl>
References: <20130214163150.29515.33443.idtracker@ietfa.amsl.com> <51235B1E.4070608@cs.vu.nl>
Date: Tue, 19 Feb 2013 12:17:52 +0000
Message-ID: <CAJ018wARxkdBAD36VdEOb_VkJ32v+cQEUj7ztVr=gE-m35ypiA@mail.gmail.com>
From: João Pedro Taveira <joao.p.taveira@gmail.com>
To: arno@cs.vu.nl
Content-Type: multipart/alternative; boundary="bcaec520f6f1ad0d2104d612d424"
Cc: ppsp@ietf.org
Subject: Re: [ppsp] I-D Action: draft-ietf-ppsp-base-tracker-protocol-00.txt
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: Tue, 19 Feb 2013 12:17:53 -0000

Hi Arno,

About the number of peers to be returned, one may specify optional PeerNUM.

About the option you mention about request a random sample of peer
population, I think this could be defined in one extended version of
tracker protocol. For instance, to the PeerNUM element, it could be
specified a "selector" attribute with the key of one of acceptable
selectors by tracker implementation, such as a "random" key.

Using CONNECT message sample
http://tools.ietf.org/html/draft-ietf-ppsp-base-tracker-protocol-00#section-4.1,
a connect message could be:

<?xml version="1.0" encoding="UTF-8"?>
<PPSPTrackerProtocol xmlns="TBD" schemaLocation="TBD" version="1.2">
  <Request>CONNECT</Request>
  <PeerID>656164657220</PeerID>
  <PeerNum abilityNAT="STUN" selector="random">15</PeerNum>
  <SwarmID action="JOIN" peerMode="SEED"
           transactionID="12345.1">1111</SwarmID>
  <SwarmID action="JOIN" peerMode="SEED"
           transactionID="12345.2">2222</SwarmID>
  <TransactionID>12345.0</TransactionID>
</PPSPTrackerProtocol>


Best Regards



On Tue, Feb 19, 2013 at 10:59 AM, Arno Bakker <arno@cs.vu.nl> wrote:

> Hi all
>
> good that the tracker protocol is now in a WG document. Reading it again I
> really would like to have an option to specify that I want the tracker to
> return a random sample of the peer population of a swarm. Rui previously
> argued (mail dd. 13-11-2012) that it is an implementation issue, but I
> think users must be able to ask for specific semantics, just like they can
> select the number of peers to be returned, etc.
>
> What do you think?
>
> CU,
>     Arno
>
>
> ______________________________**_________________
> ppsp mailing list
> ppsp@ietf.org
> https://www.ietf.org/mailman/**listinfo/ppsp<https://www.ietf.org/mailman/listinfo/ppsp>
>