3 ms·
Thought about it, decided to start with simpler and good enough option. The goal here is not to beat Redis anyway.
by nalgeon 3y ago
Thought about it, decided to start with simpler and good enough option. The goal here is not to beat Redis anyway.
- acrispino 3y agofor what it's worth, the two pool approach is suggested here by a collaborator to github.com/mattn/go-sqlite3: https://github.com/mattn/go-sqlite3/issues/1179#issuecomment-1638083995 https://github.com/mattn/go-sqlite3/issues/1179#issuecomment...
- nasretdinov 3y agoWell I agree, that's a good starting point. You probably won't be able to beat Redis with SQLite anyway :), although given that WAL mode allows for concurrent reads it might give it a large enough performance boost to match Redis in terms of QPS if the concurrency is high enough.