memcached "backends" (was Re: Simple questions from memcachednewbie)

Perrin Harkins perrin at
Thu Oct 12 21:04:37 UTC 2006

Randy Wigginton wrote:
> I found that BDB was surprisingly slow.

You probably could improve that by adjusting it's cache size or telling it
to handle locking itself.  In my benchmarks, a local-socket MySQL is
extremely fast for simple key lookups like this, but BDB is typically at
least twice as fast as MySQL.  Presumably this is because it just uses
in-process function calls with no sockets, SQL, etc.

- Perrin

More information about the memcached mailing list