BTW, is there any reason to see that the same request with same data, doing the same thing, and same api calls, has different cpu_ms ?
2011-05-23 12:35:00.009 "GET /?&......................." 200real=*127ms cpu=257ms api=0ms* overhead=0ms (3 RPCs) 2011-05-23 12:34:58.763 "GET /?&............." 200real=*818ms cpu=1884ms api=0ms *overhead=0ms (3 RPCs) 2011-05-23 12:34:57.495 "GET /?xxxxxxxxxxxxxxxxxxxxxxxxxxx" 200real=*814ms cpu=1873ms* api=0ms overhead=0ms (3 RPCs) 2011-05-23 12:34:56.917 "GET /?xxxxxxxxxxxxxxxxxxxxxxxxxxxx" 200real=*135ms cpu=260ms* api=0ms overhead=0ms (3 RPCs) On Mon, May 23, 2011 at 5:03 PM, Brandon Wirtz <drak...@digerat.com> wrote: > Pay for always on, it will go away. > > > > *From:* google-appengine@googlegroups.com [mailto: > google-appengine@googlegroups.com] *On Behalf Of *Sarang > *Sent:* Monday, May 23, 2011 12:52 PM > *To:* google-appengine@googlegroups.com > *Subject:* [google-appengine] Poor performance since the past 2-3 days > > > > I have a python/django app that works blazing fast on the dev_appserver > locally, but is taking painfully long to load on GAE since the last 2-3 > days. Can anyone please let me know how to resolve it? > > > > Here are the issues: > > > > 1. I routinely get > > > 1. 2011-05-23 12:17:06.505 / 200 373876ms 793cpu_ms 15kb AppEngine-Google; > (+http://code.google.com/appengine) > > 0.1.0.1 - - [23/May/2011:12:17:06 -0700] "GET / HTTP/1.1" 200 15939 - > "AppEngine-Google; > > ... > > 2. I2011-05-23 12:17:06.505 > > This request caused a new process to be started for your application, and > thus caused your application code to be loaded for the first time. This > request may thus take longer and use more CPU than a typical request for your > application. > > > > See more within the half hour: > > > 2011-05-23 12:18:09.581 / 200 3062ms 653cpu_ms 15kb AppEngine-Google; (+ > http://code.google.com/appengine) > 2011-05-23 12:17:06.505 / 200 373876ms 793cpu_ms 15kb AppEngine-Google; (+ > http://code.google.com/appengine) > 2011-05-23 12:12:43.657 / 500 167275ms 70cpu_ms 1kb Mozilla/5.0 (Windows > NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 > Safari/534.24,gzip(gfe),gzip(gfe),gzip(gfe) > 2011-05-23 11:43:12.087 / 200 503348ms 746cpu_ms 15kb AppEngine-Google; (+ > http://code.google.com/appengine) > > all these for my landing page which loads in a few milliseconds on the > local server. > > I have taken all the precautions documented: cron job, main() in python > code, etc. I have the keep_alive cron job running every 1 minute. However, I > have observed that many times it does not start every minute and that leads > to high load times. Example: > > > > > 2011-05-23 12:07:49.777 / 200 2999ms 23cpu_ms 15kb AppEngine-Google; (+ > http://code.google.com/appengine) > > > 2011-05-23 12:06:46.769 / 200 13ms 0cpu_ms 15kb AppEngine-Google; (+ > http://code.google.com/appengine) > 2011-05-23 12:05:46.749 / 200 11ms 23cpu_ms 15kb AppEngine-Google; (+ > http://code.google.com/appengine) > > You can observe that the when the spacing between cron jobs is > 1minute, > the load times suddenly increase. > > > > My 2 key questions: > > > > 1. Any way for me to profile and find out where the app engine gets stuck > when I get those enormously large load times? > > 2. Any way to ensure cron is fired within a minute? > > Appreciate any help. > > > > Regards, > > Sarang > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.