P2P vs. Client-Server
Before we move on with the details of BitTorrent, it's useful to do a quantitative comparison of the P2P architecture with the client-server architecture.
We'll cover the following...
Quantitative Comparison of P2P with Client-Server
Let’s calculate how long it will take to transmit a file from one server to a number of clients based on both the P2P and server-client architectures. The calculations will be performed based on the following givens.
- A server that can upload at a rate of where is the upload speed in bits/second.
- There are clients all wanting to download the same file from the server. Client can upload at a rate of bits/second and download at a rate of bits/second.
- The size of the file that all the peers want is .
Client-Server
Let’s start with the client-server architecture. The following can be observed.
- Since
Access this course and 1400+ top-rated courses and projects.