View Single Post
Old 03-15-2018, 06:32 PM   #1
aurne
Junior Member
aurne began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2018
Device: kindle
What are the reasons calibre can't support multi-user libraries?

I'm planning on implementing better networked library support for calibre, essentially allowing multiple clients to connect to a centralized library.

As sqlite supports multiple client connections, albeit locks the whole database during writes, I'm wondering why multiple clients currently cause database corruptions and what code interfaces with the db (is it all in src/db/ or is there more).

Currently considering a client/server model where the server is the sole writer and processes db IO requests sent by clients.

Please let me know your thoughts, and if there is anything important I'm missing.
aurne is offline   Reply With Quote