Ruby APIs for NoSQL
summary
Ruby examples show Rails apps using Redis Riak CouchDB MongoDB Cassandra plus S3 and Solr via Sunspot, building a cephalopod social network with a denormalized friend graph in redis gem, uploads to s3 gem, and full‑text indexing with Sunspot/Solr. Rails 3’s Active Model / Active Record split makes swapping the primary store practical; mixing multiple stores per model remains unsolved so code gets split into modules, tests use shared examples, and schema migrations and consistency across stores require ad hoc workarounds.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 0:40Audience Participation
- 2:00System Diagram
- 2:30Poly Persistent
- 4:01The New Normal
- 5:26Big Problem 1
- 5:47Big Problem 2
- 7:23Polyglot
- 7:54Base Case
- 9:44Upload Novels
- 10:11Squid
- 10:46ActiveRecord
- 11:11Relational algebra
- 12:04Active record
- 13:27Present
- 20:16Model migrations
- 21:23Model adapters
- 21:34Consistency
- 22:48Managed Services
- 23:17Scaffold
- 24:06DataMapper








