Post
So the tradeoff is simple: faster writes now, weaker crash protection for newest data. This is often fine for local-first apps where recent changes can be retried, re-synced, or recreated from server state.
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...