Post
Why the speedup is big: forcing storage flush on every tiny write is expensive. That flush is often the slowest part of the commit. By skipping it on a hot path, the VFS removes a lot of overhead, which especially helps with workloads with many small transactions.
0 reposts0 likes
Full discussion - github.com/rhashimoto/...
github.comWrite-ahead logging in a VFS · rhashimoto wa-sqlite · Discussion #315TL;DR OPFSWriteAheadVFS is a new synchronous VFS that uses write-ahead logging to achieve significant performance and concurrency improvements. It uses the proposed readwrite-unsafe mode that is cu...