News for hackers. Stuff that matters.
Re:Building a distributed log using S3 (under 150 lines of Go) by smooc on Sunday December 01, 2024 @12:10PM (#42289393)
I wonder if there is a write guarantee, i.e. can we be certain the function only returns when the entry has been written to durable storage?

Or is it best effort?

Re:Building a distributed log using S3 (under 150 lines of Go) by avinassh on Sunday December 01, 2024 @12:15PM (#42289418)
(author here)

Currently, there is durability guarantee. The call returns only after successful write to S3. This is close to fsync in a single node system. I plan to add a relaxed write mode

I am tracking the issue here: https://github.com/avinassh/s3-log/issues/4