问题描述:

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!

相关阅读:
Top