data-skeptic / dataskeptic.com

Source code for dataskeptic.com
https://dataskeptic.com
14 stars 5 forks source link

Reduce the use of ipinfo.io #460

Closed kylepolich closed 6 years ago

kylepolich commented 6 years ago

In server.jsx you will see that we use ipinfo.io to get data on users. Right now, this is called on every server call, which is too much. Please store this information somehow (user cookie?). If the data can be retrieved without calling ipinfo.io, then use the stored version.

m-cameron commented 6 years ago

Remote API is slow due to network latency. It easily add up additional 100ms per call and does not scale up very well.

Is it possible to use a local geolocation database such as IP2Location LITE?