Question

Can I load balance according to region/geoip?

Posted January 17, 2020 493 views
WordPressLoad Balancing

I have a Wordpress site in a droplet in the Frankfurt data centre. A lot of our traffic however comes from the USA.

The response time to EU origin visitors is great, but the response time and even Google speed metrics (affecting our ranking) is poor.

Is it possible to direct US traffic to a US based droplet and EU traffic to the EU droplet while keeping the database(s) in sync? In fact, what would be the best configuration for my needs? I do not think that a CDN would be that effective as my Wordpress site and associated plugins seem to be database/memory bound and the content appears to be dynamic, not cacheable.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

I don’t think that this is yet possible, I would recommend checking the answer here provided by jtittle1:

https://www.digitalocean.com/community/questions/can-i-use-the-do-load-balancer-solution-to-route-based-on-region

Another thing that you could try doing is having multiple domains for example yourdomain.com and yourdomain.de, and point the .com domain name to the Droplet based in the USA and the .de domain to the Droplet based in Germany.

Maybe consider using Cloud Flare for example, as least it would offload some of the traffic from your Droplets.

Submit an Answer