Help us shape the future of Go! Take the 2026 Go Developer Survey

ip_country_code_lookup_importer

command module
v0.0.0-...-e4326e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2019 License: AGPL-3.0 Imports: 10 Imported by: 0

README

IP Country Code lookup importer

This is a simple command line utility to import the SQLite Geo-IP database into PostgreSQL.

Created this because I need to do some bulk lookups (~3.5 million) on historical data in a PostgreSQL database. The code I was initially doing it with yesterday uses a mix of SQLite and PG calls, and isn't fast enough (~120/second maximum).

With both the historical data and the country code lookup data in PostgreSQL, it should be possible to try some approaches with a much faster throughput.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL