Data Synchronization framework / algorithm for server<->device?

耗尽温柔 提交于 2019-12-04 03:25:32

Perhaps using plain old rsync is enough.

AFAIK there isnt any generic solution to this mainly due to the diverse requirements for synchronization.

In one of our earlier projects we implemented a Spring batching based sync mechanism which relies on last updated timestamp field on each of the tables (that take part in sync).

I have heard about SyncML but dont have much experience with that.

If you have a single server and multiple clients, you could think of a JMS based approach. The data is bundled and placed in Queues (or topics) and would be pulled by clients.

In your case, since updates are bi-directional, you need to handle conflict detection as well. This brings additional complexities.

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