I created a memcachedb client for ruby. It is based on memcache-client
but adds the possibility of handling groups of master-slaves
automatically. So it will determine from a group of servers which one
was elected master and which are slaves. You can also use multiple
such group to have more then a single master if needed.
More information on:
http://github.com/juggy/memcachedb-client
Comments are welcomed,
Thanks,
Julien.