- Couch database provides the feature of replication to copy a database.It is a nice feature to backup the document.
- It supports continuous replication also. Here in Every 5 seconds the replicator service get called for sync.
- In this Demo,”We are using Futon to create two database replica of student. “student_replica” is a backup replica of student. “student_contineous_replica” is a continuous replica of student”.
- In Continuous replica the sync happens in 5 milliseconds by default.
- The Futon Replicator Window, mentioning source as the database which needs to be replicate,
- For Replicating a database we need to create an empty database.Here we have created two empty databases “student_replica” (for normal backup replica) and “student_contineous_replica” (for continuous backup replica).
- The Futon replicator window,
- The Futon Replicator Window for continuous replication checkbox selected,
- The status window result,