Keep in mind that the "first byte sent" goes out when your handler is completely finished with everything. If you're fetching a lot of data from the datastore and want the page to start rendering earlier, you might want to think about using AJAX.
On May 18, 8:34 am, Anders <[email protected]> wrote: > Ok, thanks. Yes, I suspected some kind of startup/page swap thing was > going on. It seems to happen more frequently now than in the past. It > lowers the quality of the service by having such slow response times > happening frequently. For example, the load time for a page with 17 > separate objects (such as images, javascript files etc) can take 6 > seconds of which 5 seconds is just for the server to respond! That's a > severe performance bottleneck imo. > > On May 18, 1:02 pm, Tim Hoffman <[email protected]> wrote: > > > Hi > > > What you are seeing the is the server starting up some of the time > > (hence long response times) and sometime hitting a running server > > (short response times) > > > Servers may recycle very quickly (ie in as little as 30 secs) > > > A typical server startup time for django and some other frameworks is > > 2-3 secs > > You can see this in you admin console logs > > > Java will no doubt exhibit the same thing > > > Rgds > > > Tim > > > On May 18, 3:30 am, Anders <[email protected]> wrote: > > > > I don't know if this is related to only the Python version or also to > > > the Java version, but the response time from GAE servers (Python) is > > > very uneven. Sometimes the time from connection with the server to the > > > first byte sent is less than a second, but sometimes the response > > > takes several seconds between connection with the server to the first > > > byte being sent. It doesn't depend on the datastore or some other > > > backend it seems since it happens for pages who don't use any > > > (application-level) backend. And the response time can be very long > > > even after a recent (previous minute or so) fast response. > > > > I have noticed this using ordinary web browsers, and also when using > > > tools like: > > > >http://tools.pingdom.com/?url=http://www.blabline.com&treeview=0&colu... > > > > Is there some kind of performance bottleneck that sets in from time to > > > time? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
