Maksym, >that's why i need a bit more sophisticated tool In that case take a look at this:
You can use the open-source Maatkit toolkit (http://www.maatkit.org/) to analyze your memcached traffic. It's not just for MySql usage you know! :) This article explains how: http://www.mysqlperformanceblog.com/2009/07/24/maatkit-now-supports-memcached/ (this article is referenced from here: http://www.xaprb.com/blog/2009/07/25/analyze-and-optimize-memcached-usage-with-maatkit/ ) Iif you're on Linux use the mk-query-digest utility from the Maatkit toolkit to analyze network traffic captured using tcpdump thus (assuming you're running memcached on its default port of 11211): sudo tcpdump -s 65535 -x -n -q -tttt -i eth0 port 11211 > memc_tcpdump.txt mk-query-digest --type memcached memc_tcpdump.txt The link to the article above is a couple of years old now. The functionality of mk-queryt-digest with regards to memcached has improved somewhat since the article was written. HTH Paul On Fri, Jun 3, 2011 at 9:12 AM, Trond Norbye <[email protected]> wrote: > > On 3. juni 2011, at 15.07, Maksym Melnychok wrote: > > > Hi, > > > > are there any good tools to debug/profile memcached production setup > without interrupting it? > > > > i'm specifically interested in top key misses and slow queries > > > > thanks in advance! > > You may use dtrace if you're running on Solaris > > Cheers, > > Trond > > >
