This talk is a quick comparison of some of the many relational and non relational database systems that can be used with ruby.
It was given at Fosdem 2010 (http://fosdem.org) in the Ruby on Rails Developer Room.
7. Object-relational mapping
is a programming technique
for converting data between
incompatible type systems in
relational databases and
object-oriented programming
languages. [wikipedia]
10. Active record
What i don’t like about it
what did i map again ?
migrations migrations migrations...
Too much queries...
(probably my fault, i’m lazy)
Sometimes you have to switch to sql
11. Active record
What i like about it
strongly bond to rails...
nice documentation
works with most plugins and gems...
works with most sql databases
21. NOSQL and ruby
COUCHDB
Stores documents as json
easy to read, easy to parse, easy to send through a network
is distributed
database can exist in multiple places
EAch document is a restful resource
25. NOSQL and ruby
tokyo
key/value store
distributed (tyrant)
full-text search engine (dystopia)
26. NOSQL and ruby
tokyo
hash db
one key, one value
b-tree db
one key, multiple values
fixed-length db
access via natural number keys
table db
mimics relational db