title: Determining the fastest BitTorrent peer connection
body: <p>How does one determine which peer you are connected to has the fastest connection(upload rate)?</p>
  
  <p>Does the actual connection of the peer dominate who is fastest or will the peer who needs the most chunks cause him to upload the fastest as less people are downloading from him?</p>
  
  <p>I want to write an algorithm which takes all the peers in the peer list returned from the tracker and determine wither which peers are closer using a ping and timing the response or some other way.</p>
  
  <p>Thanks</p>