4 ms·
With a recent announcement we are addressing this by dynamically moving the code to be close to the data when appropriate - https://blog.cloudflare.com/announc
by dknecht 3y ago
With a recent announcement we are addressing this by dynamically moving the code to be close to the data when appropriate - https://blog.cloudflare.com/announcing-workers-smart-placement/ https://blog.cloudflare.com/announcing-workers-smart-placeme...
- slashdev 3y agoThat's really interesting. Between this and TCP sockets you could now design really interesting distributed, stateful services on Cloudflare Workers. I'd love to design a database for this environment (if you're reading this at Cloudflare, you can hire me to work on this.) I think something that distinguishes between write and read requests, moves writes close to the leader server hosting the data being written, handles reads at the edge, and replicates the deterministic request itself would perform the best and give sequential consistency. This is the approach taken by fauna.com, and it's competitive with Spanner but without the need for GPS and atomic clocks to provide an accurate time source.