Synchronisation algorithms

℡╲_俬逩灬. 提交于 2019-12-03 09:36:49

问题


Are there any good references for synchronisation algorithms?

I'm interested in algorithms that synchronize the following kinds of data between multiple users:

  • Calendars
  • Documents
  • Lists and outlines

I'm not just looking for synchronization of contents of directories a la rsync; I am interested in merging the data within individual files.


回答1:


SyncML is a standard for data synchronization of things normally associated with someone's personal organizer. Nokia and Motorola were both using it heavily a few years ago, but I don't know its current state.

iCalendar is a calendar synchronization format specification, and CalDAV is an implementation of iCalendar atop the WebDAV protocol. Google searches for iCal or iCalendar will likely turn up the iCal application supplied by Apple as part of Mac OS X. Keep looking down the list of results until you see something which looks like a protocol.




回答2:


There's a high-level and very broad overview of all synchronisation algorithms in Optimistic Replication (by Yasushi Saito and Marc Shapiro, PDF format).




回答3:


I would have thought that looking at any of the open-source source code control applications would give you the right idea - merging changes between files is exactly what they do...




回答4:


I believe Delta Compression is what you are looking for.



来源:https://stackoverflow.com/questions/59521/synchronisation-algorithms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!