文件名称:ketama
- 所属分类:
- Internet/网络编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-04-06
- 文件大小:
- 41kb
- 下载次数:
- 0次
- 提 供 者:
- y**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一致性哈希算法(Consistent Hashing Algorithm)是一种分布式算法,常用于负载均衡。Memcached client也选择这种算法,解决将key-value均匀分配到众多Memcached server上的问题。它可以取代传统的取模操作,解决了取模操作无法应对增删Memcached Server的问题(增删server会导致同一个key,在get操作时分配不到数据真正存储的server,命中率会急剧下降),-Consistency hash algorithm (Consistent Hashing Algorithm) is a distributed algorithm commonly used in load balancing. The Memcached client also choose this algorithm to solve the key-value evenly distributed to many Memcached server. It can replace the traditional modulo operation modulo operation can not cope with the additions and deletions Memcached Server (additions and deletions server will result in the same key, get operations allocated less than the real data storage server, the hit rate would drop dramatically)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ketama
......\java_ketama
......\...........\README
......\...........\SockIOPool.java
......\ketama.servers
......\ketama.two.servers
......\ketama_test.php
......\ketama_test_multi.php
......\libketama
......\.........\ketama.c
......\.........\ketama.h
......\.........\ketama_test.c
......\.........\Makefile
......\.........\md5.c
......\.........\md5.h
......\LICENSE
......\php_ketama
......\..........\config.m4
......\..........\CREDITS
......\..........\EXPERIMENTAL
......\..........\ketama.c
......\..........\ketama.php
......\..........\php_ketama.h
......\..........\tests
......\..........\.....\001.phpt
......\README
......\TODO