Serverless still has servers. ☁️
You just don't manage them. A request arrives, the provider runs your function, it replies, then it can shut down again. The first request after a quiet spell can be slower (a cold start), and more traffic means more copies of your function run.
Don't store data in memory, the next request may land on a fresh copy.
More at rky.app#WebDev#DevTips#Coding#Serverless#Vercel