Hi, This is my case. My (our) solution has several programs. - Some websites are PHP on LAMP - some bots are Java and run on both Windows (server 2003), Linux (Ubuntu 8.04) box - Some C# (.NET 2.0) tools (for content management users), run on Windows (XP)
- Memcached server is run on Ubuntu8.04 box. PHPwebsites put data to memcachedServer, other php websites can read from memcached, of course. We use default PHP memcache extension. But - java bot can not read from memcached if value is set by PHP. But Javabot can read If value is set by Java, on the same memcached server. We use http://www.whalin.com/memcached/ clientAPI. - C# tool also can not read if value is set by PHP. We use http://www.codeplex.com/EnyimMemcached/ and http://code.google.com/p/beitmemcached/ client API . But C# tool can read, if value is set by C#, on the same memcached server too. The test case is very simple, no hash key, no flag, no compress, ... Server running in the console by: memcached -p 13579 -d PHP do: $mc->set("test","sayFromPHP"); all other do: memcacheClient.Get("test"); At the end, we found that http://bleu.west.spy.net/~dustin/projects/memcached/ Java ClientAPI can work, it can read the value set by PHP. I want to make all programs work all together, talk memcached as common language. But what is the problem with all above clientAPI? Are there any trick? Sorry for my bad English. Thanks all.
