Our new performance tuning "best practices" document

83 views
Skip to first unread message

Per

unread,
Aug 27, 2011, 1:00:25 PM8/27/11
to Google App Engine
Hi all,

August was a pretty tough month for us, since the 1.5.2 release and
the datastore issues really exposed some of our inefficient code. But
we've learned and improved, and our app is faster than ever. Check
out our new "best practice" document:

http://www.small-improvements.com/app-engine-performance-tuning

Nothing earth-shattering, but upfront knowledge would have saved us a
lot of work. Happy to add more hints if you have any. Thanks again to
Simon Knott for suggesting to check out JARing classes to improve
speed. You're our hero!

Cheers,
Per

Simon Knott

unread,
Aug 27, 2011, 4:14:09 PM8/27/11
to google-a...@googlegroups.com
Hi,

Thanks for taking the time to write up your thoughts - it's always really useful to learn from other peoples' experiences.  

I'm also glad to be a hero for a day :)

Cheers,
Simon

James Broberg

unread,
Aug 27, 2011, 10:26:45 PM8/27/11
to google-a...@googlegroups.com
Great stuff Per - and you have an interesting application there. It
makes me wonder whether it would be worthwhile setting up a central
shared wiki somewhere so we could all contribute our best practices.
I'm sure many of us (I know I do) have some best practices scribbled
down internally that many of us have learn the hard way.

I had one query though:

"We learned the hard way though that quite often we had been getting
objects via a key (which means QUERY). We went through our DAOs and
removed plenty of those, replacing these with GETs."

Can you elaborate on this? Where you performing a query with a set of
keys? My understanding of this was that queries using a set of keys
was automagically converted to a highly efficient, low level get.

cheers

James

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/nEFJOpDaJsAJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

Thomas Wiradikusuma

unread,
Aug 27, 2011, 11:48:27 PM8/27/11
to Google App Engine
+1 for the Wiki idea.

Jesus Alvarez

unread,
Mar 18, 2012, 1:58:20 PM3/18/12
to google-a...@googlegroups.com
Hi Simon and Per,

I am deploying my small app to gae and would like to benefit from jar packaging.
Could you give me a little more detail on how to do it?

The google eclipse plugin does all the "deploy" job and I really dont know exactly what is going on and how to create jars from .class. And what is more important, tell eclipse to upload these jars instead of classes


thanks a lot 
Reply all
Reply to author
Forward
0 new messages