On Dec 16, 1:56 pm, Khoa <[email protected]> wrote:
> I have one instance of memcached running. There are two clients, one
> in C (libmemcached), one in Java (spy-memcached) -- how can I make
> them work together? As far as I understand, java API inserts a Java
> object to the cache, whereas C API expects the value to be char*
> buffer.

  At this level, interop is kind of an application specific thing.
You can do simple character strings to both and thing will work fine.

  In the java client, you can build a custom transcoder to map your
java objects to a form that your C client can understand (and can
understand what your C client says) pretty easily.

Reply via email to