Comments (5)
Each server is a slave of the other? Redis does not currently support any kind
of multi-master replication, so that will not work. Everything should work as
long as you only have one master.
Perhaps the documentation could be improved regarding this. Not sure.
Original comment by [email protected]
on 10 Sep 2011 at 4:07
from redis.
Hi redis,
Thanks for your response. yes, Each server is a slave of the other, at the
same time, Each server is a master of the other. the scenario I mentioned is
that the two servers is as the role of master and slave of each other. I
hope they can support that when I write data into any server, the data can
be sychronized to other servers. Because as far the redis only support when
I write data or publish data in master server, the data can be sychronized
or received in other slave server which mornitor the subscription operation.
so , I hope in the future the redis can support the below features,
1) multi-master configruation and replication in same application.
2) when I write and publish data into the slave server, the data can be
sychronized to any server.
thanks to let me know the result about the sepcial scenario just I
mentioned, so I only modify the architecture of project in order to meet the
feature of redis.
Best Regests,
weiming
Original comment by [email protected]
on 10 Sep 2011 at 10:24
from redis.
No problem. It's always nice when people show an interest in Redis!
Multi-master replication could perhaps be an interesting feature to have at
some point... There seem to be others interested in that too.
Original comment by [email protected]
on 11 Sep 2011 at 6:14
from redis.
Hey, we plan to go for cluster to start, that also allows for high availability
(but at least three nodes are needed). If this solution will not be good enough
for standard HA setups we'll look at multi-master.
Cheers!
Original comment by [email protected]
on 12 Sep 2011 at 12:24
- Changed state: WontFix
from redis.
To respond back to weiming: if you have two Redis instances that are slaving
against each other, I'm surprised you can run any commands against them at all.
To me, it would seem like you would get a command loop, where a command to
instance A would sync to B, then back to A again.
Without doing anything else, you should watch how quickly the 'commands
processed' output from INFO increments with your current configuration.
Original comment by [email protected]
on 12 Sep 2011 at 6:47
from redis.
Related Issues (20)
- BRPOPLPUSH return type is contingent on success HOT 2
- A 8G .aof file lead redis loading so slowly... HOT 3
- The command "config get databases" does not return
- Allow SORT Command to STORE results as sorted set HOT 1
- Even after flushall maxmemory shows the previous max value. HOT 10
- [FEATURE REQUEST]HMSETX/HSETX HOT 3
- BRPOPLPUSH and a single LPUSH with several items doesn't work well together HOT 2
- Suggestion on either using AOF or Save setting HOT 4
- [FEATURE REQUEST]maxmemory-policy HOT 4
- setex silent data loss when using unix time for expiration value HOT 4
- Need Git Tag for 2.2.13 HOT 1
- DBNUM Command HOT 4
- EXPIREAT make test fails
- Hello, antirez. At what time release b-tree version disk store? HOT 1
- make test error CentOS HOT 2
- Could not connect to Redis at 127.0.0.1:6379: Connection refused HOT 1
- configure bind two interface
- minor change (call to id instead of whoami) in install script HOT 1
- /
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redis.