When a Java servlet stops and later a new one spawns in Google Appengine environment, will cached (MemCache) values survive and will be still in cache? Or a new servlet instance always come with an empty cache?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The memcache is a service that is decoupled from the VM instance, it should “survive” a restart, but as always when it comes to memcache your code must never assume that the value is going to be available at any point.