Is Prisma ORM still slow?

I’ve been using drizzle with postgres for a while. Wanted to use mongodb for another project with nextjs. I know prisma improved their data connection speed a bit a while back but is it still slow in real world usage or is it fine now?
5 Replies
Neto
Neto4mo ago
the problem was never that prisma was slow, the problem was the multiple queries + merging them together at runtime they added support to join queries, idk if fully available but probably not for mongodb
Kasper
Kasper4mo ago
Yeah, they also had a heavy GraphQL binary that has since been converted to JSON. But it still has some overhead that for example drizzle does not have. You can check that out here: https://orm.drizzle.team/benchmarks
Drizzle ORM - Benchmarks
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Ziadx3
Ziadx34mo ago
nope, in itself it isn't it's just the multiple queries + merging them together at runtime
Neto
Neto4mo ago
prisma can do joins is just not GA yet
Neto
Neto4mo ago
Relation queries (Concepts) | Prisma Documentation
Prisma Client provides convenient queries for working with relations, such as a fluent API, nested writes (transactions), nested reads and relation filters.
Want results from more Discord servers?
Add your server
More Posts