The way you load the memcache, you just put data in it. It is automatically shared between all JVMs and you don't have to do anything special. As to when to load it up. Say you have some preferences stored in the datastore. You should put those preferences into the memcache and always check the memcache before the datastore because it will prevent you from talking to the datastore.
On May 22, 11:37 pm, Rahul <[email protected]> wrote: > Chau, > > Thanks for pointing to the link. I did go through the link and i > think, what i thought was right. > Also i was going through the following point in the section you > provided : "How can I speed up loading requests? " and the second > point mentioned is "Share expensive initialization between JVMs. For > example, put data which is expensive to read or compute into memcache, > where it can be quickly read by other JVMs during startup." so in this > scenario where do you load this memcache so that it can be shared > between the jvm instances. > > Any pointers or clues highly appreciated. > > Thanks, > Rahul > > On May 22, 10:51 pm, Chau Huynh <[email protected]> wrote: > > > > > > > It seems like loading > > request...http://code.google.com/appengine/kb/java.html#What_Is_A_Loading_Request > > > On Sun, May 23, 2010 at 4:55 AM, Rahul <[email protected]> wrote: > > > I have an application running on appengine and no doubt it works > > > great. but when the application is not used for some time. it goes > > > very slow. > > > Suppose i don;t use the application for around 5 hours or so, then > > > next time when i try to use it, the response is very slow. Is there > > > any thing specific which i am missing in adding application to > > > appengine. > > > > Any clues are pointers are highly appreciated. > > > > Thanks, > > > Rahul > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google App Engine for Java" group. > > > To post to this group, send email to > > > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-appengine-java%2B > > > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine-java?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine-java?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
