Work on your code.  Typically my requests are serving in 300ms . Of course
there are a lot of factors, and there are different sweet spots based on the
type of thing you are doing, but you should race "Hello World" on the two,
and Retrieve record containing "Hello World" on the two.

 

Often very simple code reveals where the issues lie.

 

Also even if GAE were 10% slower for a small application, the win is when
you get to the "I'd need 4 machines to do this much work" because then you
need a load balancer, and you can't do the SQL call via the local machine
you have to connect via the network, all of these things add time.  

 

In my experience: 

Traditional Setup

100ms from End user to infrastructure.

180ms to pass the load balancer

150ms for Apache/Php/Java to start working on the request (out put hello
world)

150ms for SQL to start working on a request

200ms to get the SQL request

100ms to write and send to user.

 

Total time 880ms to server text out of a database as HTML

 

GAE

100ms from End user to infrastructure.

35ms to start working

75ms to retrieve via GQL

100 MS to send to user

 

Total time 305MS

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Niklas Rosencrantz
Sent: Sunday, May 01, 2011 1:48 AM
To: [email protected]
Subject: [google-appengine] Is GAE expected to get faster in the future?

 

I know we can optimize our code so that it runs faster but still I find
absolute response times from app engine are somewhat slow. Will it get
faster in the future even though I don't redeploy a new more optimized
version? I'm comparing with a physical dedicated rack server running a Linux
+ JBoss with JSP servlets and mysql that responded very fast comapred to
same view on app engine. Of course we can measure with yslow the relative
response time which is good on app engine. Thanks for you comments.
Niklas

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

Reply via email to