cross cluster replication in RedisMemcached vs. Redis?Redis HA without clusteringRedis sentinel vs clusteringRedis Cluster ConfigurationCorrect shutdown sequence for Redis clusterHow can I disable redis cluster replicationRedis Replication and Cluster differenceredis cross data center replicationRedis Cluster: Replace failing master that has no slave without downtimeDoes Redis support cross replication between master/slave nodes?
Was Robin Hood's point of view ethically sound?
The meaning of "offing" in "an agreement in the offing"
Is there some sort of French saying for "a person's signature move"?
Why are UK MPs allowed to abstain (but it counts as a no)?
Does the word voltage exist in academic engineering?
Bit floating sequence
I multiply the source, you (probably) multiply the output!
antimatter annihilation in stars
Why is Sojdlg123aljg a common password?
Why can't some airports handle heavy aircraft while others do it easily (same runway length)?
Template default argument loses its reference type
Contractor cut joist hangers to make them fit
If every star in the universe except the Sun were destroyed, would we die?
Project Euler problem #112
Why are some hotels asking you to book through Booking.com instead of matching the price at the front desk?
Are fast interviews red flags?
Owner keeps cutting corners and poaching workers for his other company
Contour plot of a sequence of spheres with increasing radius
Did "Dirty Harry" feel lucky?
How is the phase of 120V AC established in a North American home?
Short story: Interstellar inspector senses "off" nature of planet hiding aggressive culture
Infinitely many primes
How to plot two curves with the same area under?
What is the delta-v required to get a mass in Earth orbit into the sun using a SINGLE transfer?
cross cluster replication in Redis
Memcached vs. Redis?Redis HA without clusteringRedis sentinel vs clusteringRedis Cluster ConfigurationCorrect shutdown sequence for Redis clusterHow can I disable redis cluster replicationRedis Replication and Cluster differenceredis cross data center replicationRedis Cluster: Replace failing master that has no slave without downtimeDoes Redis support cross replication between master/slave nodes?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have 3 Redis clusters each with 3 master nodes and 3 slave nodes. I want to make one of clusters as the primary cluster and the remaining two as the secondary cluster meaning data from the slave/master nodes of the primary cluster will be replicated to the master nodes of the secondary cluster.
In other words, data mapped to each slot of primary cluster would be replicated to corresponding slot of master node in secondary clusters.
Is there any simple way to achieve this? Please help.
Thank you in advance.
redis redis-cluster
add a comment |
I have 3 Redis clusters each with 3 master nodes and 3 slave nodes. I want to make one of clusters as the primary cluster and the remaining two as the secondary cluster meaning data from the slave/master nodes of the primary cluster will be replicated to the master nodes of the secondary cluster.
In other words, data mapped to each slot of primary cluster would be replicated to corresponding slot of master node in secondary clusters.
Is there any simple way to achieve this? Please help.
Thank you in advance.
redis redis-cluster
add a comment |
I have 3 Redis clusters each with 3 master nodes and 3 slave nodes. I want to make one of clusters as the primary cluster and the remaining two as the secondary cluster meaning data from the slave/master nodes of the primary cluster will be replicated to the master nodes of the secondary cluster.
In other words, data mapped to each slot of primary cluster would be replicated to corresponding slot of master node in secondary clusters.
Is there any simple way to achieve this? Please help.
Thank you in advance.
redis redis-cluster
I have 3 Redis clusters each with 3 master nodes and 3 slave nodes. I want to make one of clusters as the primary cluster and the remaining two as the secondary cluster meaning data from the slave/master nodes of the primary cluster will be replicated to the master nodes of the secondary cluster.
In other words, data mapped to each slot of primary cluster would be replicated to corresponding slot of master node in secondary clusters.
Is there any simple way to achieve this? Please help.
Thank you in advance.
redis redis-cluster
redis redis-cluster
asked Mar 28 at 6:32
nipun510nipun510
175 bronze badges
175 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Master nodes are separated by the concept of hashslot as mentioned here https://redis.io/topics/cluster-tutorial, so replication of one master node to other makes no sense. For you use case you can simply have single master node with 2 slave nodes so that data replicated from master node(primary cluster) will be replicated to other slave nodes(secondary cluster).
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55391446%2fcross-cluster-replication-in-redis%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Master nodes are separated by the concept of hashslot as mentioned here https://redis.io/topics/cluster-tutorial, so replication of one master node to other makes no sense. For you use case you can simply have single master node with 2 slave nodes so that data replicated from master node(primary cluster) will be replicated to other slave nodes(secondary cluster).
add a comment |
Master nodes are separated by the concept of hashslot as mentioned here https://redis.io/topics/cluster-tutorial, so replication of one master node to other makes no sense. For you use case you can simply have single master node with 2 slave nodes so that data replicated from master node(primary cluster) will be replicated to other slave nodes(secondary cluster).
add a comment |
Master nodes are separated by the concept of hashslot as mentioned here https://redis.io/topics/cluster-tutorial, so replication of one master node to other makes no sense. For you use case you can simply have single master node with 2 slave nodes so that data replicated from master node(primary cluster) will be replicated to other slave nodes(secondary cluster).
Master nodes are separated by the concept of hashslot as mentioned here https://redis.io/topics/cluster-tutorial, so replication of one master node to other makes no sense. For you use case you can simply have single master node with 2 slave nodes so that data replicated from master node(primary cluster) will be replicated to other slave nodes(secondary cluster).
answered Apr 10 at 18:11
Anuj VishwakarmaAnuj Vishwakarma
4374 silver badges14 bronze badges
4374 silver badges14 bronze badges
add a comment |
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55391446%2fcross-cluster-replication-in-redis%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown