Smart Placement Not Working

We are hosting our database in us-east-1 (aws via Planetscale) and are trying to run our backend on Cloudflare Workers. Even though our worker is configured with smart placement and has received ~13k requests over the past few hours, smart placement still does not seem to be triggering, resulting in horrendously slow response times from the west coast (~3s for 10 serial DB calls within the worker)
curl -X GET https://api.cloudflare.com/client/v4/accounts/0aa01c659fc5341ca4bd310ea9482c22/workers/services/canofsoup/canofsoup-eric-graphqlapiscript-vedrhrzz/production \
-H "Content-Type: application/json" | jq .
curl -X GET https://api.cloudflare.com/client/v4/accounts/0aa01c659fc5341ca4bd310ea9482c22/workers/services/canofsoup/canofsoup-eric-graphqlapiscript-vedrhrzz/production \
-H "Content-Type: application/json" | jq .
{
"result": {
...
"placement_mode": "smart",
"placement_status": "INSUFFICIENT_INVOCATIONS",
"placement": {
"mode": "smart",
"status": "INSUFFICIENT_INVOCATIONS"
},
"last_deployed_from": "api",
"compatibility_date": "2024-09-23",
"compatibility_flags": [
"nodejs_compat"
],
"usage_model": "standard"
...
},
}
{
"result": {
...
"placement_mode": "smart",
"placement_status": "INSUFFICIENT_INVOCATIONS",
"placement": {
"mode": "smart",
"status": "INSUFFICIENT_INVOCATIONS"
},
"last_deployed_from": "api",
"compatibility_date": "2024-09-23",
"compatibility_flags": [
"nodejs_compat"
],
"usage_model": "standard"
...
},
}
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?