On Sun, 9 Mar 2008, Henrik Schröder wrote:

When we developed the BeITMemcached client, we really didn't care about
interoperability since we only work in C#, and the majority of the objects
we cache are serialized .Net objects, and those are pretty useless in other
languages. But I'm kinda curious, how common is it with a mixed environment
where you have two different clients talking to the same memcached servers?

In our use cases, it's fairly important. We only store objects from PHP, but we often invalidate objects from other languages. For example, the transaction processing for our site happens in Erlang. When a transaction goes through, prices and user library conntents are updated. The Erlang server thus sends the deletes through to the memcache servers such that PHP will reload from the database next time they're needed.

We do similar things for a couple other use cases as well, with the clients being PHP, Java, Erlang, and Perl.

Thanks
-Todd

Reply via email to