Hi everyone, just here to share my small module I use and hope someone likes it.
Geo based redirect module provides a latency-aware alternative to traditional latency-based DNS routing. It works by calculating the geographical distance between the client’s IP address and a list of target domain IPs. It then redirects the client to the closest server, minimizing network latency and improving user experience.
Features:
-
From a pool of domains, redirect users to the one with the closest geographical location to minimize latency
-
For each domain it periodically check’s if DNS A record changed
-
For each domain it periodically check’s health, slower service is better then dead service
-
Ability to periodically sync geo ip database
-
Designed with performance in mind, it caches everything it can
I personally use it for my blog website.