The overhead of the API call would far outweigh any framework related
overhead for any single operation.  Savings come from how the
framework can batch operations or, for querying, reduce the amount of
data processed in your application.

Writing the smallest possible kinds can reduce the storage required.
In Java Twig can use any name by overriding #typeToKind(Type):String.
It also can store a Collection of embedded child objects as multi-
valued properties which means that you can query on the child object's
properties and they also do not need to be stored as separate Entities
which saves Datastore puts.

In the coming version 0.2, Twig has low-level filters to filter out
results from a search before they are "re-hydrated" as type-safe
instances and also low-level property filters when you know that some
instance properties are not going to be read.  I have found that these
save huge amounts of CPU time.

Also in 0.2 are batch operations for put'ing multiple instances (and
their referenced graph of instances) in a single put.  Version 0.2
should be released in the next couple of weeks.

More details can be found here:

http://code.google.com/p/twig-persist/

Cheers,

John

On Jan 9, 1:33 am, Sameer <[email protected]> wrote:
> Of the two languages and the associated web frameworks, what is the
> quickest way to insert or update an entry into the datastore?
>
> Specifically, which framework on either appengine python or java has
> the lowest per request overhead? In python, I imagine it would be
> webpy, is there anything equivalent or faster/lighter in java?
>
> -Sameer
-- 
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