cloudflare / foundations

Cloudflare's Rust service foundations library.
https://blog.cloudflare.com/introducing-foundations-our-open-source-rust-service-foundation-library
BSD 3-Clause "New" or "Revised" License
1.3k stars 55 forks source link

feature: Simplify maxminddb usage #45

Closed agrover closed 5 months ago

agrover commented 5 months ago

Although the maxminddb crate handles most details, there is additional complexity with using Maxmind for IP->location lookups because it's implemented as a flat-file database that gets updated regularly, and unless the service restarts then it keeps using the old version. It would be nice if Foundations could handle this, on behalf of the service.

inikulin commented 5 months ago

@agrover I'm confused, what maxminddb has to do with foundations and what kind of support you expect?