Home > Programming, Servers & Scripts >

Maxmind question (15)


04-23-2014 04:34 PM #1 itsjustbrian (Member)
Maxmind question

So if I want geoip scripts running on my landing pages (234 woman in Los Angeles, looking to fuck right now) do I need to pay for Maxmind?

I guess this is where I need to be? https://www.maxmind.com/en/city

Purchase Site License
Downloadable Database: $370 for site license, includes first month of updates. Updates are available for $90.

Web Service or Batch Lookup: $20 per 50,000 lookups. No software or databases to install.

Individual Continents: Available for individual continents starting at $200. More Information

Which one do I pick?!


04-23-2014 04:43 PM #2 caurmen (Administrator)

The paid databases are more accurate, but the free GeoLite database will also do city detection:

http://dev.maxmind.com/geoip/geoip2/geolite2/

See

http://stmforum.com/forum/showthread...our-Own-Server

for more details on using them.


04-23-2014 07:11 PM #3 panicore (Member)

1) In the US you could probably get away with the free version.
2) For europe the free version isn't great.
3) Webservice get's rather expensive when you run POP traffic or redirect traffic.


04-24-2014 01:45 AM #4 theboss (Member)

This project started with the free and has now built out a much better database. 10k per hour are free. If you need more than that let me know we can work something out.

https://freegeoip.net/


04-24-2014 03:06 AM #5 zeno (Administrator)

The problem with using something like freegeoip is that you are held up by the API request... what if my server is in Australia and the freegeoip one is in the US, and I need the country code from the IP to do a header redirect? I'd wait ~200 ms just for transit of data and if the lookup takes 50 ms thats now 1/4 of a second added... but with a local database were talking sub millisecond lookups.

External services make more sense if accessed by javascript since you can avoid these blocking page load, but then they are only useful for on page geo lookups e.g. to state a users city.


04-24-2014 03:53 AM #6 jordsmi (Member)

freegeoip just uses the maxmind lite database if I'm not mistaken.. You're better off just using it yourself without worrying about doing web api calls


04-24-2014 04:04 AM #7 theboss (Member)

Quote Originally Posted by zeno View Post
External services make more sense if accessed by javascript since you can avoid these blocking page load, but then they are only useful for on page geo lookups e.g. to state a users city.
That is what the OP is asking for.


04-24-2014 05:08 AM #8 davidwikes81 (Member)

Webservces can be much faster. If you don't know how how optimize database lookups.


04-24-2014 05:13 AM #9 davidwikes81 (Member)

Quote Originally Posted by zeno View Post
The problem with using something like freegeoip is that you are held up by the API request... what if my server is in Australia and the freegeoip one is in the US, and I need the country code from the IP to do a header redirect? I'd wait ~200 ms just for transit of data and if the lookup takes 50 ms thats now 1/4 of a second added... but with a local database were talking sub millisecond lookups.

External services make more sense if accessed by javascript since you can avoid these blocking page load, but then they are only useful for on page geo lookups e.g. to state a users city.
Unless, OP have server in every GEO Zone javascript API would be fastest of all.

It may not be as good for 301/302 redirects. But it will serve him best for "234 woman in Los Angeles, looking to fuck right now" .


04-24-2014 11:25 AM #10 caurmen (Administrator)

@theboss - interesting service! What's the latency on requests at your end, and where are your servers located?


04-24-2014 11:37 AM #11 zeno (Administrator)

Quote Originally Posted by davidwikes81 View Post
Unless, OP have server in every GEO Zone javascript API would be fastest of all.

It may not be as good for 301/302 redirects. But it will serve him best for "234 woman in Los Angeles, looking to fuck right now" .
I'm assuming the OP is hosting the lander on their server so the local DB lookup will be negligible in comparison to their page load time. Of course if they were hosting on a CDN for example a javascript service would be better that contacts geographically distributed servers.


05-02-2014 10:28 PM #12 itsjustbrian (Member)

Hey guys, i bought the premium databases, how the hell do I use this? My developer is clueless too, ugghghghghg. Frustration.


05-02-2014 10:41 PM #13 panicore (Member)

http://dev.maxmind.com/geoip/legacy/downloadable/

I'm using the apache module since it's rather easy to setup and you need less scripts on your landingpage.


05-03-2014 05:39 AM #14 zeno (Administrator)

Quote Originally Posted by itsjustbrian View Post
Hey guys, i bought the premium databases, how the hell do I use this? My developer is clueless too, ugghghghghg. Frustration.
Which database - GeoIP2? (those files are mmdb I think, whereas old GeoIP = dat files).

What kind of scripting langauge do you want to use to interact with the databases? PHP? Ruby? I presume you want to use PHP for calling out user location on your lander.

In that case check out Caurmens guide on installing and using those databases - http://stmforum.com/forum/showthread...our-Own-Server


05-03-2014 06:50 AM #15 richierich (Member)

If you can't afford that database. Use my version:

http://stmforum.com/forum/showthread...native-for-STM

We use it with our landing pages and its auto updated whenever new DB is available. I can't afford it for every domain i use. So, i deployed it on 1 central service. I hope it helps you. Let me know if you have any questions regarding that.


Home > Programming, Servers & Scripts >