|
|
|
|
|
by periheli0n
1281 days ago
|
|
“Keep it simple”—something I keep repeating to everyone I work with. I myself have been bitten too often by the temptation to use the latest tech, even when a trusted but less “sexy” alternative was available that could do the job perfectly. But this post could have been made a lot simpler by using SQLite. Do away with all the docker stuff, a simple file- based database will do for starters. If you need concurrent access later, it will be easy to port the DB to Postgres or similar. |
|
Recently I've had some really great success using SQLite on an embedded project with decent enough support for concurrency using busy_timeout [https://www.sqlite.org/c3ref/busy_timeout.html] and WAL [https://www.sqlite.org/wal.html].