摘要 |
A system for synchronizing data in a peer-to-peer environment includes multiple computing devices sharing a set of data. Each device includes a replication module for logging and trading data changes with other devices. A device having sufficient resources may also include a local version of the shared data and an application server that allows access to the data even while the device is disconnected from other devices. The replication module logs a description of each operation that alters the data. When one device is connected to a second device in the system to synchronize data, the devices' replication modules exchange log entries. For example, one device receives from a second device data changes made by the second device and other devices that already synchronized with the second device. Thus, the method of data synchronization is transitive and allows a device to fully update its local copy of the shared data by connecting to just one other device, which may or may not be a central server.
|