Get Lanyrd on your mobile (iPhone, Android and more) - check it out here

Redis Application Patterns in Rails

A session at RailsConf 2012

Redis is a darling of the NoSQL crowd and for good reasons. It's easy to setup and has blazing fast performance. In this talk, drawn on real production experience and real code straight out of the DueProps codebase, Obie will introduce and demonstrate key Redis application patterns vital to today's Rails developer. Emphasis will be placed on real-world constraints and how to leverage Redis to improve scaling and performance over plain-vanilla ActiveRecord applications.

Concepts covered:

  • Adding Redis-based flags and other properties to ActiveRecord objects
  • Event tracking with Redis sets
  • Graphing relationships between (User) objects with Redis sets
  • Time-ordered activity feeds with Redis sorted sets
  • Applying security restrictions to display of activity feeds with intersection of Redis sorted sets
  • Aggregating group activity feeds with union of Redis sorted sets
  • Applying Redis sorted sets to scoring and leaderboard programming
  • Integrating Redis with Rspec and Cucumber
  • Debugging tactics for when things go wrong or are unclear

About the speaker

This person is speaking at this event.
Obie Fernandez

Author and Entrepreneur

Obie Fernandez is an author and entrepreneur. He founded Hashrocket in 2007 and led it to prominence as one of the world’s leading Rails-based design and development shops. He is also a frequent speaker at industry events and is Addison Wesley’s Series Editor for the bestselling Professional Ruby Series. Prior to Hashrocket, as a senior consultant at ThoughtWorks, Obie specialized in complex custom enterprise software projects. His latest startup is DueProps.com, a promising new web startup that aims to revolutionize the way that people are recognized at work.

Next session in Salon K

11:30am What a long Strange Trip it has been. by Ezra Zygmuntowicz

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 10:30am11:15am CST

Date Wed 25th April 2012

Where

Salon K, Hilton Austin Downtown

Short URL

lanyrd.com/srhtx

Official session page

railsconf2012.com/…s/22

View the schedule

Topics

Books by speaker

  • The Rails 3 Way
  • The Rails Way

See something wrong?

Report an issue with this session