logoalt Hacker News

creatonez • yesterday at 9:15 PM • 1 reply • view on HN

I mean sure, you could still win if almost no requests are opening the database in write mode


Replies

zbentley • yesterday at 10:33 PM

Does it lock if the DB is opened in write mode, or only when a write query is issued?

If the latter, then it’ll only contend on simultaneous writes, which mutex anyway.