Persisting Relations Across Time and Space
summary
Compares concrete persistence strategies and shows what actually works: PStore atomically commits Ruby objects to a YAML-backed file and supports concurrent read transactions; PostgreSQL provides array and point types to avoid join bloat; document stores like MongoDB support nested documents and client-side dereferencing; Redis maps Ruby objects to native types; graph databases store relations as edges for fast traversals. Demonstrates Candy (transparent Mongo persistence via method_missing) and Ambition (Ruby-shaped querying across adapters) and notes several object-DB efforts still unfinished.
AI-written summary · about
chapters (6)
- 0:00Start
- 13:05A RELIATIONS EXAMPLE
- 20:16RELATIONS AS OBJECTS
- 22:29GEMSTONE
- 23:30RUBY OBJECT DATABASES
- 32:57WORLD DOMINATION PLANS








