Luke, thanks for the follow up! You're right that sometimes RPC
overhead can add up especially with something as fast as Memcache, so
batching things is definitely your friend. With the datastore, the RPC
overhead should be a much smaller percentage overall of operations, so
you see real benefit
i finished updating my server to use the AsyncDatastoreService. i
also cleaned up my memcache code to batch cache requests. both of
these changes allowed me to improve the request time by up to 4x for
some requests. from ~80ms to ~20ms. now i can prefetch content for
the user with little to no
Does it take so much time to process your results that it really
matters they be done in the optimal order?
All that polling code is complicated... unless you're shaving off a
lot of real-world time, seems like it's better to just launch all
batches and block on the first one.
Jeff
On Wed, Dec
great, thanks for the insight max.
i have a client that will batch together multiple requests into one
RPC call to my app on GAE. each of these individual requests may have
one or more datastore accesses. this may include some prefetch
requests.
so i want to build a mechanism that will