Help With Bandwidth Script
Posted: Thu Jul 06, 2006 3:10 pm
I am trying to write a script that orders a given list of servers in order of most bandwidth free (in kb/s or mb/s) then tells the downloading client to try to connect to the servers in that order. This is to try to maximize the download speed for those using the website. However, I do not know what php function (if there even is one?) that I can use that will return the amount of bandwidth a remote server has free/in use.
As of now, all I have is primitive direct links to the servers, so what usually ends up happeneing is server 1 gets overwhelmed while server 3 sits idle, so I am trying to fix that problem. Thanks in advance for any help.
As of now, all I have is primitive direct links to the servers, so what usually ends up happeneing is server 1 gets overwhelmed while server 3 sits idle, so I am trying to fix that problem. Thanks in advance for any help.