DEV Community

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

Collapse
 
arswaw profile image
Arswaw • Edited

I'm sure you know this, but sometimes you can run a script that continuously invokes it.

Collapse
 
mbackermann profile image
Mauricio Ackermann

I know that, but it doesn't seem to be a good practice

Collapse
 
avalander profile image
Avalander

That kinda defeats the point of only running it when needed.

Thread Thread
 
arswaw profile image
Arswaw • Edited

You run it every 30 minutes, just as the underlying container is about to close. You don't invoke it constantly.

Collapse
 
rcoundon profile image
Ross Coundon

That helps but doesn't necessarily keep all the containers running, it typically depends on the scale and volume.