
A Simple Distributed Key/Value Store
Few core commands and concepts: building blocks to complex
solutions.
■ Fetchers: “get key”. get, gets, gat, gats
■ Mutators: “set key flags exptime length”. set, append, prepend,
cas, touch, delete
■ Arithmetic: “incr key amount”. incr, decr.
■ Compare-And-Swap concept: extra increasing numerical ID: “if the
ID has not changed since fetching value, then update key”
■ Key Distribution Logic in clients (consistent hashing)
3
评论