multi master

120 views
Skip to first unread message

Kaan Çalışkan

unread,
May 17, 2012, 6:54:19 AM5/17/12
to redi...@googlegroups.com
Hi,

I want to use multi master server for one slave. Can i do this?

Best regards.

Hampus Wessman

unread,
May 17, 2012, 7:41:18 AM5/17/12
to redi...@googlegroups.com
Redis only supports asynchronous master-slave replication. There is no
support for any kind of multi-master replication. Redis doesn't know how
to handle conflicting updates on two different masters, so there is no
easy way to add support for this.

You would have to develop a solution for this yourself.

Best regards,
Hampus
> --
> You received this message because you are subscribed to the Google
> Groups "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to
> redis-db+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/redis-db?hl=en.

Kaan Çalışkan

unread,
May 17, 2012, 8:27:18 AM5/17/12
to redi...@googlegroups.com
Hi,

You mean multi master is not synch. When set one value to master server, i can't read it from slave after that.

Best regards.

2012/5/17 Hampus Wessman <ham...@hampuswessman.se>
Redis only supports asynchronous master-slave replication. There is no support for any kind of multi-master replication. Redis doesn't know how to handle conflicting updates on two different masters, so there is no easy way to add support for this.

You would have to develop a solution for this yourself.

Best regards,
Hampus


Kaan Çalışkan skrev 2012-05-17 12:54:
Hi,

I want to use multi master server for one slave. Can i do this?

Best regards.

--
You received this message because you are subscribed to the Google
Groups "Redis DB" group.
To post to this group, send email to redi...@googlegroups.com.
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/redis-db?hl=en.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To post to this group, send email to redi...@googlegroups.com.
To unsubscribe from this group, send email to redis-db+unsubscribe@googlegroups.com.

Hampus Wessman

unread,
May 17, 2012, 8:52:32 AM5/17/12
to redi...@googlegroups.com
Well, Redis only supports asynchronous replication, so if you replicate
to a slave then updates won't show up immediately at the slave. You will
eventually be able to read it from the slave, but it may take a (very)
short time before it is possible.

Also, Redis doesn't support any kind of replication setup that involves
more than one master. Not at the moment, at least. Even Redis Cluster
will have a single master for each key, AFAIK.

(Multi-master replication can be either synchronous or asynchronous, but
neither is supported.)

BR,
Hampus


Kaan Çalışkan skrev 2012-05-17 14:27:
> Hi,
>
> You mean multi master is not synch. When set one value to master server,
> i can't read it from slave after that.
>
> Best regards.
>
> 2012/5/17 Hampus Wessman <ham...@hampuswessman.se
> <mailto:ham...@hampuswessman.se>>
>
> Redis only supports asynchronous master-slave replication. There is
> no support for any kind of multi-master replication. Redis doesn't
> know how to handle conflicting updates on two different masters, so
> there is no easy way to add support for this.
>
> You would have to develop a solution for this yourself.
>
> Best regards,
> Hampus
>
>
> Kaan Çalışkan skrev 2012-05-17 12:54:
>
> Hi,
>
> I want to use multi master server for one slave. Can i do this?
>
> Best regards.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com
> <mailto:redi...@googlegroups.com>.
> To unsubscribe from this group, send email to
> redis-db+unsubscribe@__googlegroups.com
> <mailto:redis-db%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/__group/redis-db?hl=en
> <http://groups.google.com/group/redis-db?hl=en>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com
> <mailto:redi...@googlegroups.com>.
> To unsubscribe from this group, send email to
> redis-db+unsubscribe@__googlegroups.com
> <mailto:redis-db%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/__group/redis-db?hl=en
> <http://groups.google.com/group/redis-db?hl=en>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to
> redis-db+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages