Hi there, I deployed a small application to serverless Vercel NOW (formerly Zeit NOW) using Prisma 2 and a postgres database on Heroku. Unfortunately the application is incredible slow when using the database. As this sounds as a common configuration, are there any hints how to improve? Thanks in advance!
r
Ryan
05/04/2020, 9:53 AM
Hi Simon 👋
Could you check a couple of things like if the database and your application are in the same region so that there's no latency overhead.
Also could you set the
DEBUG
environment variable in Vercel to
*
so that you can check all the invocations happening while the queries are executed.