Karsten, It's not really possible nor should you worry about it. If this is really an issue, then the way you're using memcached is probably not correct.
If the memcached client is set correctly, it will distribute the keys across both servers. -Josef On Wed, Aug 19, 2009 at 11:05 AM, Karsten <karsten.landw...@bertelsmann.de>wrote: > > Hi guys, > > I'm a newbie to memcached server and need your help. > > I'm currently working on a script, or trying to start working ;), > that should copy all keys (all cached object) to an other memcached > server. > > The situation is as follows: > I have two memcached server. Some users may login on a website and > their session will be cached on one of the server, not on both. But > both server should have the same cached content in case one server > goes down. > > Can you tell me if this is possible and how to do it (a link to an > example or something that may help me)?? > > I have to write this script with perl, but the perl api doesen't look > like what i need. > > > Best regards, > Karsten > -- "If you see a whole thing - it seems that it's always beautiful. Planets, lives... But up close a world's all dirt and rocks. And day to day, life's a hard job, you get tired, you lose the pattern." Ursula K. Le Guin What's different about data in the cloud? http://www.azuredba.com http://www.finsel.com/words,-words,-words.aspx (My blog) - http://www.finsel.com/photo-gallery.aspx (My Photogallery) - http://www.reluctantdba.com/dbas-and-programmers/blog.aspx (My Professional Blog) I enjoy the massacre of ads. This sentence will slaughter ads without a messy bloodbath.