Archive for the 'Guides' Category

Dec 02 2008

Google Appengine Notes

Published by Alek under Appengine,Development,Geek,Guides

I’ve been using appengine for a side project lately and it’s pretty sweet! However performance isn’t guaranteed, especially with a naive model. Some learned points:

  • Avoid accessing the datastore. Especially writes. GAE is highly optimized for frequent reads and infrequent writes.
  • Related to that, favor fewer large objects over many small objects in the datastore. It’s much better to load and deserialize an object tree than to make a query for each object type. This will reduce your round trips to the datastore. Also there is no way to bulk delete rows but if you have your objects as a pickled collection in a db.Blob, you can delete many elements from the collection in a single access. Pretty nice actually.
  • Avoid writing to the same objects concurrently. This needs to be balanced with the previous point. The contention will kill your performance as you get more users. However if writes really are rare in your model this is fine.

No responses yet

Sep 02 2008

After the reformat…

Published by Alek under Geek,Guides

You have that just formatted feel. You just installed all the required drivers, Windows is running fast and smooth because there is nothing on it.

Now what?

Well, you install apps to make it useful of course! The real question is what to install? That’s where this post comes in. It’s as much of a checklist for myself as a guide for everyone else, what to install right away without spending any money.

Continue Reading »

No responses yet