如何构建memcached服务器集群并使用finagle访问它。ct看起来像是ServerSet和ZooKeeper可以用来构建集群。但我有几个问题。
1将密钥分发到集群中的memcached服务器的算法是什么?2 finagle如何检测memcached服务器故障,以及故障转移是如何完成的。看起来一切都是从客户端完成的。在服务器端不需要做任何事情。
谢谢
发布于 2012-09-27 08:08:28
- failFast: if there's a disconnection, we evict the server from the pool and start a background process to reconnect to it
- retries: if the failed to do an action, we can retry a specific number of try (potentially using exponential backoff)
- timeout (different levels), no need to explain
- balancing: based on the least number of pending requests per hosts
https://stackoverflow.com/questions/12588111
复制相似问题