News for hackers. Stuff that matters.
Re:Two Tier Architectures Are Anachronistic [video] by TN1ck on Friday November 24, 2023 @03:23PM (#38407827)
> Speaker pitches for using embedded in-proc DBs inside AWS Lambda functions. Not practical to install Oracle RDBMS in something that only runs for 100msec.

It's not only unpractical, but hard to get it done. Recently tried to run Postgres in an AWS Lambda to create an anonymized DB dump. It was so painful that I gave up and created an access restricted database to do the anonymization instead. An in-memory mode for Postgres that would be as easy to run as sqlite or duckdb would be so useful for things where one can not replace it with either of them (sql dumps, testing).

Re:Two Tier Architectures Are Anachronistic [video] by wild_egg on Friday November 24, 2023 @03:51PM (#38408170)
You may be interested in this

https://github.com/zonkyio/embedded-postgres-binaries

I've been using this for test runners in Node and Go for a while now and it's been quite painless. Would be nice to have wider language support though

Re:Two Tier Architectures Are Anachronistic [video] by TN1ck on Saturday November 25, 2023 @07:38AM (#38413132)
Thank you, that's indeed super interesting for me (we use go as our backend language).