Smart Placement and Service Bindings
Is it possible to have a Worker that is edge-based/doesn't use Smart Placement that has a service binding to another worker that does use Smart Placement? Or do service bindings explicitly work on workers that are within the same datacenter/in the same "application space"?
(please dont ask the use case - it is sure to sound stupid, but makes sense to me).
2 Replies
Yes, this is possible and in fact a recommended application structure:
https://developers.cloudflare.com/workers/configuration/smart-placement/#best-practices
Smart Placement (beta) · Cloudflare Workers docs
Speed up your Worker application by automatically placing your workloads in an optimal location that minimizes latency.
I don't know how I didn't notice that. Thanks!