Closed larytet closed 2 years ago
I don't think sqlite3 supports concurrent reads/writes.
If I add my own locks will it solve the problem?
Maybe. You could connect to the DB before the critical section, do the IO work, and then disconnect at the end of the section. Sqlite wasn't really built for this sort of use, though.
I have a pool of processes reading and writing the same table. Write can be occasionally slow. May be 1-2s. What am I missing?