---
title: 'Radish: Dig Deep Into Redis'
teaser:
tags: news,web,radish
author: Nick Quaranto
published_on: 2011-05-31
---

It's no secret that we're big fans of [Redis](http://redis.io) here at
thoughtbot. Redis has great data structures, plenty of fantastic libraries for
interacting with it, and is plain fast. Several questions kept arising though
every time we deployed Redis to [Hoptoad](http://hoptoadapp.com) and several
client projects: What's actually going on inside of Redis? What data is being
stored, how much, and how fast?

Our answer to these questions is a new Redis analysis and monitoring service,
[Radish](http://radishapp.com).

[![''](http://radishapp.com/images/big-logo.png)](http://radishapp.com)

Radish works side-by-side with your existing Redis instances in your hosting
environment. All you need to do is start a daemon which handles connecting to
Redis and sending data out to Radish over HTTPS.

## INFO

So, what can Radish do?

[![''](https://img.skitch.com/20110531-titg9c33n1k57n8xmc4twwyks.png)](http://radishapp.com)

Picking out spikes in Redis operations is helpful to correlate to web traffic,
or lack thereof! We also split out the types of commands for reads vs. writes
([GET](http://redis.io/commands/get) vs [SET](http://redis.io/commands/set), for
instance). "Other" commands are usually admin/maintenance actions such as
[INFO](http://redis.io/commands/info).

[![''](https://img.skitch.com/20110531-b2p2p4gchm24ewp2ug2c5ktrfd.png)](http://radishapp.com)

We also track several stats about your Redis instance, such as average commands
per second, memory usage, changes since last save, and keyspace size. A growing
keyspace and memory size is a constant effort when maintaining a Redis instance,
and Radish can help you track it and keep it to a manageable level.  Tracking
changes since last save has also helped us figure out that we don't
[SAVE](http://redis.io/commands/save) our Redis data enough, which could have
dire effects if the Redis instance was to go down.

[![''](https://img.skitch.com/20110531-cjd6kik629hwhm8tatprm2s7pb.png)](http://radishapp.com)

Breakdown of high-frequency commands, keys, and namespaces assist in determining
what your instance is processing. Learn what keys are being written to and when.
Highlight the areas of your code that might be wasting memory on your Redis
instance. Radish makes it possible to show what might be blocking Redis from
serving requests since it is single-threaded.

## MONITOR

Radish is already helping us understand what our Redis instances are up to
without a lot of custom scripts and temporary hacks. [Sign
up](http://radishapp.com), get it running with your Redis instances, and let us
know how it goes!

Huge thanks to my [fellow robots](http://thoughtbot.com/about/) for helping me
getting this idea off the ground. Our beta testers also deserve kudos for
hammering us with live traffic and exposing lots of fun bugs.
