摘要:
memcached客户端(python)快速使用import pmemcachedcache_servers = (('192.168.1.101',11211),('192.168.1.121',11211),('192.148.1.6',11211)) #缓存服务器列表client = PMemcachedClient(cache_servers) #创建客户端对象client.add('id001','54844') #往缓存服务器存值 print client.get('id001') #往 阅读全文