new idea for lunar - auto selecting download mirror using country codes

Zbigniew Łuszpiński zbiggy at o2.pl
Fri Jul 22 00:44:05 UTC 2005


> Zbigniew Luszpinski wrote:
> >>The only change I propose is to try local mirrors first and next use the
> >> rest.
>
> This could be written in a plugin I suppose. The problem with this
> reasoning is that the mirrors need to be known first (for all modules)
> and then tested (which one is closer, or faster, or something else).
>
> This is a programming nightmare, without a good solution possible.
> Simplicity wins easily, and that's how the system works now.

I thought about country selection only.

> >Yes. But it could start with local or neighbour one. I see many German
> > urls in modules, but US urls are placed first so do not have possibility
> > to use those closer and faster urls. There is nothing wrong with US
> > servers but they are far away.
>
> that's because the MAIN mirror site is in the US most of the time. It
> also completely doesn't matter how "far" away a mirror is. What does
> matter is the bandwidth between you and the server, which is why we pick
> the servers according to reliability and speed (and reliability is more
> important).
>
> Remember that a polish mirror from the US will be slower than a US
> mirror from Poland.

That is why I'm talking about country selected mirror - to stop wasting 
international connections.

> >>If you want to *add* more mirrors yourself just create
> >>/etc/lunar/mirrors/CUSTOM/ and put more mirrors in there, or even
> >
> >Could you drop me example file via e-mail. I couldn't find any SDK on
> > lunar website.
>
> that was a typo, it should read:
>
> "If you want to *add* more mirrors yourself just create
> /etc/lunar/mirrors/CUSTOM and put more mirrors in there"

Now understand.

> >>BTW that mirror you gave me says '530 too many users'... not really
> >> useful
> >
> >... for people connecting outside Poland. This is local mirror, foreigners
> >have ultra low priority. They can connect when almost nobody uses it. But
> >this never happen. Thanks to such traffic filtration server is very fast.
>
> unfortunately we care more about "everyone" then "polish users only". We
> also think that the mirrors we provide should work for everyone ...

Most of them work. But smart localization (mirrors, translations) could make 
lunar more user friendly.

> sofar

zbiggy


More information about the Lunar mailing list