I have been testing at 50% of average Latency. This seems to strike a good balance. 10ms seems to basically always spawn new instances. Which makes things slower because you are always eating the spin up time.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mikael Grev Sent: Monday, August 22, 2011 3:39 AM To: Google App Engine Subject: [google-appengine] Re: GAE request latency is higher than expected. OK. Thanks Robert. On Aug 21, 7:59 am, Robert Kluin <[email protected]> wrote: > You should try to put the latency control back on auto. When I set it > to 10ms I saw signifanctly worse performance. You should also try to > make a lot of requests to get it warmed up. > > Robert > > On Aug 19, 2011 3:11 PM, "Mikael Grev" <[email protected]> wrote: > > > > > > > > > > > Hello, > > > First, I'm not a HTTP guy, as you might understand. > > > I thought I'd use GAE as a simple but scalable key/value pair > > database. So I just did a quick latency check since latency is key > > for performance in my scenario. > > > I was very surprised that the latency is in average around 280ms for > > the simplest kind of request. Basically it's two lines of code that > > just returns the IP of the requesting host, so there's absolutely > > nothing that takes CPU time. > > > The ping is constantly around 35ms so it's not a problem with lag in > > the network. I have a 100Mb/s line that's extremely fast on my side > > (Sweden) and it's always very fast to make requests to other hosts > > in US west cost. > > > I have performance set to 10ms and 1 instance so that shouldn't be a > > problem either. I have also tried to make several requests in a row > > to warm it up, but the lag only gets slightly better, from 400ms to > > start with down to the 280ms I was referring to. > > > Is this normal for HTTP requests or is GAE slow? > > > I guess to make it faster I need a dedicated server and communicate > > through TCP directly? > > > Cheers, > > Mikael > > > -- > > 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, > google-appengine+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 [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. -- 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.
