Memcached Request Log

140 views
Skip to first unread message

Abi Raja

unread,
Apr 13, 2011, 4:03:24 PM4/13/11
to memcached
Is there a way to get a log of all the commands processed a memcached
process ordered chronologically? What I'm really trying to see is if
my code is hitting Memcached often enough rather going to the database
all the time.

a.

unread,
Apr 14, 2011, 11:42:21 AM4/14/11
to memc...@googlegroups.com
start memcached wit -vv or -vvv and redirect as needed

Trond Norbye

unread,
Apr 14, 2011, 11:44:39 AM4/14/11
to memc...@googlegroups.com

Can't you monitor the stats to determine that? There is a stat for get hits and get misses (and for the other commands)... Or do you need the actual key in the request?

You'll get more info from the memcached server if you bump it's verbosity (add a -v or two), but it will also print other stuff..

Cheers,

Trond Norbye

Reply all
Reply to author
Forward
0 new messages