Whenever you ask to download a file from some other client, you enter it's upload queue. This is a list of clients who are willing to download some file. Each client has a score. He higher the score is, the faster that client will get to download that file.