top | item 36275152

(no title)

showdeddd | 2 years ago

You have to implement that with your own code but it isn't much more than a dict/map and a timestamp for last update.

discuss

order

tyingq|2 years ago

Same-ish problem, though. You wouldn't know for sure the instance will run again...your dict/map data can be dropped. I don't see any sort of instance timeout callback where you could guard against that.

showdeddd|2 years ago

I think it's negligible. The only metrics you lose are on rare scaledowns and they are averaged out anyways. GCP likes to keep instances idle for a long time.