cold starts

I.improb6/1/2023
I’m having an issue with my first queries after the db going idle taking about 11s to 12s which is causing my vercel app to timeout as I am using SSR. I'm using standard t3 stuff (prisma, trpc) hosted on vercel and on neon. Is there a way to speed these up? I’ve - changed prisma to version 4.14.1 - made my vercel functions work from Singapore (southeast) sin1 and my neon instance is currently singapore - enabled jsonProtocol in prisma the query is quite small and when warmed up it works wonderfully. As long as I can get it under 10 seconds and not have it time out that would be very ideal.

Looking for more? Join the community!