Comment by mjw1007
5 years ago
Fair enough, but that means if someone's following the advice in the article ("It deserves your consideration as the standard file format on your next application design") they need to consider "will our users want to use our files on network filesystems?".
You could always have a lock file alongside the main to signal to other instances of the app that the file's in use. A bit janky, but workable.
That's no worse than what applications often already do when they use a simpler file format.
But you also have to worry about SQLite (reasonably) refusing to operate because it tries to make a locking call and gets an error response. I think there are options to turn that off, though.