News for hackers. Stuff that matters.
Re:SQLite on Rails: The how and why of optimal performance by rpcope1 on Wednesday September 11, 2024 @10:39PM (#41517074)
Batching writes is probably a good idea, but by far the absolute best way to do something like this with SQLite is to use WAL and have a single designated writer (and as many readers as you want), probably fed by something like a queue. As long as you do that, I usually find the the performance is often really amazing.

There are no comments on this comment yet.