分布式K/V存储方案-Flare
2011-02-19 09:22:50 阿炯

本站赞助商链接,请多关照。

Tokyo Cabinet (TC) 是日本第一大SNS网站mixi开发的,而Flare是日本第二大SNS网站green.jp开发的。Flare简单的说就是给TC添加了scale功能,他替换掉了TT部分,自己另外给TC写了网络服务器;Flare的主要特点就是支持scale能力,它在网络服务端之前添加了一个node server,来管理后端的多个服务器节点,因此可以动态添加数据库服务节点,删除服务器节点,也支持failover。如果你的使用场景必须要让TC可以scale,那么可以考虑flare。

Flare只支持memcached协议,因此当你使用flare的时候,就不能使用TC的table数据结构了,只能使用TC的key-value数据结构存储。

Flare is distributed, and persistent key-value storage compatible with memcached, and has more features:

* persistent storage (you can use flare as persistent memcached)

* pluggable storage (currently only Tokyo Cabinet is available, though)

* data replication (synchronous or asynchronous)

* data partitioning (automatically partitioned according to # of master servers (clients do not have to care about it))

* dynamic reconstruction, and partitioning (you can dynamically (I mean, without any service interruption) add slave servers and partition master servers)

* node monitoring and failover (if any server is down, the server is automatically isolated from active servers and another slave server is promoted to master server)

* request proxy (you can always get same result regardless of servers you connect to. so you can think flare servers as one big key-value storage)

* over 256 bytes keys, and over 1M bytes values are available


最新版本:1.0


项目主页:http://labs.gree.jp/Top/OpenSource/Flare-en.html

该文章最后由 阿炯 于 2013-04-26 06:48:57 更新,目前是第 2 版。