摘要: 在应用SyncML同步协议及其开源实现Sync4j进行大数据量的数据同步时,会因同步服务器或网络缺乏足够高的性能而产生同步能力不足的问题,从而导致同步过程不可靠乃至不可用。该文提出并实现了“水平分割”策略来控制同步传输负载以提高可靠性,配置“断点续传”机制以提高同步过程中异常恢复的效率。实验结果表明,该方法和策略较好地保证了主流商业数据库同步的稳定性,提高异常恢复的效率。
关键词:
SyncML协议,
数据库,
数据同步能力,
适应处理
Abstract: Due to the shortage of sync-capacity-adaption mechanism, the performance of Sync4j is unstable and even drops dramatically when syncronizing a huge set of data records. To handle this problem, this paper proposes and implements the “horizontal division” technique to control the sync load for a higher reliability, and the “resuming at the savepoints” mechanism to upgrade the efficiency of sync abort recovery. Experimental results show that, these approaches can guarantee the performance stability of data sync for major commercial DBMSs and MS SQL Server, and improve the efficiency of sync abort recovery.
Key words:
SyncML protocol,
database,
data-sync-capacity,
adaptation handling
中图分类号:
姚 路;杨海涛 ;王正华;杨 鹏. 基于SyncML协议的数据同步能力适应处理[J]. 计算机工程, 2009, 35(5): 68-71,9.
YAO Lu; YANG Hai-tao; WANG Zheng-hua; YANG Peng. Data-sync-capacity Adaptation Handling Based on SyncML Protocol[J]. Computer Engineering, 2009, 35(5): 68-71,9.