4 ms·
> accumulate locally Is that an option in AppEngine? The memcache docs seem to indicate the free tier has undocumented eviction policies.
by tyingq 3y ago
> accumulate locally
Is that an option in AppEngine? The memcache docs seem to indicate the free tier has undocumented eviction policies.
- showdeddd 3y agoYou have to implement that with your own code but it isn't much more than a dict/map and a timestamp for last update.
- tyingq 3y agoSame-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 3y agoI 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.