durable-limiter
durable-limiter copied to clipboard
Get and puts are not transactional
https://developers.cloudflare.com/durable-objects/api/transactional-storage-api/
I believe you want to wrap all puts and gets into a specific transation. There is a risk of a race condition between puts and gets since each durable object may interweave I/O operations
Hey @chitalian! thanks a lot for the report and yes, after reading some more about DO I/O your proposal sounds totally legit.
I have no idea when I'll find some spare time to work on that, just wanted to acknowledge it and thank you for the valuable report!