Are cold starts an issue?

I haven't used Next API routes as a primary API before, and from what I understand they are mostly serverless functions, are there cold start issues?
2 Replies
Mike
Mike9mo ago
There are cold starts, but you can choose your runtime (serless vs edge). Edge should be faster to spin up, but it has some limitations: https://nextjs.org/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes
Rendering: Edge and Node.js Runtimes | Next.js
Learn about the switchable runtimes (Edge and Node.js) in Next.js.
v-for-v
v-for-vOP9mo ago
Im thinking it would be better to not use serverless in my case and just keep a node process open
Want results from more Discord servers?
Add your server