Redis Application Patterns in Rails by Obie Fernandez

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=dH6VYRMRQFw



Duration: 56:02
9,874 views
83


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

Help us caption & translate this video!

http://amara.org/v/FGi6/




Other Videos By Confreaks


2012-08-06The Great Rails Refactor by Yehuda Katz
2012-08-06Sequel by Jeremy Evans
2012-08-06In a World of Middleware, Who Needs Monolithic Applications by Jon Crosby
2012-08-06Mountain West Ruby Conf 2009 Herding Tigers - Software Development and the Art of War by Danny Blitz
2012-07-28Rails Conf 2012 It's Not in Production Unless it's Monitored by Joseph Ruscio (improved audio)
2012-07-14Rails Conf 2012 Extending Ruby with Ruby by Michael Fairley
2012-07-13It's not in Production Unless it's Monitored by Joseph Ruscio
2012-07-13Code spelunking in the All New Basecamp by Nick Quaranto
2012-07-13MiniTest: Refactoring Test Unit and RSpec back to version 0.0.1 by Jared Ning
2012-07-02Lightning Talks - Part 1 hosted by Dr. Nic Williams
2012-07-02Redis Application Patterns in Rails by Obie Fernandez
2012-07-01Goruco 2012 Building Developers Lessons Learned from Hungry Academy by Jeff Casimir,
2012-07-01GORUCO 2012 The Future of Deployment by Nic Williams
2012-07-01GoRuCo 2012 Hexagonal Rails by Matt Wynne
2012-07-01Goruco 2012 Power Rake by Jim Weirich,
2012-07-01Better Ruby Through Design Principles by Mike Gehard,
2012-07-01Maintaining Balance while Reducing Duplication: Part II by David Chelimsky,
2012-07-01Goruco 2012 Sensible Testing by Justin Leitgeb,
2012-07-01GoRuCo 2012 Maps want to be free! by Sebastian Delmont,
2012-07-01GoRuCo 2012 From Zero to API Cache w Grape & MongoDB in 10 minutes by Daniel Doubrovkine,
2012-07-01GoRuCo 2012 Building Developers Lessons Learned from Hungry Academy by Jeff Casimir



Tags:
railsconf
railsconf2012
Ruby (Programming Language)
redis
dueprops
nosql
memcache