Posted by todsacerdoti 10/27/2024
But if that is used for individual IPs, without worrying about blocks they belong to, probably won't get big gains in that area.
[0] https://news.ycombinator.com/item?id=3015246
[1] https://github.com/openbsd/src/blob/2bd42e97200bee/sys/net/a...
ExecStartPre=/usr/bin/restic unlock
ExecStart=/usr/bin/restic backup
You just have to make sure that the type of Service used is correct, so that Systemd can track whether Restic has actually stopped running.
Go has an excellent standard library, but the solutions in there rarely compete with others writing a dedicated library to solve a hard problem they really had to solve.
I work for IPinfo and was quite excited when they added support for the IP address data type. However, at the end of the day, the most efficient lookup mechanism has to be the MMDB database. Rather doing the enrichment of IP addresses inside of DuckDB, the better solution was doing an enrichment outside of DuckDB using the MMDB database, dump it on a csv and inserting the CSV in DuckDB as a table.
See the top comment of the thread for more context around MMDB.
Also, I love ipinfo excellent service! We use it all the time at work.
The best approach might be to enrich IP addresses via an MMDB database, then dump the results in temp table and query the results as you would any table. If you haven't tried the free db, you should as this illustrate this point pretty well: https://ipinfo.io/products/free-ip-database
It’s great to hear that you’re using our service! Please feel free to reach out anytime if you have any queries/feedback. This thread alone contains comments from 2 IPinfo engineers and me!