←back to thread

285 points ajhit406 | 1 comments | | HN request time: 0.192s | source
Show context
tmikaeld ◴[] No.41834673[source]
> ..each DO constantly streams a sequence of WAL entries to object storage - batched every 16MB or every ten seconds.

Which also means it may take 10 seconds before you can (reliably) read the write globally.

I keep failing to see how this can replace regionally placed database clusters which can serve a continent in milliseconds.

Edit: I know it uses streams, but those are only to 5 followers and CF have hundreds of datacenters. There is no physical way to guarantee reads in seconds unless all instances of the SQLite are always connected and even then, packet latency will cause issues.

replies(4): >>41834790 #>>41834832 #>>41835155 #>>41840319 #
1. neamar ◴[] No.41834790[source]
The writes are streamed in near real time to five followers, acknowledging it near instantly. The cloudflare blog article mention this more in depth. So writes remain fast, while still having durability.