Re: [appengine-java] Re: After how much time of no traffic does GAE shut-down the instance

2010-01-14 Thread 杨浩
the other talk about your
problem!https://groups.google.com/group/google-appengine-java/msg/2c425aa60b091f5d?dmode=print
GROUPS Title:
 App instance recycling and response times - is there solution?
https://groups.google.com/group/google-appengine-java/browse_thread/thread/bd5110b72b852e15/9f751301a9fb943c?q=App+instance+recycling+and+response+times+-+is+there+solution#9f751301a9fb943c
2010/1/15 Ikai L (Google) ika...@google.com

 Hey everybody,

 2 minutes is EXTREMELY aggressive. If you have evidence that your app is
 being cycled out this quickly, can you let us know your app ID? There may be
 something going on with your application. Our numbers indicate that even if
 you are getting a minute amount of traffic, you shouldn't not be cycled out.

 In general we discourage using cron to ping your application. Cold startup
 time is a very high priority for us.

 2010/1/10 杨浩 skzr@gmail.com

 my GAE app too shutdown every tow minutes when no request!
 so when my app init that is terrible, because spring init need 15s!
 so my answer is:
 create a cron:every one minutes to run once,It's work very good!(every tow
 minutes don't keep my app online, It's still shutdown!)


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



Re: [appengine-java] Re: After how much time of no traffic does GAE shut-down the instance

2010-01-11 Thread 杨浩
my GAE app too shutdown every tow minutes when no request!
so when my app init that is terrible, because spring init need 15s!
so my answer is:
create a cron:every one minutes to run once,It's work very good!(every tow
minutes don't keep my app online, It's still shutdown!)
-- 

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: After how much time of no traffic does GAE shut-down the instance

2010-01-10 Thread Jorge
It's been some discussion about this topic. You may want to seek posts
with words keep warm or cold start, for instance. See also the
Tragedy of the Commons, and Cold Starts post in the Google Aps Forum

http://groups.google.com/group/google-appengine/browse_thread/thread/22692895421825cb/1108714f7a57280a

Jorge Gonzalez

On Jan 9, 3:16 pm, Locke locke2...@gmail.com wrote:
 In my testing, apps which are hit every 2 minutes need to boot every
 time (costing beacoup CPU cycles), whereas apps hit every 1 minute
 stay loaded.

 This limit seems to have changed over time. When I started using
 appengine several months ago, it would wait ten minutes before
 subjecting you to the unload/reload penalty.

 I would gladly send google a stick of RAM in the mail if they would
 just keep my app going!  ;-)

 On Jan 9, 8:16 am, Yossi yossi@gmail.com wrote:

  Hi,

  I've noticed that the same request that takes in average 2 seconds
  could take more then 20 seconds after around 10 minutes that the
  application is idle (no requests are received). I assume that after
  ~10 minutes of no requests, the GAE shuts-down the instance.
  Is there an official information about this period of time? Is there a
  way to extend this period of time (besides writing a cron job that
  runs every minute)?

  Thanks.

  Yossi
-- 
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: After how much time of no traffic does GAE shut-down the instance

2010-01-10 Thread mably
You might be interested in this issue : 
http://code.google.com/p/googleappengine/issues/detail?id=2456

On 10 jan, 14:34, Jorge athenas...@gmail.com wrote:
 It's been some discussion about this topic. You may want to seek posts
 with words keep warm or cold start, for instance. See also the
 Tragedy of the Commons, and Cold Starts post in the Google Aps Forum

 http://groups.google.com/group/google-appengine/browse_thread/thread/...

 Jorge Gonzalez

 On Jan 9, 3:16 pm, Locke locke2...@gmail.com wrote:



  In my testing, apps which are hit every 2 minutes need to boot every
  time (costing beacoup CPU cycles), whereas apps hit every 1 minute
  stay loaded.

  This limit seems to have changed over time. When I started using
  appengine several months ago, it would wait ten minutes before
  subjecting you to the unload/reload penalty.

  I would gladly send google a stick of RAM in the mail if they would
  just keep my app going!  ;-)

  On Jan 9, 8:16 am, Yossi yossi@gmail.com wrote:

   Hi,

   I've noticed that the same request that takes in average 2 seconds
   could take more then 20 seconds after around 10 minutes that the
   application is idle (no requests are received). I assume that after
   ~10 minutes of no requests, the GAE shuts-down the instance.
   Is there an official information about this period of time? Is there a
   way to extend this period of time (besides writing a cron job that
   runs every minute)?

   Thanks.

   Yossi
-- 
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: After how much time of no traffic does GAE shut-down the instance

2010-01-09 Thread Locke
In my testing, apps which are hit every 2 minutes need to boot every
time (costing beacoup CPU cycles), whereas apps hit every 1 minute
stay loaded.

This limit seems to have changed over time. When I started using
appengine several months ago, it would wait ten minutes before
subjecting you to the unload/reload penalty.

I would gladly send google a stick of RAM in the mail if they would
just keep my app going!  ;-)


On Jan 9, 8:16 am, Yossi yossi@gmail.com wrote:
 Hi,

 I've noticed that the same request that takes in average 2 seconds
 could take more then 20 seconds after around 10 minutes that the
 application is idle (no requests are received). I assume that after
 ~10 minutes of no requests, the GAE shuts-down the instance.
 Is there an official information about this period of time? Is there a
 way to extend this period of time (besides writing a cron job that
 runs every minute)?

 Thanks.

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