Thanks @KentonVarda @sdayman
Instead of re-inventing the wheel here - do you think that a data storage layer/adapter could be written for something open source like say ElasticSearch (which already exists/is mature) such that your KV storage happens to be the storage layer, but ES runs all the other functionality on top?
The bigger goal would be such a data layer for something like Postgres, but that’s a different proposition. I want all the benefits of the data access layer to be distributed and global - but all the functionality that already exists in database and search platforms which are decades old and well-tested.
The big issue is of course - eventual consistency, making race conditions difficult to resolve - unless all writes were queued and Cloudflare could confirm global availability for a write.
Google’s Cloud Spanner would be a great goal to aspire to, since primitive KV is highly limited.
Note - it’s great to have global low-latency access - but most actual apps need much more than that - databases and search in particular.