[Yum-devel] Fastest mirror selection plugin

Matthew Miller mattdm at mattdm.org
Tue Nov 29 14:22:05 UTC 2005


On Mon, Nov 28, 2005 at 11:54:49PM -0800, Panu Matilainen wrote:
> It uses socket.connect() for the timing so...
> >Hmm - we might want to address that.
> Would be nice, but how do you measure the time with url operations: I 
> guess you could grab 1 byte of "something" and time that, but what if the 
> server doesn't support byte ranges? Those would get penalized pretty 
> badly... but hey, maybe that's for a good reason ;)

Also, if the proxy happens to have that one byte cached from a previous
system, it's going to be artificially fast for every other system that tests
using the proxy.



-- 
Matthew Miller           mattdm at mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>



More information about the Yum-devel mailing list