Category Archives: programming

Slides for: Fusion-io and MySQL 5.5 at Craigslist

The slides from the talk I gave at Percona Live San Francisco yesterday are now available on slideshare (hopefully the embed works here too): View more presentations from Jeremy Zawodny. Overall, I enjoyed the conference–not just meeting up folks I … Continue reading

Posted in craigslist, mysql, programming, tech | 6 Comments

MongoDB Data Types and Perl

In working to import a couple billion documents from MySQL into MongoDB, I’m trying to make sure I get it all right. And I recently stumbled upon one way in which I was getting to decidely wrong: data types. I … Continue reading

Posted in mongodb, programming, tech | 10 Comments

Redis 2.2 replication consistency with maxmemory and LRU

We’ve been running a version of Redis 2.2 RC at Craigslist for a few months now and it has been flawless. It has rapidly become the backbone of one of our internal systems. When I upgraded from the 2.0 series … Continue reading

Posted in nosql, programming, redis, tech | 4 Comments

Sharding is Hard

Reading the Foursqure/MongoDB post-mortem I’m struck by a few things. First, the folks at 10gen are doing a great job of being very open and upfront about what happened and how they hope to solve this problem so that it … Continue reading

Posted in mongodb, nosql, programming, tech | 2 Comments

Always Test with Real Data

As I previously noted, I’m in the midst of converting some data (roughly 2 billion records) into documents that will live in a MongoDB cluster. And any time you move data into a new data store, you have to be … Continue reading

Posted in craigslist, mongodb, mysql, programming, tech | 7 Comments

How I Comment Perl Code

I realized a few days ago that I have a particular way of commenting my Perl code. I wonder if I’m unique in this way, or if these are habits I’ve picked up reading others’ code over the years. A … Continue reading

Posted in programming, tech | 20 Comments

1,250,000,000 Key/Value Pairs in Redis 2.0.0-rc3 on a 32GB Machine

Following up on yesterday’s 200,000,000 Keys in Redis 2.0.0-rc3 post, which was a worst-case test scenario to see what the overhead for top-level keys in Redis is, I decided to push the boundaries in a different way. I wanted to … Continue reading

Posted in nosql, programming, tech | 9 Comments

200,000,000 Keys in Redis 2.0.0-rc3

I’ve been testing Redis 2.0.0-rc3 in the hopes of upgrading our clusters very soon. I really want to take advantage of hashes and various tweaks and enhancements that are in the 2.0 tree. I was also curious about the per-key … Continue reading

Posted in programming, tech | 11 Comments

Coding Outside My Comfort Zone: Front-End Hacking with jQuery and flot

To folks who’ve read my tech ramblings over the years, it’s probably no surprise that I generally avoid doing front-end development (HTML, CSS, JavaScript) like the plague. In fact, that’s probably one of the reasons I finally migrated my blog … Continue reading

Posted in craigslist, programming, tech | 5 Comments

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 … Continue reading

Posted in craigslist, nosql, programming | 1 Comment