1 Star 0 Fork 0

雨碎江南/dsa4j

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

memcached

Two types of distribution algorithm influence the memcached hits rate

First,edit the memcached.json,the value of the distribution strategy are hash and mod,you can change it.Then run the following scripts.

$ ./memcached-stop.sh
$ ./memcached-start.sh
$ node initdata.js
$ node web.js

Then,open your browser and navigate to http://127.0.0.1:8080,after few seconds,run exec.js to simulate a server shutdown.

Old data kick out

$ ./memcached-stop.sh
$ ./olddata.sh
$ telnet 127.0.0.1 11211
$ stats

Attention

if install some package error,maybe the registry cause,please use the https://registry.npmjs.org,do not to use https://registry.npm.taobao.org.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/gaopengfei/dsa4j.git
git@gitee.com:gaopengfei/dsa4j.git
gaopengfei
dsa4j
dsa4j
master

搜索帮助