Rails 2.3 的良好独立 GeoIP 解决方案是什么?

发布于 2024-10-02 04:38:15 字数 195 浏览 0 评论 0原文

我们目前正在使用 geokit 来确定用户的原籍国,但我们担心我们将要生成的查询。由于我们的大多数访问者都是一次性的,因此仅缓存结果是不够的;还需要缓存结果。我们需要有自己的查找表的东西。是否有一个我们可以经常提取的免费数据库?还是有我们没有考虑过的替代方案?

We're currently using geokit to determine our users' countries of origin, but we're concerned about the volumens of queries we're going to generate. Since most of our visitors are one-offs, just caching the results isn't sufficient; we need something with its own look-up table. Is there a freely available database we can pull from every so often? Or is there an alternative we haven't considered?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

韬韬不绝 2024-10-09 04:38:15

看到这个问题后,我们选择了MaxMind GeoLite Country 其中有一个免费的 IP 到国家地图,可以 CSV 格式下载。显然,它对 AOL 用户来说存在一些问题,但到目前为止,它已经足够满足我们的目的了。

After seeing this question we went with MaxMind GeoLite Country which has a free IP-to-country map downloadable in CSV format. Apparently it has some issues with AOL users but it's been good enough for our purposes so far.

我为君王 2024-10-09 04:38:15

您是否考虑过 Geonames

Have you considered Geonames ?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文