Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Compare And Swap


The 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...


Thanks both! In the contexts I work in CAS always means content-addressable-storage, my mistake.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: