News for hackers. Stuff that matters.
Re:Garage – An S3 object store so reliable you can run it ou... by lxpz on Friday December 19, 2025 @02:35PM (#46329908)
Read-after-write consistency : yes (after PutObject has finished, the object will be immediately visible in all subsequent requests, including GetObject and ListObjects)

Conditionnal writes : no, we can't do it with CRDTs, which are the core of Garage's design.

Re:Garage – An S3 object store so reliable you can run it ou... by skrtskrt on Friday December 19, 2025 @03:28PM (#46330501)
Does RAMP or CURE offer any possibility of conditional writes with CRDTs? I have had these papers on my list to read for months, specifically wondering if it could be applied to Garage

https://dd.thekkedam.org/assets/documents/publications/Repor... http://www.bailis.org/papers/ramp-sigmod2014.pdf

Re:Garage – An S3 object store so reliable you can run it ou... by lxpz on Friday December 19, 2025 @04:34PM (#46331221)
I had a very rapid look at these two papers, it looks like none of them allow the implementation of compare-and-swap, which is required for if-match / if-none-match support. They have a weaker definition of a "transaction". Which is to be expected as they only implement causal consistency at best and not consensus, whereas consensus is required for compare-and-swap.
Re:Garage – An S3 object store so reliable you can run it ou... by skrtskrt on Friday December 19, 2025 @07:34PM (#46332640)
ack - makes sense, thank you for looking!