Hi there guys,

This was probably asked before but I couldn't find it on the list, so
I'll just go ahead and ask.
Is there a way to have more than one key assigned to a single object ?

In order to have several ways of pointing to a single object, but only
storing one copy of the object on the memory. I understand that this
could also mess up a lot of things, including the hashes for object
distribution between several servers, since the key is used to
determine in which memcached an object resides.

One example of this would be, for example, let's say we have objects
that might have more than one "primary key" that is used to identify
it, for whatever reason. For example, a system that catalogs books,
where we have our internal "book_id", but where we also might want to
fetch books by their ISBN ("book_isbn") or by the unique identifier
that Amazon uses for this book ("book_amazon_id"). So, it would be
nice to be able to apply three keys to the same object (if we ignore
the problems that might bring in environments with lots of servers).

Any thoughts on that ?

[]'s
D

Reply via email to