Edge computing patterns: compute at PoPs (Cloudflare Workers V8 isolates, Vercel Edge, Lambda@Edge, Fastly Compute@Edge WASM, Deno Deploy). Three scenarios: edge auth (verify JWT before forwarding), A/B routing with sticky cookie, image resize on demand. Three ADRs cover edge-vs-origin compute, V8 isolates vs WASM vs containers, and KV at edge vs origin DB.
An edge runtime can reduce the client-to-compute leg. It cannot repeal network distance to authoritative data, make every store globally writable, or promise a fixed latency. Routing, cold state, queueing, storage location and provider limits all affect observed percentiles.
Cloudflare Workers isolates can handle interleaved requests, may be evicted, and are not guaranteed to receive the next request for a user. Global mutable variables are therefore neither durable storage nor a synchronization primitive. Use a named durable coordinator or transactional store for shared effects and stable operation IDs for ambiguous retry.
No scenario references an implicit or nonexistent regional node: every runtime target and hop is present in the topology.
Введите числа или выберите пресет