Hacker News new | ask | show | jobs
by 3by7 1013 days ago
Very cool!

Are there any performance trade-offs?

Has anyone run in it production environments?

It would be fantastic to see a sample repo showing how a small web app shares part of the business logic with PG.

1 comments

PgCompute uses the plv8 extension on the database end. Basically, PgCompute will be transferring the function logic to the database where plv8 will get it executed. This function transfer happens only once and then PgCompute just passes the method signature for the execution.

I think that the perf impact should be negligable but you're right that the next reasonable step is to do some perf testing.

Nope, nobody uses it in prod yet. I've just released the first version.