3 ms·
> With the recent addition of CAS to S3 Do you have a reference for this? I assume by CAS you mean content addressable storage? I googled but can't find any AW
by hamandcheese 1y ago
> With the recent addition of CAS to S3
Do you have a reference for this? I assume by CAS you mean content addressable storage? I googled but can't find any AWS docs on this.
- xyzzy_plugh 1y agoCompare 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.