In pre-example, if I want to remove all persion data from memcached, what shoule I to?<br>I don't will run a separate memcached process for each object type.<br>thanks.<br><br><div><span class="gmail_quote">2006/9/27, Steven Grimm <
<a href="mailto:sgrimm@facebook.com">sgrimm@facebook.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">¿ÉÒÔ¡£You can get the same effect by just putting a prefix in front of
<br>the IDs. So instead of a key of "foo" for a product, you'd use<br>"product:foo". We do this very successfully with a large number of<br>different object types.<br><br>If you can't do that, then you can also run multiple memcached instances
<br>and fetch different object types from each instance. We actually do a<br>bit of that as well; we modified our client code to look at the key and<br>choose from separate lists of servers for certain object types.<br>(Unfortunately due to some licensing ambiguities in the code we
<br>modified, we can't release those changes.)<br><br>-Steve<br><br><br>ÉÛÃ÷᪠wrote:<br>> For example, I want to cache person and product information in<br>> memcached. Their key both are a identify of string type. Can I create
<br>> separate hash table for they in order to avoid a identify of a person<br>> and a product are equivalent? thanks.<br><br></blockquote></div><br>