NoSQL Zone is brought to you in partnership with:

Mitch Pronschinske is a Senior Content Analyst at DZone. That means he writes and searches for the finest developer content in the land so that you don't have to. He often eats peanut butter and bananas, likes to make his own ringtones, enjoys card and board games, and is married to an underwear model. Mitch is a DZone Zone Leader and has posted 2573 posts at DZone. You can read more from them at their website. View Full User Profile

Pinterest Uses Redis to Do Amazing Things

09.26.2013
| 10393 views |
  • submit to reddit

Redis has really solidified itself in today's major content management and social apps.  Their most impressive use case is probably over at Pinterest, a site that is considered the third most popular social network next to Facebook and Twitter.

Adam Bloom recently wrote a really interesting case study on the Pivotal blog that explains how Pinterest was able to handle its extreme (1000%+ / year) increases in traffic and keep scaling up its following functionality.  As you might expect, Pinterest stores each "follow" on Pinterest in a graph, which is now up to millions of nodes and billions of edges.  Here's where Redis comes in:

Ultimately, the team decided to store the entire graph in Redis to serve lots of lists. Immediately, Redis begins to show how it is truly different and acts almost like an in-memory, operational data store.

Adam Bloom

Go check out the full post  on Pivotal (not a long read) and also read the super-fascinating post, "Building a follower model from scratch" on the Pinterest engineering blog.