[appengine-java] Re: Cold starts

2010-04-29 Thread lent
We're also experiencing frequent application loading.  It seems to
have gotten more frequent since yesterday's scheduled maintenance.
When a new user logs in to our app, there is a burst of requests which
come in and this now almost always seems to trigger an application
load.  I don't know if a new instance is being started up to handle
the increased load but if that is the case that instance and the
original instance should hang around for some reasonable amount of
time.  In our case when another user logs in say a minute after, then
yet another app load occurs.

The frequent app loading causes problems but it is compounded for us
because:
1) app load normally takes a little less than 20 seconds but since app
loading time (and actually processing time in general) on appengine
seems to be highly variable, it can easily wind up taking greater than
30 seconds and appengine cuts off the processing and app is not
initialized properly.
2) when load time exceeds 30 seconds and appengine cuts off the load
(or more precisely cuts off the request which triggered the load),
appengine will often continue to use the loaded app.  This app is no
good in our case because initialization was not completed.  To be
safe, appengine should not use the app when it had to cut off the
request which triggered the load after 30 seconds.

Len

On Apr 29, 6:58 am, Jake  wrote:
> I feel paying for a warm JVM instance doesn't really fall in with what
> I want.  When I first started GAE, someone from Google hinted that a
> single JVM should stay warm for quite some time (perhaps up to an
> hour?) from a single hit.  In my application, users can expect to sit
> on a page for 30+ seconds.  As a result, I would say at least 30-40%
> of my requests are loading requests.
>
> Jake
>
> On Apr 28, 2:01 am, Richard  wrote:
>
>
>
>
>
> > Done, thanks. I had also starred the pay-for-instances but it was far
> > too noisy a topic!
>
> > On Apr 27, 7:16 pm, Jake  wrote:
>
> > > Star this?  :)
>
> > >http://code.google.com/p/googleappengine/issues/detail?id=2931
>
> > > On Apr 27, 4:33 am, Richard  wrote:
>
> > > > My app has a *lot* of cold starts. Sometimes after 2 or 3 minutes,
> > > > which seems very aggressive. I've let it go, tried to be good and
> > > > waited for it to improve. Today I tried Pingdom and set it to a
> > > > minute. Instant improvement.
>
> > > > Googleistas, I really, really don't like doing that. I'll likely
> > > > switch it off because I'm trying to be a good citizen, but the system
> > > > is really driving bad behaviour - I imagine anyone who vaguely depends
> > > > on GAE for money is pinging the heck out of their apps. Any chance
> > > > we're going to get it sorted soon?
>
> > > > --
> > > > 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 
> athttp://groups.google.com/group/google-appengine-java?hl=en.- Hide quoted 
> text -
>
> - Show quoted text -

-- 
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.



[appengine-java] Re: Cold starts

2010-04-29 Thread Jake
I feel paying for a warm JVM instance doesn't really fall in with what
I want.  When I first started GAE, someone from Google hinted that a
single JVM should stay warm for quite some time (perhaps up to an
hour?) from a single hit.  In my application, users can expect to sit
on a page for 30+ seconds.  As a result, I would say at least 30-40%
of my requests are loading requests.

Jake

On Apr 28, 2:01 am, Richard  wrote:
> Done, thanks. I had also starred the pay-for-instances but it was far
> too noisy a topic!
>
> On Apr 27, 7:16 pm, Jake  wrote:
>
>
>
> > Star this?  :)
>
> >http://code.google.com/p/googleappengine/issues/detail?id=2931
>
> > On Apr 27, 4:33 am, Richard  wrote:
>
> > > My app has a *lot* of cold starts. Sometimes after 2 or 3 minutes,
> > > which seems very aggressive. I've let it go, tried to be good and
> > > waited for it to improve. Today I tried Pingdom and set it to a
> > > minute. Instant improvement.
>
> > > Googleistas, I really, really don't like doing that. I'll likely
> > > switch it off because I'm trying to be a good citizen, but the system
> > > is really driving bad behaviour - I imagine anyone who vaguely depends
> > > on GAE for money is pinging the heck out of their apps. Any chance
> > > we're going to get it sorted soon?
>
> > > --
> > > 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.



[appengine-java] Re: Cold starts

2010-04-27 Thread Richard
Done, thanks. I had also starred the pay-for-instances but it was far
too noisy a topic!

On Apr 27, 7:16 pm, Jake  wrote:
> Star this?  :)
>
> http://code.google.com/p/googleappengine/issues/detail?id=2931
>
> On Apr 27, 4:33 am, Richard  wrote:
>
>
>
> > My app has a *lot* of cold starts. Sometimes after 2 or 3 minutes,
> > which seems very aggressive. I've let it go, tried to be good and
> > waited for it to improve. Today I tried Pingdom and set it to a
> > minute. Instant improvement.
>
> > Googleistas, I really, really don't like doing that. I'll likely
> > switch it off because I'm trying to be a good citizen, but the system
> > is really driving bad behaviour - I imagine anyone who vaguely depends
> > on GAE for money is pinging the heck out of their apps. Any chance
> > we're going to get it sorted soon?
>
> > --
> > 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.



[appengine-java] Re: Cold starts

2010-04-27 Thread Jake
Star this?  :)

http://code.google.com/p/googleappengine/issues/detail?id=2931

On Apr 27, 4:33 am, Richard  wrote:
> My app has a *lot* of cold starts. Sometimes after 2 or 3 minutes,
> which seems very aggressive. I've let it go, tried to be good and
> waited for it to improve. Today I tried Pingdom and set it to a
> minute. Instant improvement.
>
> Googleistas, I really, really don't like doing that. I'll likely
> switch it off because I'm trying to be a good citizen, but the system
> is really driving bad behaviour - I imagine anyone who vaguely depends
> on GAE for money is pinging the heck out of their apps. Any chance
> we're going to get it sorted soon?
>
> --
> 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.