You could setup a cron job to hit a servlet every minute to keep your container alive. That way your app is always "fresh" (unless you get so much traffic that new instances need to spawn up for scaling purposes).
david On Jan 5, 2:52 pm, Todd Lindner <[email protected]> wrote: > Since Google App Engine will power down the app if there aren't any > requests for ~10 minutes, it has to re-initialize your application > often. Not a problem.... I was able to trim my app init down to > about 1.5 seconds, so its reasonable, but datanucleus itself takes > about 5 seconds on top of that (and I only have 5 persistent > entities!). This is a real drag on my app and I almost want to keep > it awake with a pinger... > > Any way to speed up initialization? I'm using JPA. > > Thanks > -Todd
-- 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.
