Sessions at RailsConf 2012 about Ruby on Rails and NoSQL

Your current filters are…


Wednesday 25th April 2012

  • Redis Application Patterns in Rails

    by Obie Fernandez

    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

    At 10:30am to 11:15am, Wednesday 25th April

    In Salon K, Hilton Austin Downtown

Schedule incomplete?

Add a new session

Filter by Day

Filter by coverage

Filter by Topic

Filter by Venue

Filter by Space