A method of distributing files over a network in which individual computers, called peers, share files directly with each other without the need for a centralised server.

P2P distribution has the advantage of scaling better with an increasing number of peers on a network compared to Client-Server Architecture.

Stats

The distribution time to transmit one copy of a file of size to peers that each have the download speed and upload speed , where the initial distribution happens form a server with upload speed , is

D_{P2P} = \max \left\\{ \frac{F}{u_s}, \frac{F}{d_{\text{min}}}, \frac{NF}{u_s + \sum_{i=1}^N u_i} \right\\}

where .

Implementations