All demos / D1 ยท KV ยท Workers

The problem

Users in Asia and LatAm wait 700ms just to log in.

"Our Bangkok users have 3ร— lower session retention than our US users. We traced it back to login latency โ€” the auth server is in Virginia."

โ€” CTO, B2C SaaS company, 2M global users

Both sides run simultaneously โ€” real API calls, no mocks

Without Cloudflare
Centralized auth ยท us-east-1
โ€”ms

Round-trip to us-east-1 server

Response time

โ€”
With Cloudflare D1 + KV
Edge auth ยท nearest DC
โ€”ms

Query at nearest DC

Response time

โ€”

The win

โšก
10ร—+
Faster logins
for every user, anywhere in the world
๐ŸŒ
250+
DB locations
D1 replicates to every Cloudflare DC
๐Ÿ–ฅ
0
Servers managed
D1 + KV are fully serverless