Redis Replication in a DRP

72 views
Skip to first unread message

Olivier

unread,
Jan 19, 2015, 3:16:08 AM1/19/15
to redi...@googlegroups.com
Hi all !!

I need to synchronize to Redis Server who are physically in to 2 separated Datacenter (Disaster Recovery Plan)
These 2 Redis servers are Master cause they need to write and read all the time.

My problem for erxample is that for a unique client  one connection can Write in Datacenter A and for a second time Read some datas in the Datacenter B.
These datas are not accessible in this datacenter B.

In fact, these 2 Redis server should be master and slave to them self.

Is that possible ?

Thx.

Michel Martens

unread,
Jan 19, 2015, 3:26:27 AM1/19/15
to redi...@googlegroups.com
Hello Olivier,

What you describe would be a multi master setup, and it's not possible
with Redis. The closest you can get is to distribute the reads across
datacenters by configure one instance as a slave of the other, but you
can only have one master at a time.
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to redis-db+u...@googlegroups.com.
> To post to this group, send email to redi...@googlegroups.com.
> Visit this group at http://groups.google.com/group/redis-db.
> For more options, visit https://groups.google.com/d/optout.

Olivier

unread,
Jan 19, 2015, 4:07:53 AM1/19/15
to redi...@googlegroups.com
Thanks for your answer !!

I will find an other solution 

thx
Reply all
Reply to author
Forward
0 new messages