Synchronous or asynchronous replication