Hacker News new | ask | show | jobs
by laurencerowe 1061 days ago
I don’t know if this is just be a weird artefact of running in Docket on an Arm Mac, but I was surprised to find it substantially faster to run my tree walking code on Node and call out to Postgres than run it all in Postgres with plv8. Perhaps it was using a fresh interpreter per transaction?
1 comments

it doesn't use a fresh interpreter per transaction, but does per connection due to postgres using a process model.

also, there are a ton of different variables. if you're interested in talking about it, there's a discord: https://discord.gg/5fJN52Se