[Yum-devel] Fastest mirror selection plugin

Michael Stenner mstenner at linux.duke.edu
Tue Nov 29 17:15:59 UTC 2005


On Mon, Nov 28, 2005 at 11:54:49PM -0800, Panu Matilainen wrote:
> 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 ;)

Well, you could use urlopen, which opens a connection but doesn't
actually read anything.  The problem is that you still need to give a
file to ask for.  I think that's the same with any proxy operation,
though.  You'll need to ask for some file.

					-Michael
-- 
  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department and Optical Sciences Center                520-626-1619
  University of Arizona                                         ECE 524G



More information about the Yum-devel mailing list