4 ms·
Compare And Swap
by xyzzy_plugh 1y ago
Compare And Swap
- gcr 1y agoThe TL;DR is that Amazon S3 now supports "conditional writes" which are guaranteed to fail if the file was written by some other writer. This is implemented by sending the ETag of an object's expected version alongside the write request. Litestream now depends on this functionality to handle multiple writers. Think of optimistic locking. https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-s3-functionality-conditional-writes/ https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-s3...
- hamandcheese 1y agoThanks both! In the contexts I work in CAS always means content-addressable-storage, my mistake.