Over a million developers have joined DZone.

Pinterest Uses Redis to Do Amazing Things

DZone's Guide to

Pinterest Uses Redis to Do Amazing Things

· Database Zone
Free Resource

Download the Guide to Open Source Database Selection: MySQL vs. MariaDB and see how the side-by-side comparison of must-have features will ease the journey. Brought to you in partnership with MariaDB.

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.

Interested in reducing database costs by moving from Oracle Enterprise to open source subscription?  Read the total cost of ownership (TCO) analysis. Brought to you in partnership with MariaDB.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}