首页> 外国专利> READ-AFTER-WRITE CONSISTENCY FOR DERIVED NON-RELATIONAL DATA

READ-AFTER-WRITE CONSISTENCY FOR DERIVED NON-RELATIONAL DATA

机译:派生非关系数据的读写后一致性

摘要

A system is provided that ensures read-after-write consistency. During operation, the system receives, from a user, a write to a record having a primary key in a master key-value store, wherein the write specifies a secondary key for the record. The system then caches the secondary key and the primary key in a cache entry in a cache, wherein the cache entry is associated with the user. Next, the system applies the write to the master key-value store. Prior to propagation of the write from the master key-value store to a derived key-value store that maps secondary keys to primary keys, the system receives from a given user a query for the record, the query comprising the secondary key and not the primary key. Next the system translates the secondary key to the primary key by querying the cache when the given user is the user.
机译:提供了一种确保写后读取一致性的系统。在操作期间,系统从用户接收对在主键值存储中具有主键的记录的写操作,其中该写操作指定记录的辅助键。然后,系统将次要密钥和主密钥缓存在缓存中的缓存条目中,其中该缓存条目与用户相关联。接下来,系统将写入操作应用于主键值存储。在将写操作从主键值存储传播到将辅助键映射到主键的派生键值存储之前,系统会从给定用户接收对该记录的查询,该查询包括辅助键,而不是主键。首要的关键。接下来,当给定用户为用户时,系统通过查询缓存将辅助密钥转换为主密钥。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号