Re:Introducing Workers KV
by kentonv on Saturday September 29, 2018 @01:49PM
(#18101720)
Yes, you'll be able to use etags with if-match for optimistic concurrency. When reading and writing from a Worker, if you do a get() followed by a put() on the same key in the context of the same request, we'll take care of the if-match automatically under the hood, so the put() fails if there was a concurrent write.
(This logic is not quite in production yet but should be within a week or two.)
(This logic is not quite in production yet but should be within a week or two.)