Re:Json-Base – Database built as JSON files
by badsectoracula on Saturday July 04, 2020 @04:53AM
(#23731070)
I've read that at the past but this article has an issue:
> if there's a crash during the write
It never brings up how can there be a crash in the first place (also the entire article is too filesystem specific).
Any crash. Power failure, hardware failure, kernel panic while working for another process, software bugs, etc.
It's impossible to make crash-free systems. If your goal is to maximize the chance that your data remains valid, you have to plan on that.
Truly amazing read. Thanks for sharing.
https://danluu.com/file-consistency/