Comment by nasretdinov
Comment by nasretdinov a day ago
With Go it's quite straightforward actually: use WAL mode + two connection pools, one for reads and the other, with MaxConnections set to 1, for writes. This way you should never encounter any concurrency issues, and Go will serialise writes for you too
I have no experience in Go, but won't that be a full database lock and prevent transactions with more than one operation?