문제

Scenario: 1 big CouchDB database (master) and several read-only databases (slaves) that continuously replicate from master.

Is it possible to configure additional replications between slaves? Is it possible to only trigger slave-to-slave replication, when master is not reachable or connection speed is to slow?

도움이 되었습니까?

해결책

Replicate without fear in all directions. Couchdb allows multi-master replication and this is one of the things that makes it different from most other DBs. Just take int account that:

  • If you create circular replications or very complicated paths, sometimes it becomes difficult to know where data is coming from.

  • You'll have to supervise replication with your own tools. If you want to enable replications between some databases based on network conditions, you'll have to write your own script for that but this is definitely feasible.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top