Why wouldn't someone simply drop-in the api-compatible membase in this situation? It's written by some of the memcached contributors, does heavy cacheing, so it has comparable in-memory speeds but yet persists data to disk, does not require any changes to code, is open source and free, and can do transparent replication and rebuilding.
http://www.membase.com/