为您的项目选择了memcached。找到了两个Java xmemcached和spymemcached实现。关于这些产品之间差异的信息非常少。
答案 0 :(得分:1)
xmemcached的专业版:
- 支持故障转移 - 配置“host1:port,host2:port”。客户端进入“host1:port”,直到此memcached为aliave。在此memcached失败后,它进入“host2:port”。
xmemcached的缺点:
- setWithNoReply()操作不稳定。我们不得不使用set()代替:http://code.google.com/p/xmemcached/issues/detail?id=194
- 分区/分片很重。对于客户端,配置“host1:port,host2:port host3:port,host4:port”比配置“host1:port,host2:port”更重
- xmemcached只有一个贡献者,而spymemcached中有很多贡献者