Chris Hastie a écrit :
> On Fri, 10 Nov 2006, Guillaume Filion <[EMAIL PROTECTED]> wrote
>> Right now the prototype is using the HTTP Geo City Service from MaxMind
>> (http://www.maxmind.com/app/web_services_city_usage), so every DNS query
>> generates a HTTP query to MaxMind. I've implemented a caching mechanism
>> to reduce the number of HTTP queries, but in production this would need
>> to be improved.
> 
> I wonder if the "GeoLite" version would be sufficiently accurate, with 
> the advantage that you could hold the data locally and do away with the 
> HTTP queries?

That what I used at first, but when GeoLite doesn't find an accurate
result, it defaults to coordinates specific for the country
(http://www.maxmind.com/app/country_latlon). For example, for Canada, it
ends up at 60,-95 i.e.: the middle of the tundra.

To mitigate that problem, I set up a GeoLite "blacklist" with fail over
to hostip.info. However, the hostip.info data is so unreliable that it
didn't provide any real benefit.

Since switching to the paid-for version, I did not have a single error
caused by IP->lat/lon resolution.

Best,
GFK's
-- 
Guillaume Filion, ing. jr
Logidac Tech., Beaumont, Québec, Canada - http://logidac.com/
PGP Key and more: http://guillaume.filion.org/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers

Reply via email to