Thank Gerald for sharing your knowledge.
Personally, I kind feel a little strange for that, in spite of the nature of
GAE app what needs to consider of multi-instances of app, GAE platform
haven't provided any event hooks available what can be used across app
instances, though the technical
Dear Didier,
Thank you very much for your intention to help.
I cannot come the good idea up with using load-on-startup element beside
something like having a entity for the number of app instance in datastore
and incrementing it in the servlet started up by that, then reading and
comparing the
AFAIK there's no way of being informed about the instantiation of another
instance or change on a memcache value without accessing the memcache
itself.
The best solution is to use vm memory cache only for data that is going to
be unchanged, changed only during known specific intervals, or that
Hi,
You could try (didn't do it myself) the load-on-startup param with a
value 0 in the servlet definition of a given servlet within
web.xml
This starts the servlet when the application is deployed in starting
container.
That should allow you to do what you want
regards
didier
On Sep 13,