全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Key–value store?

又称: key--value store

Definition 31.1 University Computer Science — Year 2 · 第 31 章 — Project: A Key-Value Server

A key–value store is a service that keeps a finite map from keys to values and offers three operations on it: set the value of a key, get the value of a key, and delete a key. It offers no query over the values, no join and no schema: a client that needs them builds them from keys.

The server’s architecture at the end of milestone 4. The listener accepts connections and puts them in a queue; a fixed set of workers take them, one each, and answer the requests. A request locks the one shard that holds its key; a change is appended to the log under that shard’s lock.
The server’s architecture at the end of milestone 4. The listener accepts connections and puts them in a queue; a fixed set of workers take them, one each, and answer the requests. A request locks the one shard that holds its key; a change is appended to the log under that shard’s lock.
在原文中阅读 →