Skip to content
lontivero edited this page May 12, 2014 · 1 revision

Bandwith Control

Peer-to-peer applications that don't implement any bandwith control, ie restrict how many bytes can send/receive to/from peers per unit time, can end up consuming all the available bandwidth and prevent the user from continuing working normally.

  • Measurement: Peer2Net keeps track of how many bytes were sent/received from the connection as well as the average speed and the actual speed of transfer. This data is also used to control the speed.

  • Control: Peer2Net allows control (limit) the transfer rate to ensure that this is placed at the desired value. This is possible to do per-connection and up and down independently. That is, assuming you are connected to two peers (A and B), we can establish that we send to 10Kb/sec to peer A and 50Kb/sec to peer B while we get to 200kb/sec from peer A and 1Kb/sec from peer B.

Clone this wiki locally