SQLite vs. the File System
christophilus.com
christophilus.com
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
I guess an approach like SQLite's WAL is faster for this.
https://www.sqlite.org/wal.html
The only thing to keep in mind is that you can cause SQLite's WAL to keep growing with concurrent writes, as the checkpointer can checkpoint the WAL, but cannot overwrite it. There is a WAL2 branch of SQLite that tries to fix this.