Re: Copy complete cache from one server to an other via script

2009-08-21 Thread Karsten
Hi guys, so do I understand it right that memcached from built-in don't support replication? Is there a workaround for setting up a replication of two server? If found this link: http://repcached.lab.klab.org/ Hase someone already tried this? Regards, Karsten Jim Spath wrote: Maybe you

Re: Copy complete cache from one server to an other via script

2009-08-21 Thread Dustin
On Aug 21, 4:20 am, Karsten karsten.landw...@bertelsmann.de wrote: Hi guys, so do I understand it right that memcached from built-in don't support replication? Is there a workaround for setting up a replication of two server? If found this link:http://repcached.lab.klab.org/ Hase

Re: Copy complete cache from one server to an other via script

2009-08-20 Thread Flinn Mueller
On Aug 20, 2009, at 1:36 AM, Jay Paroline wrote: Actually if anyone can provide hints about existing memcached replication solutions, especially for php, that would make me very happy. We have some keys that are very expensive to regenerate when they fall out of memcached, so losing a bucket

Copy complete cache from one server to an other via script

2009-08-19 Thread Karsten
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

Re: Copy complete cache from one server to an other via script

2009-08-19 Thread Josef Finsel
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

Re: Copy complete cache from one server to an other via script

2009-08-19 Thread Jim Spath
Maybe you should look into Memcached replication Josef Finsel wrote: 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

Re: Copy complete cache from one server to an other via script

2009-08-19 Thread Jay Paroline
Actually if anyone can provide hints about existing memcached replication solutions, especially for php, that would make me very happy. We have some keys that are very expensive to regenerate when they fall out of memcached, so losing a bucket due to server failure, maintenance, etc. is very

Re: Copy complete cache from one server to an other via script

2009-08-19 Thread Dustin
On Aug 19, 10:36 pm, Jay Paroline boxmon...@gmail.com wrote: Actually if anyone can provide hints about existing memcached replication solutions, especially for php, that would make me very happy. We have some keys that are very expensive to regenerate when they fall out of memcached, so