Deep DivesAugust 5, 2026·10 min read

7 Cloudflare Worker Routing Strategies Explained

Complete guide to all 7 strategies. When to use each.

1. Round Robin

Equal distribution. Stateless APIs, equal servers.

2. Weighted Round Robin

Proportional by weight. Mixed capacities, rollouts.

3. IP Hash

Consistent by IP. Cache warming, no cookies.

4. Sticky Sessions

Cookie-based. Shopping carts, logins.

5. Weighted Sticky

Capacity + persistence. Stateful + mixed.

6. Failover

Primary → backup. DR, HA.

7. Geo-Steering

By location. GDPR, latency.

Quick Guide

SituationStrategy
|-----------|----------|

Stateless, equalRound Robin
Different capacityWeighted
No cookiesIP Hash
Shopping cartSticky
Primary + backupFailover
Global usersGeo-steering

#routing strategies#cloudflare workers

Ready to try it?

Deploy your first load balancer in 90 seconds. Free under 100k requests/day.

Start free →