首页>
外国专利>
COMPARE AND SWAP FUNCTIONALITY FOR KEY-VALUE AND OBJECT STORES
COMPARE AND SWAP FUNCTIONALITY FOR KEY-VALUE AND OBJECT STORES
展开▼
机译:键值和对象存储的比较和交换功能
展开▼
页面导航
摘要
著录项
相似文献
摘要
Embodiments for providing compare and swap (CAS) functionality to key value storage to allow multi-threaded applications to share storage devices and synchronize multiple concurrent threads or processes. A key-value application programming interface (API) is modified to include a CAS API in addition to the standard Put and Get APIs. The CAS function uses a key, expected old value, and new value to compare and swap an existing key value only if its current value equals the expected old value. Hash values of the key value and expected old value may be used by the CAS function to improve performance and reduce bandwidth.
展开▼