Don’t overthink it, use a SQL database for your next project(techmythos.substack.com) |
Don’t overthink it, use a SQL database for your next project(techmythos.substack.com) |
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].