在分析数据容灾技术——同步复制和异步复制的特点的基础上,提出了一种软同步复制算法(SSR)。该算法以同步复制算法为基础,通过计算主系统在复制过程中执行核心步骤时的带宽效用,进行同步与异步之间的动态切换,在保证主系统和备份系统数据一致性的同时取得了较高的复制性能,提高了复制效率。实验证明,该算法实现了数据一致性与复制性能之间的权衡,可以为构建实用容灾系统提供支持。
A novel soft-synchronous replication algorithm (SSR) is presented for disaster tolerance based on the analysis of the characteristics of synchronous replication and asynchronous replication. The SSR was designed by .improving synchronous replication algorithm. It switched the replication algorithm dynamically between synchronous and asynchronous by calculating the bandwidth utility of the key steps of the primary system' s replicating process. It kept the primary-backup data consistency and achieved a higher replication performance. It was proved with experiments that algorithm can afford tradeoff between the primary-backup data consistency and the replication performance, and it can help to build a practical disaster tolerance system.