Prisma @prisma.io · Feb 20

In v6, queries happened in a separate Rust-based thread. In v7, queries happens in the JavaScript event loop. Individually, each query is able to run fast (0.1–1ms per query). Under load though, there is an increase in latency due to the single threaded nature of the JavaScript

0 likes 1 replies

?

Replies

Prisma · Feb 20

In v7.4, we introduced a schema-aware query caching layer. Instead of having to rebuild your query on every run, Prisma now: • Parameterizes dynamic values • Reuses the static query structure • Avoids repeated compilation work