Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: