I am using aurora serverless postgres with Prisma right now for my application. I need to release it to the public soon, and the
prisma cold starts make my app slow enough to be unusable.
In order to make it faster, I'm evaluating my options. Would my best hope be to convert my DB from aurora serverless to public aurora and use the data proxy? Can I set up some sort of tunnel from the internet to my aurora DB inside my VPC?
Since I think part or most of the cold start time is related to the parsing of my dmmfString, will data proxy even help? Also just discovered I can't combine interactive transactions and data proxy which is a problem.
I'm happy to spend some time myself trying to speed up the prisma node client initialization if it's something I can help with but I'd need someone to point me in the right direction. I need to get this fixed.
Any other suggestions?