For most people memcached begins at starting a few servers, and ends once monitoring the cache hit rate. Where do you go from there?
There are a number of easy tricks and tactics for convincing memcached to open up to you. If you have ever asked how to fetch all keys from memcached, you understand how this isn’t obvious.
This quick session covers two broad topics of monitoring and maintaining memcached.
First, inspection. Answers to the typical questions of “what are my top accessed keys?”, “what are my top cache misses?”, “how do I even know it’s working?”, and so on.
Second, making sense of and quickly digesting the many statistical counters. Hitrate is just a small part of how healthy your instance is. There are memory overhead stats, many per-slab counters, evictions, and others. There are several realtime tools for analyzing this data, and several graphing systems support it.
Find out what’s flexible and fits you best.
Alan (dormando) Kasindorf is the Technical Architect for Six Apart. Originally a sysadmin for livejournal.com in 2002, he has since helped build numerous large web sites with open source software and is an advocate and contributor for Memcached, mogilefs, perlbal, and others.
For information on exhibition and sponsorship opportunities at the conference, contact Yvonne Romaine at firstname.lastname@example.org
For media-related inquiries, contact Maureen Jennings at email@example.com
To stay abreast of conference news and to receive email notification when registration opens, please sign up for the O'Reilly MySQL Conference newsletter (login required).
View a complete list of O'Reilly MySQL Conference contacts.