Relative Content

Tag Archive for google-app-enginememcachedjcache

Maintaining reference to already-loaded cache between server restarts, or, after a new version of the app is deployed

So I have an app deployed in appengine and it uses JCache as the cache API.
Fact 1: The cache is loaded with data from the DB every day between 00:01 am and 00:04 am. This process works and there is no issue with this.
Fact 2: I use “dedicated” cache (as against shared cache).
Fact 3: I have chosen auto-scaling with min-instances: 0 and max-instances: 1, thereby implying that “start an instance when a user makes a request” and “shut that instance down after ‘N’ minutes of inactivity”, where N is approximately 15 minutes.