Can Prisma handle 1000 users?
I am curious if should I use prisma if performance and speed is my priority? what happens if 1000 user make request simultaneously?
9 Replies
The biggest problem with prisma is the cold starts since the bundle sent to a lambda is so big. This doesn't really have an impact performance-wise on handling concurrent requests, so I agree, DB would be bottleneck
Cold starts is for those who deploy to the edge
No, cold starts are on regular old serverless too
Your code still has to be shipped out to a lambda to run unless it has been run recently
I disagree
To which lambda from a regular server?
My man, Amazon literally states themselves in this optimisation guide for example that cold starts happen and you can minimise them
Amazon Web Services
Operating Lambda: Performance optimization – Part 1 | Amazon Web Se...
This post is the first in a 3-part series on performance optimization in Lambda. It explains how the Lambda execution environment works and why cold starts occur.
If you want to get rid of cold starts, you'd need a regular server which is online all the time listening for requests
We are saying same thing
I i thought you said server
I didn't see you wrote Serverless
Lmao, all good then