by noelwelsh · 8y ago · 0 comments
Seriously, if you're new to that domain go read:
https://aphyr.com/posts/333-serializability-linearizability-...
One great example of why this would matter to me - could workers ever institute a coordinated rate limiting function using this KV store?
By combining those with KV to do global coordination on a more course time scale, I think you could.
https://en.wikipedia.org/wiki/Compare-and-swap
It might be straightforward to do this with an ETag like Firebase:
https://firebase.googleblog.com/2017/07/introducing-conditio...
Not sure what this would require on their backend though.
(This logic is not quite in production yet but should be within a week or two.)
Workers don't have the concept of processes. The unit of compute is an individual event -- e.g. handling an individual HTTP request. So we'd have to augment it a bit, but we can probably come up with something useful.