[arch-mirrors] Syncing

Pierre Schmitz pierre at archlinux.de
Sat Jul 31 09:09:04 EDT 2010

On Wed, 28 Jul 2010 22:28:33 +0530, Piyush P Kurur <ppk at cse.iitk.ac.in>
> By the way I noticed in the mirror listing at
> http://www.archlinux.de/?page=MirrorStatus that our http mirrors
> response time is of the order of 6 seconds whereas our ftp server
> seems to be doing much better.  (0.52).

I probably should explain how this page works. Every hour a script
downloads our core.db (~35kb) and a file called lastsync from each
mirror. Our mainserver puts the current time into last one every hour.
This way we get a rough idea when the mirror had synced. I also time the
download of that small db file to measure the response time or speed.

So this response time shouldn't be taken too serious. Due to the small
file size http mostly wins over ftp because http server seem to be more
optimize for low response time. You can check that by comparing the
results of these commands:

time wget -q
ftp://mirror.cse.iitk.ac.in/archlinux/core/os/i686/core.db.tar.gz -O
time wget -q
http://mirror.cse.iitk.ac.in/archlinux/core/os/i686/core.db.tar.gz -O

Btw: You mirror is currently not listed on
http://www.archlinux.de/?page=MirrorStatus because it hasn't synced
within the last week. I have setup a page which displays more
information especially of outdated mirrors at
https://www.archlinux.de/?page=MirrorProblems There is also an error log
at the bottom of that page.



Pierre Schmitz, https://users.archlinux.de/~pierre

More information about the arch-mirrors mailing list