<div>Thats what i dont want to do. There are situations where I dont know the keys and I need to performe some "global" operation on each type of cache,like iterating all users or groups and do something with each entity.</div> <div>Could I possibly start another daemon thread on a separate port which will imitate another type of cache? But would this be expensive on resources?</div> <div>Thanks</div> <div>Abhishek<BR><B><I>Steven Grimm <sgrimm@facebook.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">There is no built-in support for separate namespaces, but we solve the problem I think you're describing by just putting a short prefix at the start of each key to indicate its type. If you really only have two data types your prefix can be as small as a single character! That approach works like a charm for us.<BR><BR>-Steve<BR><BR><BR>Abhishek Pokharna wrote: <BLOCKQUOTE
cite=mid20060802085316.51216.qmail@web8711.mail.in.yahoo.com type="cite"> <DIV>Guys</DIV> <DIV> I wanted to know if there is any way I could have multiple caches existing on a single memcached daemon? I.e I have multiple caches like Users(key is a username),Groups(key is a groupid) etc.I do not want to mix both of these caches into one cache that stores both types of keys.</DIV> <DIV> </DIV> <DIV>Thanks,</DIV> <DIV>-Abhishek</DIV> <div></div> <HR SIZE=1> Here’s a new way to find what you're looking for - <A href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers</A> </BLOCKQUOTE><BR></BLOCKQUOTE><BR><p> 
        
        
                <hr size=1></hr>
Here’s a new way to find what you're looking for - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers</a>