Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
dormando's awesome memcached top v0.1
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dormando  
View profile  
 More options Oct 29, 6:03 am
From: dormando <dorma...@rydia.net>
Date: Thu, 29 Oct 2009 03:03:44 -0700 (PDT)
Local: Thurs, Oct 29 2009 6:03 am
Subject: dormando's awesome memcached top v0.1
Yo,

I couldn't sleep, so:
http://github.com/dormando/damemtop
(or: http://consoleninja.net/code/memcached/damemtop-0.1.tar.gz)

Early release of a utility I've been working on in the last few days. Yes,
sorry, I'm aware this makes /four/ memcached top programs. So, I had to
make mine awesome.

In order to be truly awesome, I need to spend another day working on it to
add a few things, but it's in a state now where it can be useful to
people. So, up it goes, and I'll take feedback/ideas/patches.

In short, it's a top utility which lets you take any stat memcached spits
out from 'stats', 'stats items', or 'stats slabs', and display it in a
'top' like interface. With totals, averages, etc. It also supports
"computed" columns, hit_rate, fill_rate, soon to be many more. Finally,
you can choose an arbitrary column to sort the output. I have more
memcached's than will fit on a stretched out terminal, so it's nice to be
able to sort :)

In order to change the display around you'll need to edit the
damemtop.yaml file (example included). Also in order to run it at all
you'll need to install AnyEvent and YAML CPAN modules. I'm brutally aware
of adversity for installing simple modules, but these are in very common
use, and AnyEvent allows the utility to scale to hundreds of instances. It
takes 0.2 seconds to poll every single stat and display against TypePad's
entire cluster.

Upcoming ideas/features:
- a '--helpme' mode that makes a big YAML dump folks can share with the
  mailing list to expediate assistance.
- many more computed columns.
- a "drill down" mode for exploring a single or custom set of instances.
- a "slabs" mode for easy analysis and aggregation of the individual slab
  stats.
- online config editing.
- more formatting. "shorteners" for large numbers. bytes -> K -> M ->
  G/etc.
- better docs, more fleshed out config loader.
- scrolling output modes.
- multi-cluster support (switch views between groups of servers)
- rolling averages for some views.
- latency monitor (testing a bunch of commands)
- YAML output/input modes for logging, output into monitoring/graphing
  systems, input into multiple 'damemtop' listeners.
- pretty colors.
- reorganize code a little. It got messier than I like :/

Dunno... stuff? Maybe a quickie mode that can give you warnings or notes
about your configuration based on current stats? I'll work on this for a
few hours each week and kick out a new version for a month or so. I don't
expect (nor want) it to reach the complexity of something like innotop.

The intent for this module to replace the 'scripts/memcached-tool'
program, and be distributed with memcached itself.

have fun,
-Dormando


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Paroline  
View profile  
 More options Oct 29, 11:01 am
From: Jay Paroline <boxmon...@gmail.com>
Date: Thu, 29 Oct 2009 08:01:25 -0700 (PDT)
Local: Thurs, Oct 29 2009 11:01 am
Subject: Re: dormando's awesome memcached top v0.1
Just got this running on my box pointing at all our servers, so far
it's looking good! The only hiccup for me was that it expected the
yaml file to be in /etc and I was just editing it in place. Paying
attention to the error message made it pretty obvious what I did wrong
though.

Jay


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google