cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

Clarify smart placement and D1 bindings

Open brettwillis opened this issue 1 month ago • 0 comments

Existing documentation URL(s)

https://developers.cloudflare.com/workers/configuration/smart-placement/#d1

What changes are you suggesting?

The docs state:

Workers with a D1 binding will always be placed in a data center near the location of the D1 database they are bound to. Subrequests to other back-end services are ignored by Smart Placement in this case.

It is unclear if "always" in this case means always when Smart Placement is on or just plain always (with or without smart placement). Can you clarify if the worker is always colocated with the D1 binding regardless if smart placement is configured? Or is it only colocated with the D1 binding when smart placement is on?

Furthermore, does the "one percent (1%) of requests are not routed with Smart Placement" still apply when a D1 binding is forcing the placement?

Additional information

No response

brettwillis avatar Jun 03 '24 01:06 brettwillis