It seems that when the data is too large, we cannot get the response data.
Actually, the data is in the memcached server but the python script cannot get it.
1 #!/usr/bin/env python
2 # coding=utf-8
3 import memcached_udp
4 payload = "B"*65400 + "A"
5 client = memcached_udp.Client([('192.168.63.165', 11211)])
6 client.set('key1', payload)
7 r = client.get('key1')
8 print r
9 print 'done'
output:
None
done
It seems that when the data is too large, we cannot get the response data.
Actually, the data is in the memcached server but the python script cannot get it.
output:
None
done