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 painful right now. We have way more memory
than we'll need any time soon for memcache, so it would be ideal if
each bucket could be replicated on another server, so if one has to go
down in the middle of the day, we don't lose all of the keys stored
there.

Jay

Jim Spath wrote:
> 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 keys
> > across both servers.
> >
> > -Josef
> >
> > On Wed, Aug 19, 2009 at 11:05 AM, Karsten
> > <karsten.landw...@bertelsmann.de
> > <mailto: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

Reply via email to