Over-utilized or geographically distant servers add unnecessary latency and degrade the visitor experience. In many cases, unreliable or misconfigured servers drop visitor requests completely, preventing access to websites, web apps or APIs. Poor visitor experiences like these have a direct impact on revenue, reputation, and customer loyalty.
Expanding on Cloudflare’s highly available DNS infrastructure and global Anycast network, Cloudflare Load Balancing addresses these issues by providing:
Cloudflare's Load Balancing automatically reduces latency by directing visitors to infrastructure closest to them: send European customers to the London datacenter, Australian customers to the Sydney datacenter, and anywhere in-between. Load Balancing builds on top of Cloudflare’s Anycast network, allowing for quick delivery of static assets through Cloudflare's CDN, and reducing latency for dynamic requests by keeping visitors close to your infrastructure.
Cloudflare’s global Load balancing operates at the DNS-level and supports any protocol: from HTTP(S) through to TCP and UDP -based services. This allows for usage with existing services or in conjunction with other cloud providers, be it compute, storage, or any combination thereof.
Cloudflare Load Balancing includes active availability monitoring that checks the health of servers from Cloudflare’s datacenters around the globe. Through periodic HTTP/HTTPS requests, monitoring can be configured for specific URLs with customizable intervals, timeouts, and status codes. Availability monitoring checks the health of origin servers as often as every 15 seconds, with reporting via email notifications and a REST API. Seconds after an origin server is marked as unhealthy, multi-region failover intelligently routes traffic to the next available server.
Cloudflare Load Balancing is powered by Cloudflare's DDoS-resilient DNS, one of the fastest DNS providers globally. When used alongside Cloudflare's reverse proxy, Cloudflare DNS changes propagate orders of magnitude faster than public DNS services since Cloudflare can avoid waiting for public time-to-lives (TTLs) to expire.