This chapter connects system-on-chip (SoC) realities—caches, cores, interconnects—to Cloudflare’s edge model, so you can reason from cycles and cache lines up to packets and serverless workloads.

Hardware execution context at the edge

Chip Architect Note: Treat each Worker invocation as a short-lived compute kernel sensitive to code size, branch predictability, and memory locality. Smaller bundles and fewer dependencies yield better i-cache behavior.

Network path and queuing

Chip Architect Note: Think of PoPs as NUMA domains across the Internet. Keep state sharded (KV/D1) and leverage cache-control to avoid needless recompute at distant PoPs.

Data movement economics

Chip Architect Note: Optimize for fewer bytes moved. Compress text (Brotli), cache aggressively with immutable assets, and precompute frequently used responses.

← All chapters