java / php共享相同的缓存解决方案?

Is there any solution for java and PHP share the same cache ? That is , java can put objects into cache and PHP can read it out (and vice versa). It's best support clustering.

Memcache with JSON format maybe feasible , but it involves JSON serializing/deserializing , which maybe not so efficient.

Is there any other solution ?

Note : I am not saying "calling java from php (or call php from java) " , so , protobuf or Thrift is not what I want.

Is redis the solution ? or any other solution ?

Thanks.