Get the latest tech news

Build a serverless ACID database with this one neat trick (atomic PutIfAbsent)


Build a serverless ACID database with this one neat trick (atomic PutIfAbsent)

Thanks to its simplicity, in this post we'll implement a Delta Lake-inspired serverless ACID database in 500 lines of Go code with zero dependencies. Indeed a good exercise for the reader would be to implement this interface for other blob storage providers and see your serverless cloud database in action! A real Delta Lake implementation would store data in-memory in Apache Arrow format, and write to disk as Parquet.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of neat trick

neat trick

Photo of atomic PutIfAbsent

atomic PutIfAbsent

Photo of ACID

ACID

Related news:

News photo

Google Gemini for Android might grab a neat trick from the web version soon