Hi all,
Reading the cluster-tutorial (http://redis.io/topics/cluster-tutorial) it mentions:
“Note: Redis Cluster in the future will allow users to perform synchronous writes when absolutely needed.”
Can anyone one tell me if this is still future plans or if this has actually been implemented by now?
If not, is this in the near pipeline and expected available before release of production redis-cluster?
I'm interested in replicating writes to at least one other node in the cluster and having the remote write acknowledged before the client is acknowledged.
Best regards,
Flemming
The new implementation of Sentinel already elects the slave with the best replication offset
available, assuming it publishes its replication offset via INFO (that is, it must be Redis
2.8 or greater), so a good setup can be to run an odd number of Redis nodes, with a Redis
Sentinel installed in every node, and use synchronous replication to write to the majority
of nodes. As long as the majority of the nodes is available, a Sentinel will be able to
win the election and elect a slave with the most updated data.
Redis currently is not able to use any of the above systems, and is currently outside the development goals.
Hi Salvatore,I have a few doubts. We have our own logic for sharding data, we don't want Redis to shard for us. We run multiple standalone Redis servers, each hosting one shard. What we are looking forward to, is High Availability with 'strong consistency'. We want to implement master-slave replication with the guarantee that in case the master goes down and a replica is promoted, we never loose any data.
But redis does support 'synchronous replication' using WAIT (as mentioned here: http://antirez.com/news/66), right? Does that mean the doc is out dated?