Smart Placement speeds up applications by moving code close to your backend — no config needed
May 16, 2023Michael Hart, Serena Shah-Simpson, Tanushree Sharma

Summary
Introduces Smart Placement for Cloudflare Workers and Pages Functions, an automatic feature that optimizes compute resource location based on backend service latency. This addresses the trade-off between bringing compute close to the user versus close to backend resources, particularly for stateful applications interacting with centralized external services. The feature analyzes real-time fetch requests and compares them to network latency data to invoke Workers from optimal data centers, improving application performance by up to 4-8x in tested scenarios. It excludes globally distributed services and analytics/logging requests from optimization.