全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Computer Science · 术语表

什么是 Sharding, lock striping?

又称: sharding · lock striping

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

Sharding splits a map into NN parts, the shards, and puts each key in the shard numbered by a hash of the key modulo NN. With one lock per shard, lock striping, two requests on keys of different shards proceed in parallel.

在原文中阅读 →