plan-player-analytics / Plan

Player Analytics plugin for Minecraft Server platforms - View player activity of your server with ease. :calendar:

Home Page:https://www.spigotmc.org/resources/plan-player-analytics.32536/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reduce MaxMind downloads

AuroraLS3 opened this issue · comments

I would like to be able to..

Use HEAD requests to reduce MaxMind database downloads

Is your feature request related to a problem? Please describe.

MaxMind is reducing daily download counts to 30.

Related email:

Hello,

We are decreasing the daily download limit for GeoLite accounts, according to the schedule below:

Date of update New download limit

  • Thursday, February 15, 2024 1000
  • Thursday, February 22, 2024 500
  • Thursday, February 29, 2024 250
  • Thursday, March 7, 2024 120
  • Thursday, March 14, 2024 60
  • Thursday, March 21, 2024 30

Currently, we estimate that you download an average of 456 times per day. Please note, HEAD requests checking if there is a new database to download do not count towards the daily download limit or this estimate.

We recommend reviewing the schedule and adjusting how you download and distribute GeoLite databases by downloading them fewer times and then propagating them across your network yourself.

You can review your download history on your account (here's an article on how to access your download history) or review your usage logs (here's an article on how to access the Query Usage Report). Reviewing this documentation may help identify which machine or license key may be responsible for the majority of daily downloads.

Alternatively, you can purchase MaxMind GeoIP® databases, which have a daily download limit of 2,000 downloads in a 24-hour period, or API web services.

No further decreases are planned for the daily download limit.

LinkedIn
X
MaxMind, Inc., 51 Pleasant Street #1020, Malden, MA, 02148, USA

© 2024 MaxMind, Inc. MaxMind, GeoIP, minFraud, and related trademarks belong to MaxMind, Inc."

Proposed solution:

  • HEAD request is taken into use for checking if downloading is required https://dev.maxmind.com/geoip/updating-databases
  • A server is written that downloads the geoip database when requested, and then serves that as needed, also using the HEAD request to check if newer is available. This can reduce downloads to 30 per day.
    • Plan identifies itself to the server using a signing key
    • Server identifies itself to Plan using a signing key
    • This prevents most of misuse of this server, or hostile takeover of the domain causing issues
  • Plan is changed to download the database from that address
  • Address is configurable for future proofing. This also allows anyone to use their own maxmind license if they wish to do so.