top | item 37420567

(no title)

3by7 | 2 years 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.

discuss

order

magden|2 years ago

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.