Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wmanley
9 months ago
|
parent
|
context
|
favorite
| on:
100k TPS over a billion rows: the unreasonable eff...
Use a connection per-thread instead. By sharing a connection across threads you’ll be limiting concurrency - and transactions won’t work as you’d expect. SQLite connections are not heavy.
Also: use WAL mode and enable mmap.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Also: use WAL mode and enable mmap.