DEV Community

Discussion on: What's the WORST thing about serverless?

Collapse
 
mjsarfatti profile image
Manuele J Sarfatti

How much of an issue? Like milliseconds, seconds...?

Collapse
 
mbackermann profile image
Mauricio Ackermann

Some seconds. I had some functions that took something between 4 and 5 seconds on cold start.

Thread Thread
 
umelf profile image
Molese Kekana

Shouldn't you break apart such functions?
It sounds like you're trying to do too much in a function.
What technology stack are you running?

Thread Thread
 
mbackermann profile image
Mauricio Ackermann

Iā€™m running node. My functions are very small, doing a tiny service