Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8950421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:27:07+00:00 2026-06-15T13:27:07+00:00

Trying to decide the best solution for GeoIP look ups. The options seem to

  • 0

Trying to decide the best solution for GeoIP look ups.

The options seem to be:
1. Download a premium database and do lookups
2. Download a free database and do lookups
3. Hit a free web API
4. Hit a paid web API.

We are going to have to do this on user log in, so it will happen frequently.

An important question whether IP address locations change, and if so, how often. For example, we could build our own database out of a free web API, storing every IP location it returns us, but that would only be feasible if they are relatively persistent.

Also, the paid database we’re looking at updates once per month, which, depending on if/how often these change, may not be enough.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T13:27:08+00:00Added an answer on June 15, 2026 at 1:27 pm

    There’s no guarantee on how persistent IPs are for a certain location. There are actually companies which act as brokers for IPv4 addresses since we’re starting to run low on them. The 18.0.0.0/8 that MIT owns has probably been in one place for 30 years. Others have probably moved around a lot more.

    As far as maintaining a local cache of addresses from some kind of web API I’d reccommend against it. If you do a 1:1 IP->lat/long table then you’re talking a total of 2^32 entries at say 50 bytes each = 200GB. Obviously these could be compressed into subnets and such but now you’re starting to do the work that the GeoIP companies are very good at and have a significant head start. The free IP->Country database that ships with Debian is only 5MB installed on my machine.

    From a programmer productivity standpoint it’s going to be difficult to beat a downloadable database with a client side library for speed and reliability.

    MaxMind has free databases for IP->Country and IP->City but you have to put a notice on your website/product like “This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com” That’s more of a business decision than a technical one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Intro I am trying to decide how best to set up my database schema
I'm trying to decide on the best strategy for accessing the database. I understand
I'm trying to decide the best way of having radiobuttons switch around the contents
I'm trying to decide on the best way to customize an initializer for UIView
I am trying to decide on which approach to take in a database I
I am trying to decide the best way to structure some code. I will
I'm trying to decide the best way to provide templates for a bunch of
I'm trying to decide the best approach to implementing the majority of CSS styles
Trying to decide on the best element to use for a grid view, pretty
I am trying to decide on the best approach to the following problem: I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.