IpLookups is a Scala wrapper around MaxMind's own DatabaseReader Java class.
IpLookups is a Scala wrapper around MaxMind's own DatabaseReader Java class.
Two main differences:
1. getLocation(ipS: String) now returns an IpLocation
case class, not a raw MaxMind Location
2. IpLookups introduces an LRU cache to improve
lookup performance
IpLookups is a Scala wrapper around MaxMind's own DatabaseReader Java class.
Two main differences:
1. getLocation(ipS: String) now returns an IpLocation case class, not a raw MaxMind Location 2. IpLookups introduces an LRU cache to improve lookup performance
Inspired by: https://github.com/jt6211/hadoop-dns-mining/blob/master/src/main/java/io/covert/dns/geo/IpLookups.java