On Dec 21, 1:03 am, speedfirst <[email protected]> wrote: > For example, a key value pair "testkey"="200" has existed in a > memcached server. When 2 or more write threads issue "incr testkey 1" > simultaneously with nonblocking manner. And there is a read thread > only for reading response from memcached. What the response is? > > My test show: > 201CRLF > 202CRLF > END > > Is this "END" part of correct response? Not found this in the protocol > text file.
It's really unclear what you're doing. TCP doesn't have threads -- can you show a pcap file or a really tiny test that reproduces the issue you're seeing?
