TLDR Web Dev · ARTICLES & TUTORIALS
BUILD A SERVERLESS ACID DATABASE WITH THIS ONE NEAT TRICK (ATOMIC PUTIFABSENT)
Summary from the TLDR Web Dev newsletter
This blog post goes through implementing a serverless ACID database using 500 lines of Go code with no external dependencies. It uses atomic “PutIfAbsent” operations on a file system-based object store to achieve concurrency control and snapshot isolation. Working code examples are shown throughout the post.