[appengine-java] Re: CPU Occasionally Spikes when HttpSession is Created

2009-09-16 Thread Traveler1980
Sono one else has noticed anything like this??? Regards, Jamie On Sep 15, 9:13 am, Traveler1980 jshar...@gmail.com wrote: Hi Everyone, I've noticed that CPU occasionally spikes when creating an HTTPSession.  It only seems to happen when it's been awhile since an app has been accessed

[appengine-java] Re: CPU Occasionally Spikes when HttpSession is Created

2009-09-16 Thread Traveler1980
Sono one else has noticed anything like this??? Regards, Jamie On Sep 15, 9:13 am, Traveler1980 jshar...@gmail.com wrote: Hi Everyone, I've noticed that CPU occasionally spikes when creating an HTTPSession.  It only seems to happen when it's been awhile since an app has been accessed

[appengine-java] Re: CPU Occasionally Spikes when HttpSession is Created

2009-09-16 Thread Toby Reyelts
App Engine retires and spins up new instances of your app based on demand. If a new instance of your app is being created, you'll see higher CPU then normal as all of your code gets reloaded and initialized. This sounds like the behavior you're seeing. One way to test that is to write a logging

[appengine-java] Re: CPU Occasionally Spikes when HttpSession is Created

2009-09-16 Thread Traveler1980
Thanks Toby. Your explanation makes sense and it looks like that's exactly what's happening: 09-16 01:39PM 57.474 /test 200 4036ms 4478cpu_ms 65api_cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) W 09-16 01:40PM 00.884 foo.bar.TestServlet init: Initializing