4 ms·
I'm gonna go ahead and make a half-serious half-joking hot take: Actually you should be using an embedded database. Half-joking because there's like, tons of
by LaGrange 3y ago
I'm gonna go ahead and make a half-serious half-joking hot take:
Actually you should be using an embedded database.
Half-joking because there's like, tons of infrastructure, both literal and theoretical, that you're gonna miss out, and because I'm not sure we have on-disk standards (so less "good software" than "popular software") other than sqlite and libdb, both of which have some issues that make me hesitate before saying "use this."
But often the reason you're ignoring 90% of your RDBMS is because you for some (good or bad) reason want it elsewhere, and the built-in stuff can even get in the way a bit. And this approach means you no longer have to worry about how to version the stored procedures or whatever.
In a way, this is the same take as that gist, but inside out - instead of putting all your code inside Postgres, put Postgres inside your code.