On Thursday, April 18, 2013 4:28:47 PM UTC-5, Gerald N wrote:

> Usually, memcache is very quick - <10 ms per request.
>
> But occasionally (once a day a bit, once a week very significatnly), 
> memcache becomes very very slow, from 50-100 up to several hundred 
> milliseconds - which slows down my requests that get objects from objectify 
> and memcache down quite a bit (from around 500 ms per request with good 
> memcache to up to 6 seconds with "slow" memcache") and makes the game 
> unplayable.
>
> So, did anybody else also experience this issues, and is there anything 
> from developer side that can be done against that (i do not really want to 
> abadon objectify) or is this just a flaw that Google App Engine Users have 
> to live with like suggested in 
> https://groups.google.com/forum/?fromgroups=#!topic/google-appengine/3gdJKrh5DUQ
> ? 
>
> So how to archieve, constant and predictable memcache performane?
>
>

 I have the same experiences. It's pretty much something you have to live 
with.

Keep in mind, memcache operations are free, while the datastore can get 
very expensive very quickly, especially if your data is stored in a weird 
manner. For some of my clients that demand speed and consistency (and are 
willing to pay for it) I turn off memcache entirely. For other clients who 
want to reduce their expenses as much as possible, I leave on memcache 
(which makes for a dramatic reduction in charges). Other clients have a 
memcache response time tracking system installed - essentially we record 
the speed of memcache operations, and if it exceeds a certain threshold, we 
turn off memcache ops and work entirely from the datastore (but that has 
its own pitfalls and problems). 

There's no right answer here - you have to analyze what you're willing to 
pay for, the performance you expect, the programming hours you're willing 
to put in, and pick accordingly.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to