There are frequent posts to the memcached mailing list asking how to use memcached to solve a problem. There are two things for certain in the world of memcached users:
- Some folks will want to use memcached as something other than a cache
- Some folks have gone so far as to create versions of memcached that are not a cache
To help you with these questions, I've compiled a list of how you can implement memcached:
As a Lock Server:
Check out this link and use something other than memcached.
As a Persistent Data Store:
Check out this link and use something other than memcached. If you really want to use memcached, go here. In either case, don't use memcached.
As an In Memory Cache:
Check out this link and congratulate yourself as this is what memcached does and does extremely well.