随笔分类 -  Memcached

摘要:目标主机:localhost:11200 | localhost:11201 | localhost:11202 根据user客户端的sessionid 来定位使用哪台服务器;如果其中一台挂掉;则;循环添加其他的memcache;直到添加成功返回;连接的当前主机IP; 运行结果: 阅读全文
posted @ 2018-04-12 16:38 王默默 阅读(440) 评论(0) 推荐(0)