How do Cloudflare Load Balancing's traffic steering policies (Off, Random, Geo, Dynamic, Proximity, Least Outstanding Requests) pick a pool, and what does endpoint steering add?
answer
- global steering picks the pool
- local steering picks the endpoint
- RTT from health probes
- geo failover stays in its region
- pool sets for API routing
basics
~20 sGlobal steering picks a pool: by order (Off), weighted chance (Random), the client's region or country (Geo), probe latency (Dynamic), GPS distance (Proximity) or in-flight requests (Least Outstanding Requests). Endpoint steering then picks an endpoint inside it: Random, Hash or Least Outstanding Requests.
solid answer
~40 sCloudflare steers twice. The load balancer's **traffic steering** policy picks a healthy pool: **Off** uses pool order; **Random** picks by `random_steering` pool weights; **Geo** maps regions, countries or (Enterprise, API only) data centers to ordered pool lists; **Dynamic** picks the pool with the lowest EWMA of round-trip time measured by health probes, so the monitor must probe from all regions; **Proximity** picks the nearest pool by the GPS coordinates you set on every pool; **Least Outstanding Requests** weights pools down by in-flight requests. Off and Random are the only policies for non-Enterprise accounts that have not bought Traffic steering. Each pool's **endpoint steering** then picks an endpoint: **Random** by weight, **Hash** by client IP, or **Least Outstanding Requests**. As of October 2026, new API-managed location routing is meant to use **pool sets**.
go deeper
Know that a load balancer picks a pool and the pool picks an endpoint, and name Off and Random as the standard policies.
Explain what data each global policy uses, how weights translate into shares, and how Random, Hash and Least Outstanding Requests differ inside a pool.
Show the traps: Geo failing over to the global fallback, Dynamic steering without RTT data, Proximity missing coordinates, affinity overriding weights.
Weigh latency, geography and capacity for the team's sites, and decide when location routing moves to API-managed pool sets.
## Two decisions per request When a request reaches a Cloudflare load balancer, it is routed by two separate policies: 1. **Global traffic steering**, set on the load balancer, chooses one of the attached, healthy pools. 2. **Local traffic steering** (endpoint steering), set on each pool, chooses one endpoint inside the chosen pool. Both run only over what health allows: unhealthy pools and endpoints are removed first, and the same policies redistribute traffic when something fails. **Session affinity**, when enabled, takes precedence over weights and endpoint steering for clients that already hold a session. ## The global policies | Policy (API value) | How it picks a pool | Needs | |---|---|---| | **Off - Failover** (`off`) | first healthy pool in list order | nothing extra | | **Random** (`random`) | random healthy pool, weighted by `random_steering.pool_weights` and `default_weight` | optional pool weights, set through the API | | **Geo** (`geo`) | the pool list mapped to the client's region, country or Cloudflare data center, in failover order | `region_pools`, `country_pools`, `pop_pools` (data centers: Enterprise, API only) | | **Dynamic** (`dynamic_latency`) | the pool with the lowest exponentially weighted moving average (EWMA) of probe round-trip time for that region or data center | monitors probing from **All Regions** (or All Data Centers) | | **Proximity** (`proximity`) | the physically closest pool | latitude and longitude on every pool | | **Least Outstanding Requests** (`least_outstanding_requests`) | random by weight, with pools that have more in-flight requests weighted proportionately less | a proxied load balancer to be meaningful | **Plans.** Off and Random are the *standard* policies and the only ones available to non-Enterprise accounts that have not purchased **Traffic steering**. ## Details that change the outcome - **Dynamic steering learns from health probes.** Round-trip times are recorded on each probe. When there is no current data for a pool in a region, Cloudflare falls back to failover order, and a pool newly put on Dynamic steering needs about ten minutes to build its profile. With TCP monitors the measured latency can mislead when TCP terminates at a cloud provider's edge. - **Geo steering maps locations to ordered pool lists.** A country not mapped falls back to its region's mapping, then to the default pools; a data center falls back to its country, then its region. On a DNS-only load balancer the client's region is the region of the Cloudflare data center answering its DNS query. - **Geo failover stays inside the location.** With **Failover across pools**, a region's request only fails over to pools listed for that region. If North America's only pool goes down, North American traffic goes to the **global fallback pool**, not to the European pool. To fail over across regions, add the other region's pool to each region's list. - **Proximity needs coordinates everywhere.** A pool without GPS coordinates makes the distance comparison unreliable. - **Least Outstanding Requests suits pools that are easily overwhelmed by bursts of concurrent requests.** It also respects pool health, adaptive routing and session affinity. ## Endpoint steering inside a pool | Policy | How it picks an endpoint | |---|---| | **Random** | purely by endpoint weight; accurate shares, but one client IP may hit different endpoints | | **Hash** | by client IP combined with weights; one IP keeps hitting one endpoint, shares may drift from the weights | | **Least Outstanding Requests** | by weight, discounting endpoints with more in-flight requests | Weights run from 0 to 1 and the share is weight divided by the sum of weights. With weights 0.25, 0.25 and 0.50, losing the 0.50 endpoint leaves the other two at 50% each. The shares only converge with a lot of traffic. ## Pool sets for location-specific routing Since 31 August 2026, the API also offers **pool sets**: an ordered array on the load balancer, evaluated first-match, where each entry matches a `topology` (`pops`, `countries`, `regions`) or `default: true` and then supplies its own pools, steering policy, pool weights and fallback pool. That combines geography with another policy, for instance Dynamic steering only among European pools. Inside a pool set you can also use `least_connections`, and for proxied traffic a pool set can return a fixed response. The docs keep Geo steering for simple, dashboard-managed geographic failover and recommend pool sets for new API-managed location routing. ## Choosing for an API in two regions and on premises - **Off** with `cloud-east`, `cloud-west`, `onprem-dc` gives active-passive: one region serves, the others wait. - **Geo** pins Europe to `cloud-west` and North America to `cloud-east`. Give each region a second pool so failover does not drop to the fallback pool. - **Dynamic** lets measured latency choose between the cloud regions. - **Least Outstanding Requests** protects the smaller on-premises site from bursts it cannot absorb.
- Why can Geo steering send North American users to the fallback pool rather than to a healthy European pool?Geo steering evaluates only the pools mapped to the client's location, in their failover order. Failover across pools stays within that grouping, so when North America's only pool goes down, traffic goes to the global fallback pool. Listing the European pool second under each North American region, or using a pool set with its own fallback pool, gives real cross-region failover.
- Why does Dynamic steering need the monitor to probe from All Regions?Dynamic steering ranks pools by an EWMA of round-trip times that health probes measure from each region. A region that never probes a pool has no latency data for it, and without data Cloudflare reverts to failover order there. Probing from All Regions, or All Data Centers on Enterprise, gives every region a profile to rank.
- Dynamic steering measures latency from real user requests
- Geo steering automatically fails over to another region's pool
- Every steering policy is available on every plan with Load Balancing
- Hash steering gives exact weight percentages per endpoint
- Proximity steering works without coordinates on the pools
Assumes Cloudflare Load Balancing as of 2026-10-10; pool sets arrived through the API on 2026-08-31 and are now the recommended way to define new API-managed location routing.