Skip to content

Replication

ideawu edited this page Mar 19, 2013 · 22 revisions

SSDB Replication Hirarchy

Master-Slave

1

Master Config:

server:
	ip: 127.0.0.1
	port: 8888
replication:

Slave Config:

server:
	ip: 127.0.0.1
	port: 8889
replication:
	slaveof:
		ip: 127.0.0.1
		port: 8888

Master-Master

2

Master Config:

server:
	ip: 127.0.0.1
	port: 8888
replication:
	slaveof:
		ip: 127.0.0.1
		port: 8889

Slave Config:

server:
	ip: 127.0.0.1
	port: 8889
replication:
	slaveof:
		ip: 127.0.0.1
		port: 8888

Mixed(future feature)

3

Clone this wiki locally