4 ms·
If anyone wants something similar I built a version of this a few weeks ago: https://github.com/contrast/geoip_sinatra https://github.com/contrast/geoip_sinatra
by leecn 15y ago
If anyone wants something similar I built a version of this a few weeks ago: https://github.com/contrast/geoip_sinatra https://github.com/contrast/geoip_sinatra
It's a sinatra app which uses the MaxMind data, typically responds in < 1ms, and it has caching built in (if you deploy it to heroku).