Real time dashboard for redis

I often find myself wondering how our redis instances are being used and which areas of the application are the heavy consumers. It's also useful to predict how the memory consumption is growing over a period of time. Luckily, redis offers a couple of commands, INFO and MONITOR that expose some useful bits of information. Using the data from these two commands, it's easy to build up a trend over a period of time.

Redis Live

Redis Live is a dashboard application with a number of useful widgets. At it's heart is a monitoring script that periodically issues INFO and MONITOR command to the redis instances and stores the data for analytics.

Installation

Install Dependencies

read on »

Windows 7 on a Mac - WEI Scores

There are quite a few options to run Windows 7 on a Mac, here's a comparison of WEI scores.

WEI scores for 15-inch, Mid 2012 MacBook Pro Retina

  • Processor: 2.7 GHz Intel Core i7
  • Memory: 16 GB 1600 MHz DDR3
  • Graphics: NVIDIA GeForce GT 650M 1024 MB

VM Running with Parallels Desktop 8

VM Running with VMware Fusion 5

read on »

autopilot.

So, after years of deliberation, I finally decided to take the plunge and start my own blog. Of course, that meant that I had to go through the canonical modern day 'hello world' a.k.a coding a blog engine. Many before have cautioned about heading this path, including my friend "Time Magazine Person of the Year 2006". However, I wanted something extremely simple and use Dropbox to synchronize and backup content. I also wanted a pet project to hack on every now and then.

Meet autopilot

I've written the blog engine, autopilot, in Python and support Markdown to write content. I can use any text editor on my desktop and the files are automatically synchronized and published on my blog. Heck, if I'm up for it, I can even use my iPhone or iPad to write new content using an app like PlainText

The application itself is a pretty basic tornado webapp consisting of mainly three pages. There is a separate synchronization script, which does the heavy lifting of downloading files from Dropbox and keeping things up to date. And, while I was at it, I even threw in support for Google Drive. Sorry SkyDrive!

Features

  • True auto-publishing via Dropbox and Google Drive
  • Markdown to quickly write in any text editor
  • Lightning fast, in-memory, database-less design
  • Extremely small memory and cpu footprint, runs on an EC2 micro instance without breaking a sweat
  • MIT-licensed, hosted on Github, and I accept pull requests :-)
read on »