2-Hop TorrentSmell A distributed tracking algorithm name:Raynor Vliegendhart date:July 10, 2009 event:Tribler Dev Meeting
Research Question How to decentralize Peer Discovery Functionality with hooks for Security and Scalability? 2
Central Tracker 3 Request Peerlist
Central Tracker 4 Peer List
Central Tracker 5 Connect to Download Swarm
Central Tracker 6 Keep in touch with tracker to 1.discover new peers; 2.announce your presence.
Distributed Tracking How do we… track peers in the swarm? find the distributed trackers tracking the swarm? 7
Distributed Tracking Algorithm How do we… track peers in the swarm? RePEX find the distributed trackers tracking the swarm? Extended Remote Content Search 8 2-Hop TorrentSmell
Peer Exchange 9 Modern BitTorrent clients can exchange their neighbourhood sets through Peer Exchange (PEX)
Peer Exchange 10 Modern BitTorrent clients can exchange their neighbourhood sets through Peer Exchange (PEX)
Peer Exchange 11 Modern BitTorrent clients can exchange their neighbourhood sets through Peer Exchange (PEX) ,
RePEX Reconnect to PEX peers encountered before. Discover new and reliable peers. Goal: Each peer has a local list of peers in the swarm. 12
Which swarms to track? How often? How many peers to store? RePEX Research Questions 13
Which swarms to track? Last 25 downloads, since we have been in those swarms before How often? How many peers to store? Yet unknown; Measurements needed to determine churn, online status, connectivity, etc. RePEX Research Questions 14
Remote Content Search Currently implemented in Tribler: 15 “Obama”
Remote Content Search 16 obama.mp3 SHA1 obama.avi SHA1 X Tribler peers respond with matching torrent files
Extended Remote Content Search + RePEX 17 “Obama” RePEX Tribler Peer
Extended Remote Content Search + RePEX 18 RePEX Tribler Peer obama.mp3 SHA1 obama.avi SHA1 X , , … A RePEX peer includes swarm peers in the response
2-Hop TorrentSmell 19 Tribler peers already announce their download profile through BuddyCast We can use this to further extend Remote Content Search
2-Hop TorrentSmell 20 “Obama” The user issues a query as normally
2-Hop TorrentSmell The responding Tribler peer knows who has downloaded obama.avi obama.avi SHA1 +RePEX: , …
2-Hop TorrentSmell So the user can reissue the query to that peer “Obama”
2-Hop TorrentSmell Finally, the RePEX peer responds with a list of swarm peers obama.avi SHA1 +Swarm: , , …
Algorithm Summary 24 2 Hops needed using Extended RCS RePEX used for tracking
Research Questions Recap How often do we have to revisit swarms? How many peers should we store per swarm? What’s the churn rate? Etc… 25
Additional Research Questions But also: Do peers lie about PEX capabilities? What’s the PEX “response time” of non-Tribler peers? 26