Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: SQLite Transaction Benchmarking Tool. Parent comment
I have multiple threads for reads and a single dedicated thread for writes, which I send operations to via a queue. That way I avoid ever having two writes against the same connection at the same time.
There are no comments on this comment yet.
I have multiple threads for reads and a single dedicated thread for writes, which I send operations to via a queue. That way I avoid ever having two writes against the same connection at the same time.