← All projects
Project record1 mention
Originally shared on Hacker News

Joist

v2 of Joist, an n+1-proof and reactive TypeScript ORM, migrating from knex/node-pg to the postgres.js driver so transactions can leverage postgres.js's statement pipelining for better performance, with benchmarks being put together to demonstrate the gains.

Last shared
01 / The problem

What it addresses

Avoids n+1 query performance issues; the v2 rewrite targets better transaction performance via statement pipelining.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Joist

    v2 of Joist, an n+1-proof and reactive TypeScript ORM, migrating from knex/node-pg to the postgres.js driver so transactions can leverage postgres.js's statement pipelining for better performance, with benchmarks being put together to demonstrate the gains.

    Problem: Avoids n+1 query performance issues; the v2 rewrite targets better transaction performance via statement pipelining.

    Posted by @stephen · Original source ↗

    Source text · @stephen · · Source ↗

    Working on v2 of our n+1-proof/reactive TypeScript ORM, Joist (https://joist-orm.io/), that moves to using the new-ish postgres.js driver (instead of knex/node-pg), so that we can leverage postgres.js's statement pipelining within transactions.