concept replication in category ravendb

appears as: replication, replication
RavenDB in Action

This is an excerpt from Manning's book RavenDB in Action.

Setting up replication on a database will tell RavenDB to clone this database to other RavenDB servers, and keeping all clones up-to-date as new changes come in. This is done by telling the database the addresses of those servers, and once replication is enabled RavenDB will perform the replication in the background.

Since in RavenDB we deal with documents, enabling replication for a database effectively means all documents from that database will be available from all RavenDB servers that have been configured to hold this database. Replication is an asynchronous process, meaning it runs in the background of the replicating server. Therefore, it may take new documents, or changes to existing documents, some time to propagate to all the servers holding the database. However, once they have propagated, every document in the database will be available from all those servers.