Testing Redis 2.0.0 Release Canidate with Perl

I’m pretty excited about the upcoming 2.0.0 release of Redis. As you can see in the changelog, I made a few minor contributions to this release. I’m most excited about being able to perform unions and intersections with sorted sets (ZSETs) and the new HASH data structure, not to mention the memory footprint reduction. Once it tests out well, I’m hoping to upgrade our Redis clusters at Craigslist to the 2.0 code base.

To do that I needed to upgrade our Perl client. The current client on CPAN doesn’t know about the protocol changes to allow for binary-safe key names in all commands. But the multi-bulk branch on github has that code. So I merged it into my fork (creating a multi-bulk branch of my own) and adjusted the tests so that all tests pass when running make test. It’s just a few minor fixes but I feel better about not seeing failed tests.

Yay for Github and Open Source.

Now it’s time to build some new RPMs, install, and test our in our development environment.

About Jeremy Zawodny

I'm a software engineer and pilot. I work at craigslist by day, hacking on various bits of back-end software and data systems. As a pilot, I fly Glastar N97BM, Just AirCraft SuperSTOL N119AM, Bonanza N200TE, and high performance gliders in the northern California and Nevada area. I'm also the original author of "High Performance MySQL" published by O'Reilly Media. I still speak at conferences and user groups on occasion.
This entry was posted in craigslist, nosql, programming. Bookmark the permalink.

1 Response to Testing Redis 2.0.0 Release Canidate with Perl

  1. Brett says:

    Is there an overview somewhere of how you guys are using redis at Craigslist?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s