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 reduces latency by load balancing traffic across multiple servers and routing traffic to the closest geolocation region. While Cloudflare’s Anycast-based Content Delivery Network (CDN) distributes static content across all of Cloudflare’s 102 global datacenter for fast local access, global load balancing provides additional control especially for dynamic content. With global load balancing, dynamic content is served in the same geographic region, ensuring a stellar end user experience through fast local access. Both TCP and UDP traffic can easily be configured to utilize geolocation based routing with regional granularity through the Cloudflare dashboard or APIs.
Cloudflare helps customers gain visibility into the availability of services to rapidly route traffic to only healthy servers. 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 has the ability to check the health of origin servers as often as every 15 seconds, with reporting via email notifications and a REST API. Seconds after a server is marked as unhealthy, multi-region failover intelligently routes traffic to an available server.
Cloudflare Load Balancing is powered by Cloudflare DNS, which is the fastest DNS provider globally. 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.