Tristan,

I do understand what you are saying but my question is there exactly
do we need to put data in memcache. If i put it in a servlet and load
that servlet with load-on-startup parameter, then does it remain in
cache for the entire period as I guess, load-on-startup servlet is
loaded every time new jvm instance is kicked off.

Thanks,
Rahul

On May 24, 2:12 am, Tristan <tristan.slomin...@gmail.com> wrote:
> 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 <rahul.jun...@gmail.com> 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 <cmhu...@gmail.com> 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 <rahul.jun...@gmail.com> 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
> > > > google-appengine-j...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2B
> > > >  unsubscr...@googlegroups.com>
> > > > .
> > > > 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 
> > > google-appengine-j...@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > google-appengine-java+unsubscr...@googlegroups.com.
> > > 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 google-appengine-j...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine-java+unsubscr...@googlegroups.com.
> > 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 google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine-java+unsubscr...@googlegroups.com.
> 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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to