摘要
在主备应用服务器对控制命令的处理过程中,如果出现异常掉电或系统崩溃等情况,可能会导致应用服务器出现数据不一致的问题。针对这一问题,介绍了一种基于WAL(Write-Ahead Logging)机制的应用服务器同步实现方法,描述了应用服务器通过WAL及索引、共享队列、检查点实现数据同步的过程,并在各种试验场景中对同步过程进行了详细的论述。研究表明,利用WAL机制实现应用服务器数据同步是行之有效的方法。
During the processing of control commands on the active and standby application servers,data inconsistency may occur if an exception occurs,such as a power failure or system crash.To solve this problem,this paper introduces a method of application server synchronization based on WAL(Write-Ahead Logging)mechanism,describes the process of application server data synchronization through WAL and its index and shared queue,checkpoint,and discusses the synchronization process in detail in various experimental scenarios.The research shows that,WAL mechanism is an effective method to realize data synchronization in application servers.
出处
《工业控制计算机》
2023年第8期18-20,共3页
Industrial Control Computer