avatar
Jake Gold @jacob.gold

Thanks! My attitude is that you’ve got to handle SIGTERM and SIGINT properly in any case. There’s no excuse not to because it’s the only way to do fully graceful deployments. If your app gets SIGKILL’d you’re going to lose whatever transactions are in flight anyway. I probably should document it!

aug 25, 2025, 3:46 pm • 1 0

Replies

avatar
v @avi.im

Yes. The trouble is, most people compare SQLite (an embedded db) with the likes of Postgres / MySQL and come with different set of expectations You can also document that the lib optimises for performance over durability. You do mention ‘sync’ but I would make the trade offs prominent

aug 25, 2025, 7:53 pm • 2 0 • view
avatar
Jake Gold @jacob.gold

Yeah, good idea, I'll definitely put more effort into explaining the rationale behind all the decisions. And maybe I'll make it easy to optimize for different trade-offs with "profiles" or something, but will have to think about it more.

aug 25, 2025, 8:11 pm • 1 0 • view