3 Shiny New Toys for Redis
It’s a new year, and already the Redis community is hard at work developing some new and very cool tools to make Redis work for you. Often described as “memchached on steroids,” Redis runs atomic operations on keys containing everything from strings and hashes, to lists, sets, and sorted sets, all while natively supporting data structure variables from most programming languages. On GitHub, Delano Mandelbaum recently posted the Node Redis Protocol, Mathieu Lecarme has introduced the Redis-Dump v0.3 ALPHA, and at FreeFlow Labs, they can’t stop talking about Reddish.
Node Redis Protocol
Delano Mandelbaum has created the Node Redis Protocol, which allows you to implement your own server using the Redis protocol, as well as create a fake Redis or even a Redis slave. According to Mandelbaum, the code is available at the project root level and can be talked to using any Redis tools, including redis-cli.
Redis-Dump v0.3 ALPHA
Mathieu Lacarme puts the emphasis on ALPHA in his new Redis-Dump v0.3, which allows you to backup and restore Redis data to and from JSON. Mathieu cautions readers to test profusely before relying upon developing tool.
According to Lacarme, one great advantage of Redis datatypes is that they are sent to a single JSON object, and all objects are defined by the following fields: db, key, ttl, type, and value. Another advantage of using Redis-Dump is the ability to restore a database to a previous state. Redis-Dump resets the expires to the values they held when the dump was created, which is different than restoring from Redis’ native .rdb or .aof files, where the expires are kept relative to the time they were actually set.
Redis-Dump also allows you to output your data directly into an encrypted file, which will protect any sensitive data without having to first write to a temp file using GnuPG and file descriptors.
FreeFlow labs went looking for a visual administrator to use in conjunction with Redis but only found half-solutions with plenty of drawbacks. According to FreeFlow, that’s when they decided to create one themselves. “Because we really didn’t have anything better to do with our nights and weekends, we decided to build our own visual admin.”
Reddish offers a wealth of features including: “Support for Redis data structures, pretty JSON formatting, built on node.js, GUI commands labeled with their CLI counterpart, and command-line replacement with inline helpers.” FreeFlow Labs is currently looking for anyone interested in Beta testing as they plan to introduce several new features over the coming weeks.
Redis can be an invaluable tool, especially with a little help from your friends at github.com and blog.freeflow.io.