Denormalizing Your Rails Application 3.83 http://spkr8.com/t/2886

Speakers

Description:

At Songkick we've developed a pattern for gradually denormalizing our relational data to improve application performance. We'll discuss how to incrementally transition from one set of domain objects stored in MySQL, to another set stored in a key-value database.

We'll describe the architecture of our Rails application, which uses Presenters as first class domain objects, each one tailored for displaying a single page or module of information.

We'll demonstrate three Ruby projects:

  • Silos - a simple memoization library used to persist the Presenters

  • Asychronous Observers - a way to run Rails observers out of process, and keep our Presenter data in sync with our models.

  • MegaMutex - a cross-process mutex library to allow multiple processes to safely work together on the same data.

Comments on this Talk

Have an account? Sign in.

Leave a Comment

Remember to keep it constructive! Identify strengths and areas for improvement, and make suggestions!

3 Ratings: 3.83

Delivery: 3.67

Content: 4.00

Your Rating: 2.5

I'll Rate It! I was there.