minikeyvalue
A distributed key value store in under 1000 lines
minikeyvalue is a compact distributed key-value store designed to avoid the complexity of larger distributed filesystems. The codebase is roughly 1,000 lines while supporting replication, multiple machines, and multiple drives per machine. It is optimized for comparatively large values between about 1 MB and 1 GB and is intended to scale to very large collections. Standard nginx instances act as volume servers, while filesystem storage holds blobs and LevelDB maintains the index. A simple...