[gentoo-user] Re: which mirror does emerge --sync chose? and why?

2007-01-01 Thread Sven Köhler
 I do not understand/know how the choice of mirrors work either.  I
 noticed that when I rsync from home I always hit the same mirror
 (first time).  When I rsync from work (using the same laptop) I
 always hit a different specific mirror (again first time).
 it's not portage!
 it's rsync!!!

 execute rsync rsync.gentoo.org:: for a few times. I always see the
 banner message of owl.gentoo.org, and no other.

 That is STRANGE!
 
 i think it's not strange at all.  i'm sure rsync uses mechanisms to find
 the closest server, and it's no surprise that this would be the same all
 the time, and different from the point of view of different networks.

Then, rsync behaves kind of stupid, because if rsync always uses the
same server, and the server doesn't work, then the sync will not work.

But rsync could chose a different server, well, the second-best server,
if the best server has failed. But it didn't do that :-(

Well, but any discussion about that would be off-topic.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: which mirror does emerge --sync chose? and why?

2006-12-27 Thread Neil Bothwick
On Tue, 26 Dec 2006 23:50:14 +0100, Sven Köhler wrote:

 execute rsync rsync.gentoo.org:: for a few times. I always see the
 banner message of owl.gentoo.org, and no other.
 
 That is STRANGE!

The resolver is caching the result of looking up rsync.gentoo.org. Until
that expires, which depends on the TTL setting on the DNS server, you
will always get the same IP address for rsync.gentoo.org.


-- 
Neil Bothwick

Captain, I believe there's an energy source in the liver of the cloud.


signature.asc
Description: PGP signature


[gentoo-user] Re: which mirror does emerge --sync chose? and why?

2006-12-26 Thread Sven Köhler
 I do not understand/know how the choice of mirrors work either.  I noticed 
 that when I rsync from home I always hit the same mirror (first time).  When 
 I rsync from work (using the same laptop) I always hit a different specific 
 mirror (again first time).

it's not portage!
it's rsync!!!

execute rsync rsync.gentoo.org:: for a few times. I always see the
banner message of owl.gentoo.org, and no other.

That is STRANGE!




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: which mirror does emerge --sync chose? and why?

2006-12-26 Thread Dan
On Tue, 26 Dec 2006 23:50:14 +0100
Sven Köhler [EMAIL PROTECTED] wrote:

  I do not understand/know how the choice of mirrors work either.  I
  noticed that when I rsync from home I always hit the same mirror
  (first time).  When I rsync from work (using the same laptop) I
  always hit a different specific mirror (again first time).
 
 it's not portage!
 it's rsync!!!
 
 execute rsync rsync.gentoo.org:: for a few times. I always see the
 banner message of owl.gentoo.org, and no other.
 
 That is STRANGE!
 
 


i think it's not strange at all.  i'm sure rsync uses mechanisms to find
the closest server, and it's no surprise that this would be the same all
the time, and different from the point of view of different networks.

-- 
gentoo-user@gentoo.org mailing list