Basic help required for the JAVA API
arnaud-memcached at connois.com
Tue Apr 10 07:56:09 UTC 2007
Thanks everybody about all your comments...
I thought that serialisation was some kind of a standard, and had no
idea an Php array serialised had no equivalent in Java... So if it is
the case I will definitly use a different format.
And yes JSON seems like the more elegant and right way to go. I'll have
my arrays JSONed in PHP and unJSONed in Java as easily as they are
serialised. Should be quite easy.
Many thanks everybody for your help.
Long life to memcached, this is a wonderful product that served me well
in the past few years, and I'm sure will serve me for a long time.
Nathan Schmidt wrote, On 09/04/2007 19:18:
> You don't need to restart the servers, just change your keys --
> instead of "foo+user+session" use "json:foo+user+session"
> On Apr 9, 2007, at 10:14 AM, Mauro N. Infantino wrote:
>> You could also serialize everything in JSON. There's a library for
>> every major language, I think. You'd have to change your application
>> a little bit serializing everything before storing it. Also, you'd
>> have to restart all your memcache instances. Besides that, seems like
>> a nice solution.
More information about the memcached