Parallel Asynchronous Datastore Commands with Twig 1.0 - Google App Engine for Java | G... - 1 views
-
Twig is an alternative to the standard persistence interfaces JDO and JPA, specifically designed to make the most of the underlying datastore's unique features.
-
Twig is the only interface to support direct unowned relationships so your code is not dependent on low-level datastore classes. It is the only interface to support OR queries by merging together multiple queries, sorting them and filtering out duplicates at the lowest level for performance.
-
Async datastore calls are not yet part of the low-level API. Twig uses the underlying Protocol Buffer layer classes to call ApiProxy.makeAsyncCall() instead of makeSyncCall. All the code is open source so you can check out how its done.