News for hackers. Stuff that matters.
Re:Show HN: SQLite Transaction Benchmarking Tool by simonw on Thursday July 18, 2024 @10:37AM (#40995986)
I wrote an async wrapper around SQLite in Python - I'm using a thread pool: https://github.com/simonw/datasette/blob/main/datasette/data...

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.