Skip to content

configuration: provide a way to disable GeoIP #11

@notABot101010

Description

@notABot101010

The GeoIP feature is not free in term of performance, it loads the geoip database in memory (around 50MB, depending on your database) and adds a few microseconds (or nanoseconds for cached results) per request for the lookup.

While I think it's important to provide this feature enabled by default to make Pingoo easy to use, we may need to provide a way for advanced users to disable it.

Something like:

geoip:
  enabled: false

If someone has a better / more ergonomic idea, please let me know

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions