摘要: 运行结果: 阅读全文
posted @ 2018-04-12 16:42 王默默 阅读(411) 评论(0) 推荐(0)
摘要: 目标主机:localhost:11200 | localhost:11201 | localhost:11202 根据user客户端的sessionid 来定位使用哪台服务器;如果其中一台挂掉;则;循环添加其他的memcache;直到添加成功返回;连接的当前主机IP; 运行结果: 阅读全文
posted @ 2018-04-12 16:38 王默默 阅读(438) 评论(0) 推荐(0)
摘要: 连接到 redis 服务 执行脚本,输出结果为: Redis PHP String(字符串) 实例 执行脚本,输出结果为: Redis PHP List(列表) 实例 执行脚本,输出结果为: Redis PHP Keys 实例 执行脚本,输出结果为: 阅读全文
posted @ 2018-04-12 11:19 王默默 阅读(696) 评论(0) 推荐(0)
摘要: PHP中的socket 阅读全文
posted @ 2018-04-12 09:20 王默默 阅读(253) 评论(0) 推荐(0)