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
Vincent Udén
Vincent Udén2y ago
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
Lopen
Lopen2y ago
Cold starts is for those who deploy to the edge
Vincent Udén
Vincent Udén2y ago
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
Lopen
Lopen2y ago
I disagree To which lambda from a regular server?
Vincent Udén
Vincent Udén2y ago
My man, Amazon literally states themselves in this optimisation guide for example that cold starts happen and you can minimise them
Vincent Udén
Vincent Udén2y ago
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.
Vincent Udén
Vincent Udén2y ago
If you want to get rid of cold starts, you'd need a regular server which is online all the time listening for requests
Lopen
Lopen2y ago
We are saying same thing I i thought you said server I didn't see you wrote Serverless
Vincent Udén
Vincent Udén2y ago
Lmao, all good then t3ggParty
Want results from more Discord servers?
Add your server