On Nov 17, 6:30 pm, Jon McAlister <[EMAIL PROTECTED]> wrote: > > For any particular "key", all instances will talk to the same memcache > backend. Note that we can easily have different keys hosted on > different backends, though, thanks to the simplicity of the memcache > API (i.e. lack of transactions). This is how we can shard one app's > memcache data on to multiple machines.
Ah! That explains it. This also means that an idea I had about sharding the Memcache will work. Let's say that we have a key named 'indexpage'. We can then shard the Memcache by adding an index, say 0..99 to the key, so instead of just accessing a single key 'indexpage' we can randomly access keys with the index added to it, such as: 'indexpage_32', 'indexpage_7', 'indexpage_85' etc. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
