Kaspars Dancis

blog
dec 01, 2009

AppRocket 2.0.0

AppRocket is an open-source toolkit that enables live synchronization between Google App Engine datastore and MySQL database. It can be used to migrate existing MySQL-based application to AppEngine, backup/restore AppEngine data as well for building hybrid AppEngine / MySQL applications.

This AppRocket update brings a bunch of bug-fixes as well as several functional improvements. The biggest improvement is the new multi-threaded engine which enables processing of different entity kinds in parallel. This provides a significant performance boost when your application contains more than one actively updated entity kind.

There are also few configuration enhancements, such as:

  • RECEIVE_EXCLUDE_FIELDS and SEND_EXCLUDE_FIELDS which allow to specify only fields that you want to exclude from replication. Earlier you can only do opposite by listing fields that should be included, which is not always very convenient
  • AFTER_SEND which allows to setup a hook function which gets triggered every time an entity is uploaded to App Engine Last but not least, this update has been extensively tested in couple live projects and appears to be stable and rock-solid.

You can get AppRocket from GitHub: https://github.com/k7d/approcket