Thanks Stephan. Memcache is my second level. My level of retrieving data will be Instance Cache, Mem cache and then Datastore. But from your reply i guess i have to go with mem cache directly and then DataStore. As mine is kind of single page application, i thought of adding Instance caching. So now i have to afford for that extra 10ms to 100ms for mem cache.
On Monday, March 17, 2014 6:19:04 PM UTC+5:30, [email protected] wrote: > > You can't expect that requests of one user are always served by the same > instance, so you cannot rely on a hash map that is local to a single vm. > Instead you should use memcache backed by the datastore. There is a nice > library that does all the magic: > http://code.google.com/p/stick-cache/ > > Best regards, > Stephan > > Am Montag, 17. März 2014 11:35:01 UTC+1 schrieb Bharath Kumaar: >> >> Hi guys, I have a doubt regarding Requests and Instances from which it is >> served. >> >> My plan is to create instance caching for my project. So i ll be using >> hash map where key will be the user key and value is his data. My doubt >> is, is there any way if users log in request serves from one instance and >> other requests from some other instances i.e will it fluctuate. >> >> And also, will instance caching of more data leads to any big issues? >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
