> Is there a way to create cache regions using the spymemcached client? > I'm aware of how one can create cache regions in hibernate. Is there a > programmatic way of doing something analogous to that? > > - Ritesh
Memcached itself (regardless of what language or client library you use) doesn't support namespaces or regions at all. See the faq under "Namespaces". http://code.google.com/p/memcached/wiki/FAQ That being said... The hibernate-memcached library, which uses spymemcached, handles cache regions much in the same way mentioned in the FAQ. Region + key = cache key. http://code.google.com/p/hibernate-memcached/
