Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top