I've played with this and I like the idea a lot. but I found that BDB sucks still and gets corrupted too easily.
So Instead o've been using tokyo tyrant. It supports memcached protocol as well as HTTP and native client protocols.
http://tokyocabinet.sourceforge.net/tyrantdoc/
Much better then memcachedb and serves the same purpose.