6 ms·
You're right that reads and writes are immediate in the same client connection, this is how it works with CF KV as well - but not across the entire network. On
by tmikaeld 2y ago
You're right that reads and writes are immediate in the same client connection, this is how it works with CF KV as well - but not across the entire network.
On KV they expect up to 30 second latency before a write can be written everywhere, I expect similar here.
- ec109685 2y agoCloudflare ensures all operations on a DO happen on _the_ single instance of that DO, worldwide. There’s no such thing as the read after wrote problem because only one host will ever do reads and writes (until that host dies).
- dumbo-octopus 2y agoIndeed. The entire purpose of DO’s is essentially to provide the consistency guarantees that KV cannot.