Re:Journey to Optimize Cloudflare D1 Database Queries
by manter on Thursday April 10, 2025 @01:38PM
(#43646272)
I think D1 actually requires multiple round trips, so the higher figures start to make some kind of sense.
I read a blog post about this but can't find it now. I did find this [release note](https://developers.cloudflare.com/d1/platform/release-notes/...) though.
They describe removing _at least_ two round trips back to the DC hosting the D1 instance.
This is already waaaaaay too much. Same datacenter I expect nano seconds round trips. Datacenter to a datacenter on the other side of the world? Maximum 300ms. It was what you expected of game servers two decades ago. I don't see what could eat more than a couple dozen ms on the server with current hardware to make a 10ms round-trip become "> 200ms" and consider this a service you'd pay for.