Are memcached entries saved by the Danga client compatible with the Spy client?

Posted by jigjig on Stack Overflow See other posts from Stack Overflow or by jigjig
Published on 2010-03-30T21:38:23Z Indexed on 2010/03/30 21:43 UTC
Read the original article Hit count: 284

Filed under:
|
|
|

After saving a String value into memcached using the Danga client, I attempted to get the entry using the Spy client. The two String values are not the same. The Danga client retrieves a string with an additional empty char prepended to the string, therefore violating the equality condition.

Danga: t,e,s,t,s,t,r,i,n,g

Spy: ,t,e,s,t,s,t,r,i,n,g

I also attempted to save a serialized Map using the Danga client and get the Map using the Spy client. The Spy client is able to only get a String form of the Map. The string contains binary values, as below:

sr

© Stack Overflow or respective owner

Related posts about memcached

Related posts about spy