PrismaP
Prisma5mo ago
5 replies
imoby

New queryCompiler with postgres adapter in AWS lambda poor performance

I've been following the prisma queryCompiler and now that its been more GA I'm seeing that none of the performance issues have been addressed here. Not sure if nextjs is a first class citizen here but I'm hosting my stuff on serverless framework on AWS lambda functions, and I've seen a huge decrease in performance. At a minimum I'm seeing like 1-2 seconds additional latency. Sometimes even more with just changing the bare mimimum to make this run in the new query compiler

generator client {
  provider        = "prisma-client-js"
  engineType      = "client"
  previewFeatures = ["views", "relationJoins"]
}


Anyone else run into this?
Was this page helpful?