Change search
ReferencesLink to record
Permanent link

Direct link
KTH, School of Information and Communication Technology (ICT).
2012 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

More and more end-users are using P2P protocols for content sharing, on-demand and live streaming, contributing considerably to overall Internet trac. A novel P2P streaming protocol named libswift was developed to enable people experience a better service by consuming less resources and transferring less unnecessary functions and metadata. This master thesis studies the inner functioning of libswift and analyzes some of the vulnerabilities that directly impact performance of the protocol, namely download speed and response delay.

By investigating the behavior of libswift in scenarios with multiple peers, we found that the lack of a peer selection mechanism inside the protocol aects download eciency and response time. We also discovered that libswift's internal piece picking algorithm raises competition among peers, thus not fully utilizing connected peers. In addition, we found that current libswift implementation does not follow the specication for PEX peer discovery, thus we modied PEX algorithm to support another message that is used to proactively request new peers from the currently connected.

Having made these observations, we designed and implemented a peer selection extension interface that allows for third-party peer selection mechanisms to be used with libswift protocol. Apropos, we tested the interface (or adapter) with an example peer selection mechanism that groups peers according to properties such as latency and locality. Preliminary experimental data shows that using our extension with an external peer selection mechanism enables libswift to select peers based on various metrics and thus enhances its download speed.

We argue that libswift is a good protocol for next generation content delivery systems and it can get faster data transfer rates and lower latency by integrating ecient peer selection mechanisms.

Place, publisher, year, edition, pages
2012. , 86 p.
Trita-ICT-EX, 2012:262
National Category
Engineering and Technology
URN: urn:nbn:se:kth:diva-105069OAI: diva2:568118
Educational program
Master of Science - Design and Implementation of ICT Products and Systems
Available from: 2012-11-15 Created: 2012-11-15 Last updated: 2012-11-15Bibliographically approved

Open Access in DiVA

fulltext(1028 kB)518 downloads
File information
File name FULLTEXT01.pdfFile size 1028 kBChecksum SHA-512
Type fulltextMimetype application/pdf

By organisation
School of Information and Communication Technology (ICT)
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 518 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 206 hits
ReferencesLink to record
Permanent link

Direct link