https://github.com/kujirahand/node-sqlite-kvs/blob/master/lib/sqlite-kvs.js
https://github.com/lukechilds/keyv/blob/master/src/index.js
https://www.reddit.com/r/golang/comments/8ojjoj/huge_performance_hit_on_a_simple_go_server_with/
Docker’s disk I/O was the bottleneck!
Solved: Disk I/O was the problem. Even though I’m on Debian 9.4, changing to an in-memory sqlite allowed Docker to push 2.9k reqs/sec. Credits to /u/Willson50 for the amazing find!
With file=dco.sqlite3?mode=memory, Docker can push ~2.9k req/sec.
Other way:
PRAGMA journal_mode=WAL;
PRAGMA synchronous=NORMAL;
https://www.sqlite.org/wal.html
https://github.com/go-vgo/Mingw