AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Importance of Serverless Functions
The Prisma client on every request was a good example of serverless kind of being long running. It's possible that we were running Prisma clients 18 different times, all at the same time because we were scaling up right. And thankfully we use planet scale because you talk about connecting to the database, planet scale does this thing called pooling connections which is really nice and it handled many clients being able to connect to it at once. So those are the big things for us is that we wanted to be able to one have all of the codes be unique.