2 ms·
I suspect what happens is the developer just dumps everything in a sqlite database, which will fsync for you on commit.
by pjc50 10y ago
I suspect what happens is the developer just dumps everything in a sqlite database, which will fsync for you on commit.
- JBReefer 10y ago^ I think this is it. App developers are taught to reflexively use the local db to store data, not files - but may not understand the difference performance characteristics of this db. Someone (like me before reading this post) working on an app for the first time might not realize they're thrashing out fsyncs with UPDATES.