首页> 外国专利> TECHNOLOGY AGNOSTIC SYSTEM AND METHOD FOR ACHIEVING EVENTUALLY-CONSISTENT DATA REPLICATION

TECHNOLOGY AGNOSTIC SYSTEM AND METHOD FOR ACHIEVING EVENTUALLY-CONSISTENT DATA REPLICATION

机译:实现最终一致的数据复制的技术不可知论和方法

摘要

A method for achieving eventually-consistent data replication in a technology agnostic manner. The method can be implemented via execution of computing instructions configured to run at one or more processors and stored at one or more non-transitory computer-readable media. The method can include receiving, by a system comprising the one or more processors and the one or more non-transitory computer-readable media, a write request for an object. The write request can be received from a user device or an application server. The method further can include performing a write operation for the object, by the system, after the write request is received. Performing the write operation can comprise: (a) adding an intent record to a tracker table, the intent record comprising a primary key uniquely associated with the object and a version associated with the object; and (b) updating the object, the object including the primary key and the version, in a primary data store, after the intent record is added. The method further can include reconciling, by the system, each intent record that is stranded in the tracker table. Reconciling each intent record that is stranded in the tracker table can comprise, for a respective stranded intent record of the one or more stranded intent records, (a) attempting to obtain, from the primary data store, a primary object that is uniquely associated with a stranded primary key of the respective stranded intent record; (b) when (A) the primary object is obtained and (B) a primary object version of the primary object is equal to a stranded intent version of the respective stranded intent record, replicating the primary object from the primary data store to at least one secondary data store; (c) when the primary object is not obtained, deleting the object from the secondary data store; and (d) when at least one of: (A) the primary object is not obtained, (B) the primary object version of the primary object is not equal to the stranded intent version of the respective stranded intent record, or (C) the primary object from the primary data store is replicated to the at least one secondary data store, clearing the respective stranded intent record from the tracker table. Other embodiments are disclosed.
机译:一种以技术不可知方式实现最终一致的数据复制的方法。该方法可以通过被配置为在一个或多个处理器处运行并存储在一个或多个非暂时性计算机可读介质中的计算指令来实现该方法。该方法可以包括由包括一个或多个处理器和一个或多个非暂时性计算机可读介质的系统接收对象的写请求。可以从用户设备或应用程序服务器接收写请求。在接收到写请求之后,该方法还可以包括通过系统对对象进行写入操作。执行写入操作可以包括:(a)将意图记录添加到跟踪器表,其意图记录包括与对象相关联的主键和与对象相关联的版本; (b)在添加意图记录后更新对象,在主数据存储中包含主键和版本的对象,包括主数据存储。该方法还可以包括通过系统调整,每个速度记录在跟踪器表中搁置。重新调用在跟踪器表中搁置的每个意图记录可以包括,对于一个或多个链接的意图记录的相应搁浅的意图记录,(a)从主数据存储器,从主数据存储唯一地相关联相应搁浅的意图记录的搁浅的主要关键; (b)当(a)获取主对象并且(b)主对象的主对象版本等于相应搁浅的意图记录的滞留意图版本,至少将主数据存储复制到一个辅助数据存储; (c)未获得主对象时,从辅助数据存储中删除对象; (d)当至少一个:(a)未获得主对象时,(b)主对象的主对象版本不等于相应搁浅的意图记录的链载意图版本,或(c)来自主数据存储的主要对象被复制到至少一个辅助数据存储,从跟踪器表清除相应的股线意图记录。公开了其他实施例。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号