Peer-to-peer download and seed policy management
First Claim
1. A method for downloading files in a peer-to-peer environment, the method comprising:
- establishing, by a downloading peer, a plurality of connections with a plurality of peers over a peer-to-peer network, each of the plurality of peers having at least a portion of a file;
receiving, by the downloading peer, portions of the file from the plurality of peers to which the downloading peer is connected;
calculating a statistical variance of bandwidth usage for the plurality of connections based on bandwidth usage of each of the plurality of connectionsresponsive to the calculated statistical variance of bandwidth usage for the plurality of connections exceeding a threshold, establishing a connection in addition to the plurality of connections, the additional connection between the downloading peer and an additional peer having at least a portion of the file; and
receiving a portion of the file from the additional peer.
3 Assignments
0 Petitions
Accused Products
Abstract
Transfer policy management methods in a peer-to-peer networking environment such as BitTorrent are provided. A download TPM maximizes the usage of available bandwidth, while focusing on as few torrents as possible. For a given list of torrents, a peer in accordance with the present invention determines how many download connections to maintain at a given time in order to maximize usage of bandwidth. If the variance of per-connection bandwidths exceeds a threshold, more connections are added until either variance does not exceed the threshold or a maximum number of connections are established. A seeding peer determines when to reduce the number of files being seeded by monitoring its average upload rate per torrent. If its average rate falls below a threshold, then the peer stops seeding a file. The file that the peer stops seeding is one to which the peer is making the smallest overall contribution.
48 Citations
24 Claims
-
1. A method for downloading files in a peer-to-peer environment, the method comprising:
-
establishing, by a downloading peer, a plurality of connections with a plurality of peers over a peer-to-peer network, each of the plurality of peers having at least a portion of a file; receiving, by the downloading peer, portions of the file from the plurality of peers to which the downloading peer is connected; calculating a statistical variance of bandwidth usage for the plurality of connections based on bandwidth usage of each of the plurality of connections responsive to the calculated statistical variance of bandwidth usage for the plurality of connections exceeding a threshold, establishing a connection in addition to the plurality of connections, the additional connection between the downloading peer and an additional peer having at least a portion of the file; and receiving a portion of the file from the additional peer. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer system for downloading files in a peer-to-peer environment, the computer system comprising:
-
a non-transitory computer-readable storage medium storing computer executable instructions, the instructions comprising; a download connections manager adapted to; establish a plurality of connections between a downloading peer and a plurality of peers having at least a portion of a file; receive portions of the file from the plurality of peers to which the downloading peer is connected; and a bandwidth monitoring engine adapted to; calculate a statistical variance of bandwidth usage for the plurality of connections based on bandwidth usage of each of the plurality of connections; and instruct the download connections manager to establish a connection in addition to the plurality of connection, the additional connection between the downloading peer and an additional peer having at least a portion of the file in response to the calculated statistical variance of bandwidth usage for the plurality of connections exceeding a threshold, the download connections manager receiving a portion of the file from the additional peer; and a computer processor configured to execute the instructions. - View Dependent Claims (7, 8, 9, 10, 11)
-
-
12. A method for uploading files in a peer-to-peer environment, the method comprising:
-
providing, by an uploading peer, a plurality of files to a plurality of peers in a peer-to-peer network; determining an average upload rate at which the plurality of files are provided to the plurality of peers; responsive to the average upload rate being less than a threshold rate, selecting from the plurality of files, a file to stop providing to the plurality of peers based on a number of complete copies of the file in the peer-to-peer network; and ceasing to provide to the plurality of peers the selected file from the plurality of files. - View Dependent Claims (13)
-
-
14. A method for uploading data in a peer-to-peer environment, the method comprising:
-
uploading data to an initial number of connections, each connection between an uploading peer and one of a plurality of peers; uploading data to a first additional connection between the uploading peer and one of the plurality of peers; determining a change in reciprocation responsive to uploading data to the additional connection, wherein reciprocation is a number of bytes granted to the uploading peer for download based on a number of bytes uploaded by the uploading peer; and responsive to the change in reciprocation being an increase, establishing a second additional connection between the uploading peer and one of the plurality of peers and uploading data through the second additional connection. - View Dependent Claims (15)
-
-
16. A computer system for uploading files in a peer-to-peer environment, the system comprising:
-
a non-transitory computer-readable storage medium storing computer executable instructions, the instructions comprising; an upload connections manager adapted to; upload data to an initial number of connections, each connection between a first peer and one of a plurality of peers; and upload data to a first additional connection between the first peer and one of the plurality of peers; and a bandwidth monitoring engine adapted to; determine a change in reciprocation responsive to uploading data to the first additional connection, wherein reciprocation is a number of bytes granted to the first peer for download based on a number of bytes uploaded by the first peer; and responsive to the change in reciprocation being an increase, establishing a second additional connection between the first peer and one of the plurality of peers and uploading data through the second additional connection; and a computer processor configured to execute the instructions. - View Dependent Claims (17)
-
-
18. A system for uploading files in a peer-to-peer environment, the system comprising:
-
a non-transitory computer-readable storage medium storing computer executable instructions, the instructions comprising;
a seed manager adapted to provide a plurality of files from an uploading peer to a plurality of peers in a peer-to-peer network; anda bandwidth monitoring engine adapted to; determine an average upload rate at which the plurality of files are provided to the plurality of peers; responsive to the average upload rate being less than a threshold rate, select from the plurality of files, a file to stop providing to the plurality of peers based on a number of complete copies of the file in the peer-to-peer network; and cease to provide to the plurality of peers the selected file from the plurality of files; and a computer processor configured to execute the instructions. - View Dependent Claims (19)
-
-
20. A method for uploading files in a peer-to-peer environment, the method comprising:
-
providing, by an uploading peer, a plurality of files to a plurality of peers in a peer-to-peer network; determining an average upload rate at which the plurality of files are provided to the plurality of peers; responsive to the average upload rate being less than a threshold rate, selecting from the plurality of files, a file to stop providing to the plurality of peers based on a correlation between a first inventory of pieces of the file in the uploading peer and a second inventory of pieces of the file in the peer-to-peer network; and ceasing to provide to the plurality of peers the selected file from the plurality of files. - View Dependent Claims (21)
-
-
22. A method for uploading files in a peer-to-peer environment, the method comprising:
-
providing, by an uploading peer, a plurality of files to a plurality of peers in a peer-to-peer network; determining an average upload rate at which the plurality of files are provided to the plurality of peers; responsive to the average upload rate being less than a threshold rate, selecting from the plurality of files, a file to stop providing to the plurality of peers based on an uploading rate at which the uploading peer uploads the file and a total download rate of the file by peers downloading the file; and ceasing to provide to the plurality of peers the selected file from the plurality of files. - View Dependent Claims (23, 24)
-
Specification