分布式K/V存储方案-Memcachedb
Memcachedb是 一个由新浪网的开发人员开放出来的开源项目,用于给memcached分布式缓存服务器添加了Berkeley DB的持久化存储机制和异步主辅复制机制,让memcached具备了事务恢复能力、持久化能力和分布式复制能力,非常适合于需要超高性能读写速度;但不需要严格事务约束,能够被持久化保存的应用场景。采用C/C++开发并在BSD协议下授权。MemcacheDB is a distributed key-value storage system designed for persistent. It is NOT a cache solution, but a persistent storage engine for fast and reliable key-value based object storage and retrieval. It conforms to memcache protocol(not completed, see below), so any memcached client can have connectivity with it. MemcacheDB uses Berkeley DB as a storing backend, so lots of features including transaction and replication are supported.
We stand on the shoulders of giants, MemcacheDB source code is based on Memcached.
Features
High performance read/write for a key-value based object
High reliable persistent storage with transcation
High availability data storage with replication
Memcache protocol compatibility
支持单 master多 slave
只有 master可写,所有 node都可以读(写会报错)
支持 fail over,通过 priority可以定义 fail over的策略
部分支持 transaction
可以查询 master(stats repms)
数据库采用 Berkeley DB
支持 memcached协议
V1.0参考文档
最新版本:1.2
项目主页:https://github.com/LMDB/memcachedb/