Skip to content

Prisma Client Node-API Support #4911

@timsuchanek

Description

@timsuchanek

Currently the Prisma Client communicates with the Query Engine over HTTP or Unix Domain Sockets. After some experimentation we realized we can cut this overhead down significantly with Node-API.

Node-API binds the Query Engine into the Prisma Client directly, so calling into the Query Engine is no different than calling a Node.js function.

@pimeys has been shown in https://github.com/pimeys/napi-test it's possible to connect from Node.js to the query engine via the Node-API.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions