Directory synchronization aims to maintain the consistency of specified directories. These directories come from different computers and the process of synchronization requires several steps: differences found, differences propagation, conflict discovery, conflict resolution, changes merge. In WAN environment, multi-node directories synchronization has some important features, frequently joining or leaving nodes, concurrent modification, complicate network connection and routing. CloudSync, a multi-nodes directory synchronization system has been proposed. CloudSync compares the current state of directory with last synchronization state to discover the changed files. A master node is used to save and transfer copies of the client changed files. CloudSync proposed a new algorithm which combines the conflict discovery mechanism of SVN with the Vector Clock algorithm to manage the replication files and find conflicts quickly. Eventual consistency between the multi-nodes has been guaranteed.
展开▼