memcached的分布式算法-Consistent Hashing
Memcache的使用和协议分析详解
Memcached深度分析(原创)
memcache_server_add('hostname:port'::TEXT)
SELECT memcache_server_add('localhost:11211');
SELECT memcache_server_add('localhost:11212');
SELECT memcache_set('tangcheng','test_value1');
SELECT memcache_set('yaoyao','test_value2');
SELECT memcache_set('guoguo','test_value3');
SELECT memcache_get('tangcheng');
select memcache_replace('tangcheng', 'tangchengvalue');
pgmemcache.default_behavior='BINARY_PROTOCOL:1,MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS:2'
SELECT memcache_server_delete('localhost:11212');
阅读(1621) | 评论(0) | 转发(0) |