News for hackers. Stuff that matters.
Re:Django SQLite Production Config by stavros on Saturday June 15, 2024 @07:53AM (#40689200)
Well, maybe the database should have more suitable defaults? Arguably, slowing down a bit once when the WAL grows beyond X MB to clean it up is better behavior than having it grow unboundedly, but maybe that's not possible.
Re:Django SQLite Production Config by kmac_ on Saturday June 15, 2024 @08:38AM (#40689417)
There is no one-size-fits-all solution in the SQL world, and using SQLite in such a scenario is not a good idea. SQLite is an embedded database for embedded use. Even PostgreSQL is not universal, as many people assume. For use cases like analytics, there are many better-suited database engines.
Re:Django SQLite Production Config by stavros on Saturday June 15, 2024 @08:40AM (#40689428)
Sure, but there are one-size-fits-95% solutions, and they're better than one-size-fits-90% solutions.
Re:Django SQLite Production Config by kmac_ on Saturday June 15, 2024 @09:43AM (#40689756)
Absolutely agree. As most projects are small or medium in size, PostgreSQL is a good default choice. Problems arise when the problem does not fit the solution or tool. For example, using SQLite for high-volume transactions and then complaining that it doesn't work.