40 points · by patrickdevivo · 5y ago · 2 comments
Ohh this is interesting -- now SQLite can function as an in-memory shared DB, as long as you have lots of readers and only one writer? IIRC WAL mode doesn't apply to in-memory DBs but the locking concurrency docs[0] seem to suggest that most of the time the one writer would hold the RESERVED+ locks and readers would hold the SHARED locks.