Skip to content

Restore targeted placement to aws:us-east-1 - #1704

Merged
RhysSullivan merged 1 commit into
mainfrom
restore-placement
Aug 20, 2026
Merged

Restore targeted placement to aws:us-east-1#1704
RhysSullivan merged 1 commit into
mainfrom
restore-placement

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

Reverts the wrangler config change from #1693.

Since that deploy (2026-08-19 15:07 UTC), per-deploy p50 keyed on executor.commit_sha:

span d89c733 (before) f08e84d (after)
user_store.getOrganization 14ms 297ms
workos.userManagement.listOrganizationMemberships 50ms 110-234ms
mcp.auth.authorize_organization 89ms 400-724ms
workos.session.local_verify 2482ms 0ms

user_store.* is Drizzle to Postgres over the HYPERDRIVE binding, and the placement pin existed since #420 specifically to co-locate the Worker with it, so the DB-side regression has a clear mechanism. The JWKS side moved the other way in the same window but is confounded by #1696 and #1697 landing within hours.

Restoring the pin to measure the two effects independently. If the JWKS stall returns with it, that isolates the trade-off and points at fixing the JWKS cache directly rather than paying for it with placement.

Reverts the wrangler config change from #1693. Since that deploy user_store.getOrganization went from ~12ms to ~300ms p50 and mcp.auth.authorize_organization from ~70ms to ~400-700ms, which is the Worker no longer sharing a region with Hyperdrive.
@RhysSullivan
RhysSullivan merged commit 9a38ab4 into main Aug 20, 2026
37 checks passed
@RhysSullivan
RhysSullivan deleted the restore-placement branch August 20, 2026 15:35
@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant