{"id":2898,"date":"2013-01-06T19:28:27","date_gmt":"2013-01-06T18:28:27","guid":{"rendered":"http:\/\/www.devco.net\/?p=2898"},"modified":"2013-01-07T21:58:59","modified_gmt":"2013-01-07T20:58:59","slug":"solving-monitoring-state-storage-problems-using-redis","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2013\/01\/06\/solving-monitoring-state-storage-problems-using-redis.php","title":{"rendered":"Solving monitoring state storage problems using Redis"},"content":{"rendered":"

Redis<\/a> is an in-memory key-value data store that provides a small number of primitives suitable to the task of building monitoring systems. As a lot of us are hacking in this space I thought I’d write a blog post summarizing where I’ve been using it in a little Sensu like monitoring system I have been working on on and off. <\/p>\n

There’s some monitoring related events coming up like MonitoringLove<\/a> in Antwerp and Monitorama<\/a> in Boston – I will be attending both and I hope a few members in the community will create similar background posts on various interesting areas before these events.<\/p>\n

I’ve only recently started looking at Redis but really like it. It’s a very light weight daemon written in C with fantastic documentation detailing things like each commands performance characteristics and most documantation pages are live in that they have a REPL right on the page like the SET<\/a> page – note you can type into the code sample and see your changes in real time. It is sponsored by VMWare and released under the 3 clause BSD license.<\/p>\n

Redis Data Types<\/H3>
\nRedis provides a few common data structures:<\/p>\n