Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This looks impressive. Could someone familiar with Postgres internals explain the hidden trade-offs of this approach?

I understand the obvious limitations of it being embedded/single-host, but I'm curious about the engine itself. Does running in this environment compromise standard features like ACID compliance, parallel query execution, or the ecosystem of tools/extensions we usually rely on?





The key limitation (at the moment) is that it only supports a single connection. W're planning to lift that limitation though.

This is what I'm most interested in. I have an application which has a smaller trimmed down client version but it shares a lot of code with the larger full version of itself. Part of that code is query logic and it's very dependent on multiple connections and even the simplest transactions on it will deadlock without multiple connections. Right now if one wants to use the Postgres option, it needs Postgres manually installed and connected to it which is a mess. It would be the dream to have a way to easily ship Postgres in a small to medium sized app in a enterprise-Windows-sysadmin-friendly way and be able to use the same Postgres queries.

Was going to ask exactly about that. Thanks for sharing. Looking forward to it!

You might want to have a look at our extensions catalog page: https://pglite.dev/extensions/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: