Have you compared this against the performance of ndb's integrated
caching?  I believe it uses protocol buffers.

Also, getting entity cache behavior right - so that contention doesn't
throw the cache out of sync - is very hard.

Jeff

On Wed, Sep 5, 2012 at 9:32 AM, Drake <drak...@digerat.com> wrote:
> Yes, this has been discussed before. We use marshal for a lot of our stuff,
> but it isn’t always faster. It depends on how large the objects are and the
> types.
>
>
>
> The size difference is interesting, as we rarely see that.
>
>
>
> You should also benchmark against JSON which is often faster than Marshall,
> and often smaller.
>
>
>
> Lastly you should bench each with Zip compression. The size of the object
> does matter, and at different compression levels you get different
> performance curves.
>
>
>
>
>
> From: google-appengine@googlegroups.com
> [mailto:google-appengine@googlegroups.com] On Behalf Of Andrin von
> Rechenberg
> Sent: Wednesday, September 05, 2012 2:15 AM
> To: google-appengine@googlegroups.com
> Subject: [google-appengine] Speeding up memcache by 3x for datastore
> entities
>
>
>
> There is an amazingly simple trick how to speed up memcache by 3x for
> datastore models
>
> and entities use only half the size in memcache, see my blogpost:
>
>
>
> http://devblog.miumeet.com/2012/09/speeding-up-memcache-by-3x-for.html
>
>
>
> Cheers,
>
> -Andrin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to