ABSTRACT

This chapter explains the content distribution system proposed for the implementation. It presents the middleware chosen for the implementation, highlights its features, and introduces how to use it. The chapter examines the design and implementation of the system following a tutorial style. It explores deployment constraints and validation tests. The chapter provides a short discussion on the development of a peer-to-peer (P2P) application. The content discovery mechanism is responsible for finding the content in a distributed network, whereas the incentive mechanism is intended to achieve fairness and avoid abuses, and the content distribution determines the way that the task of downloading a file is performed between various peers. The incentive mechanism is responsible for rewarding participants and discouraging selfish behaviours. The incentive mechanisms in P2P networks for content distribution have been classified into different categories: monetary payments, reputation-based or reciprocity-based mechanisms.