I have been using memcached for a number of years now, and been amused by
the many times that people new to memcached ask How do I view the list of
keys stored in memcached.
There is a perfectly valid reason why you should not want to view the list
of keys stored in memcached. If your process
The best practice is to not use memached at all for this. It is a cache, if
you store something in it, you are in no way guaranteed that it will be
there the next time you ask for it. It is temporary, not permanent, and as
such an extremely bad match for a distributed lock where it is absolutely
This is neat. I can see many useful reasons for this.
However, wouldn't it be simple enough to make a UI using PHP or
something that was totally portable and you could list multiple
servers and such? This says built in to memcached. Maybe that's what
scares me... is this actually bolted into
Hi Clint,
This looks like a potentially incredibly useful tool for debugging. I
would be hesitant to commit to having that on our production servers,
but I would certainly run it on our dev servers.
Anyway, being able to see all keys by name is actually not all that
helpful for me because we
On Mar 13, 3:14 am, Clint Webb webb.cl...@gmail.com wrote:
I also thought that it would be nice to have something where I can view
cached entries, and even do commands on those cached entries (or even add
new entries), to check certain functionality in applications that get data
from the
However, wouldn't it be simple enough to make a UI using PHP or
something that was totally portable and you could list multiple
servers and such? This says built in to memcached. Maybe that's what
scares me... is this actually bolted into memcached itself or am I
just getting stuck on the
I like some of your ideas and may have to borrow them for
Memcached-Manager. Mainly the watching keys idea.
However along the lines of seeing what keys and slabs are in your
servers. There is a PHP (memcache.php) script that comes with the Pecl
package as well as download-able from his website
On Mar 13, 5:44 pm, NICK VERBECK nerdyn...@gmail.com wrote:
Thanks, I must have totally missed the release notes. Just checked the
change log and notices the comments about new stats. Figured I would
get a jump start on getting them into memcached-manager.
Great. I did kind of put a lot