[erlang-questions] [ANN] locus: Geolocation and ASN lookup of IP addresses
Sun Dec 31 20:56:42 CET 2017
I'm pleased to announce the release of locus 1.0.0, a library that allows
you to pinpoint the country, city or ASN of IPv4 and IPv6 addresses, using
MaxMind's GeoLite2 databases.
The MaxMind databases you choose are downloaded on-demand, cached on the
filesystem and updated automatically.
* Overview: https://github.com/g-andrade/locus/blob/master/doc/README.md
* Hex.pm package: https://hex.pm/packages/locus
* API reference: https://github.com/g-andrade/locus/blob/master/doc/locus.md
* Source code: https://github.com/g-andrade/locus/
The databases are loaded into memory (mostly) as-is; reference counted
binaries are shared with the application callers using ETS tables, and the
original binary search tree is used to lookup addresses. The data for each
entry is decoded on the fly upon successful lookups.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions