RailsConf – Day 3 – Persistence Smoothie
June 9th, 2010 by Brian | No Comments | Filed in workPersistence Smoothie – Blending SQL & NoSQL – Flip Sasser (Intridea, Inc.)
@flipsasser
http://github.com/flipsasser/Persistence-Smoothie
NoSQL means no ACID
Keep what you know – don’t throw out your MySQL
DataMapper is the swiss army knife of ORM
- can point different models to different datastores
- Have a lot of refactoring to do
Sample Store App
- Authentication – keep in Reational DB
- Products – store metadata
- Purchases – keep it in RDB
- Activity Stream – denormalize with key/value store
mongofy – gem for moving data from mysql to mongo
Drawbacks
- DataPortability is lowered
- Lot more moving parts
- Say goodbye to all your fun AR mixins
Tags: datamapper, mongodb, nosql, railsconf

