Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (23 sloc) 2.099 kB

Presenter: Obie Fernandez

Bio

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.

Abstract

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

Notes

  • This is a file generated from the RailsConf JSON. Please remove this notice when adding notes.
  • If you're interested in the generator code, see the "generator" directory.
  • This layout is just a suggestion.
  • Bullet points might work well. Paragraphs too. Up to you. :)

External Links

Jump to Line
Something went wrong with that request. Please try again.