3 ms·
The easiest way around it is to keep ping-ing it every 5 mins from either from a third party (like pingdom, uptimerobot.com) or a cron function (https://cloud.g
by asadlionpk 6y ago
The easiest way around it is to keep ping-ing it every 5 mins from either from a third party (like pingdom, uptimerobot.com) or a cron function (https://cloud.google.com/scheduler/docs/creating https://cloud.google.com/scheduler/docs/creating).
But I would recommend using Cloud Run instead.
- soamv 6y agoIsn't Cloud Run's cold start latency even worse?
- asadlionpk 6y agoActually you are right. I was under the impression that we can define minimum-maximum instances to run. But apparently it scales down to zero and there is no way to prevent that.
- earthboundkid 6y agoPinging a Lambda is the blind leading the blind. Your Lambda still gets periodically shut down and you still have cold starts! To avoid cold start, don’t use Lambda!