DEV Community

Discussion on: 5 Popular Use Cases for Going Serverless

Collapse
 
shaijut profile image
Shaiju T

Thanks for the limitation of server-less. I also heard that server less API might experience a cold start, a delay in the response as it needs to power up an then answer you.

Check answer from below posts:

dev.to/shaijut/comment/12b0n

We should keep the limitation in mind. Thank you :)

Thread Thread
 
taavirehemagi profile image
Taavi Rehemägi

You can use provisioned concurrency to avoid cold starts: dashbird.io/knowledge-base/aws-lam....

Or even a third-party library (e.g. JS: npmjs.com/package/lambda-warmer or... pypi.org/project/lambda-warmer-py/) to take care of it themselves.

Cold start is not a “limitation” of serverless, it’s just a product of its nature - the same factor that makes serverless attractive also creates the incidence of cold starts but there are many ways to mitigate it, if it becomes an issue.