title: How can I use memcached (Amazon elasticache) from both scala and rails simultaneously?
body: <p>I am trying to get a scala client and a rails client to talk to the same aws memcached cluster. The scala/java client I am using is <a href="https://github.com/amazonwebservices/aws-elasticache-cluster-client-memcached-for-java" rel="nofollow">spy.memcached</a> and the ruby gem that seems to offer the best support for aws is <a href="https://github.com/mperham/dalli" rel="nofollow">dalli</a>. Unfortunately, given the same servers, they often store the same key on different servers.</p>
  
  <p>Does anyone know of a simple way (short of rewriting the hash functions) to get these two to seamlessly interoperate?</p>