How often will requests from a given user come in? Do you expect to get a request from all of the other users between each user's requests?
I don't think Google actually publishes how much memcache you get, but I'm guessing it isn't 1gb / app. Perhaps you can only store some information or use compression to boost your capacity. If you've got a legitimate use case, you might also be able to request an increase if you realy need it. Of course you could also look into using the new backends feature to constrcut your own more specialized caching system too. If users need to read *and* write on every request, memcahce might save you a bit of latency but you're going to be heavily using the datastore anyway. Personally I'd suggest trying it to see what kind of boost you get, it might give you a very good boost if you'll have groups of users that are 'more' active during some periods. Robert On Mon, May 16, 2011 at 12:40, blue <[email protected]> wrote: > I've been designing my app under the impression that memcache was relatively > large, however, I keep reading the contrary. My app needs about 1gig worth > of memcache space in order to be cost effective, otherwise my hits to the > datastore will kill my budget. When a user is logged into my app, they need > to read and write their user object on every request and if I have 100000 > simultaneous users then I will need about 1gb of memcache to store all > entities. > If memcache is only 10mb or 100mb then memcache will be completely useless > for this scenario, I will never get a cache hit because I will be simply > cycling new data though memcache. > Is this how memcache works? Should I not be caching user data in memcache? > > > -- > 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. > -- 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.
