News for hackers. Stuff that matters.
Re:We’re pretty happy with SQLite and not urgently intereste... by andrewguenther on Sunday June 19, 2016 @06:45PM (#11935084)
You cannot have multiple writers to a SQLite database. Only a single file descriptor may be open with 'write' access. As long as you can get the performance you need out of a single writer, then you're good!
Re:We’re pretty happy with SQLite and not urgently intereste... by SQLite on Sunday June 19, 2016 @09:52PM (#11935655)
Clarification: You can have multiple connections (aka file descriptors) open on the same database file for writing at the same time. But only one can be actively writing at a time. SQLite uses file locking to serialize writes. Multiple writers can exist concurrently, they merely have to take turns writing.
Re:We’re pretty happy with SQLite and not urgently intereste... by marktangotango on Sunday June 19, 2016 @09:35PM (#11935612)
WAL allows multiple readers and writers:

https://www.sqlite.org/isolation.html

Re:We’re pretty happy with SQLite and not urgently intereste... by c-smile on Sunday June 19, 2016 @09:20PM (#11935580)
Yes, but in some cases it could be faster to work in sole- writer mode. It is kind of cooperative multitasking demonstrating by Node.js.