Question

Should I use CloudFlare Load Balancer or DigitalOcean Load Balancer?

Posted May 21, 2018 7.9k views
Load Balancing

Is it better for the load balancer to be next to droplets in DigitalOcean or to CloudFlare (which manages the DNS of my domain)?

1 comment
  • @ryanpq If say I’m using DO Load Balancer, where is the Load Balancer server located at? India or Singapore or US.

    What’s the avg ping for say a Singapore User vs India User connecting to the load balancer? Is it somewhat magically optimized (for the first connection / TTFB)

    @calza , I feel Cloudflare is good for free but when you start using the features, the bill piles up pretty quickly. you suddenly get charged for all your free usage.

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.

×
3 answers

These two products provide some differing features:

DO Load Balancer:

  • Allows you to balance requests between multiple droplets
  • All traffic between the load balancer and your droplets is done over the private network where traffic is unmetered
  • Provides a fixed $20/month cost
  • Built in SSL (LetsEncrypt)
  • Does not include a CDN (site is available from a single region)

CloudFlare:

  • Provides a CDN (site is available from multiple regions)
  • Balances load between servers over the public network
  • Built in SSL
  • Bills separately from your droplets based on features and # of DNS requests.

Both services provide good features for their price points so you will want to decide which way to go based on which features are most important for your use case.

You may also want to consider AWS Load Balancers. They have a free tier. (http://aws.amazon.com)

AWS is really expensive as ** , free tier or not the data migration is a waste of time and effort. Furthermore, AWS Free Tier has its limit.

The last thing you want is your website to go offline during migration isn’t it.

Submit an Answer