简体   繁体   中英

Master Slave Memcache replication

Scenario :

Our architecture is based on memcached and with increasing number of user base we need to replicate cache to multiple servers.

We were easily able to replicate between two servers using repcached utility.

We want to load balanced memcached in such a manner that it will work on shards which we define in our code.

The question over here is how can we replicate to multiple servers.

We have changed peer port for replication but still we are not able to replicate keys.

As far as I have been reading, memcached-repcached is capable of 2 node replication setup only. Some other options out there: alternative to memcached that can persist to disk

Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM