Should my application be cycling even if it receives steady traffic?

I average about 1 hit per second, yet my app seems to bootstrap
several times every hour at an erratic rate.

Appid is mobca-st.
Look in the logs for "ConfigurationBootstrap" at level Info.  This is
the Resteasy bootstrap.
The cycling seems to happen all the time with no obvious reason.
The only heavy framework (ie, that does classpath scanning) is
Resteasy.  It doesn't even use JDO/JPA.
Startup time is usually 10-15s.

Jeff

On Fri, Jan 15, 2010 at 3:32 PM, Ikai Lan <i...@google.com> wrote:
> Hey everybody,
> We've been seeing more and more reports of applications being cycled out
> overly aggressively, resulting in some folks implementing (discouraged)
> workarounds to keep their application from being cycled out. The primary
> symptom of this problem is that your application will see lots of "loading
> requests" that fire up a new JVM, which, as many of you know can take
> anywhere from a few seconds with naked servlets to as much as twenty seconds
> when loading something like Spring MVC, JRuby on Rails or Grails.
> In theory, there is enough capacity such that as long as you get some
> traffic every few hours, you should not be getting cycled out, but we have
> been seeing reports of applications being cycled after only a minute or
> less. To help us figure out if these are app specific issues or App Engine
> issues, can you post the following information if you believe this is
> happening to you?
> - What is your application ID?
> - How do you know it is being cycled out? You'll need to insert some code
> that only gets called when the app cold starts.
> - How much time of inactivity does it take before your application is cycled
> out?
> - What time or days does this seem to happen?
> - What frameworks or libraries are you loading?
> Any other information you can provide would be helpful.
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
>
> --
> 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.
>
>
-- 
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