On 4/17/06, Guillaume Filion <[EMAIL PROTECTED]> wrote:
> MaxMind provides a free IP->City database
> http://www.maxmind.com/app/geolitecity
> The actual latitude/longitude is, according to Google Maps:
> 46.786632/-71.280305. That's a pretty good match.
>
I tested the a few IPs with known locations, and it seems the MaxMind
data is much more accurate than hostip.info. If their free version is
"free enough" for this project, basing a resolver on that should work
well. It would make choosing the correct country zone almost automatic
at the very least.
Obviously, the "best" way to use the geolocation information would be
to use the estimated latitude & longitude of the soruce IP and
caclulate a great-circle route from the querying host to each of the
servers in the pool. Of course, that's computationally expensive (six
trigonometric FLOPS per comparison), and probably overkill considering
the location data is quite fuzzy.
Do you think a simpler calculation would work well enough to sort
hundreds of servers by "closeness"? Is this even feasible for every
DNS lookup? How many queries do the pool DNS servers get per second?
Regards,
--
RPM
=========================
All problems can be solved by diplomacy, but violence and treachery
are equally effective, and more fun.
-Anonymous
_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers