I like the potential of appengine as cloud computing platform. Using
eclipse, I can code in eclipse and then one-click to deploy the changes to
production. It's awesome!  It's also an exciting experience to learn the new
programing patterns GAE requires, such as task queue, object data store,
mencache. All these new stuff are fine as long as it delivers the
performance at the end. After running my app http://realmon9.appspot.com on
production for a while, I found the response time very often is too long,
5-20sec, in the unusable range. Of course, the performce depends on how
complicated it is to generate the response per request. I'm going to give a
very brief description of a typical request, and appreciate your suggestion
for improving the performance..

My app "realmon9" <http://realmon9.appspot.com> is a social media monitoring
application designed as a component in the google cloud so that it can be
connected to enterprise CRM like salesforce. It basically allows
organization to monitor a large number of topics on social media and brings
the relevant conversations/leads to CRM for marketing/PR/support/research
purpose. The topics, twiter conversations and blogs are stored in datastore
and the operation is quite simple and straightforward. For example, listing
a list of topics or listing conversations (20 per page) for a topic. I
expect this type of viewing request takes <1 sec to respond. It requires
querying 2-4 kinds of data per request and there are only small number of
data in this initial stage. But, very often it takes 10 second to respond to
a simple request.  I'm using java and JDO to query datastore. I have not
done anything to customize the index configuration yet. Where should I look
for performance optimization?

I also use task queue to fetch feeds in the background. Because the reponse
is slow, a large percentage of simple feed fatch tasks fail randomly.

One observation: viewing the same page (e.g. listing topics) sometimes takes
no time, but sometimes takes 10 second. it's all random, which is probably
due to the distributed nature of GAE. It may be hard to figure out what to
improve on the app side when GAE varies wildly in terms response time.
Anybody know the expected response time or behavior from GAE?

This google app is porting from my server application on
http://web2express.org. I can make the responce on regular tomcat server
fast, but GAE is the uncharted torritory. I"m still learning and looking for
best practice ideas.

thanks,
-aj
-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real 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.

Reply via email to