• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
A rubyist's naive comparison of some database systems and toolkits
 

A rubyist's naive comparison of some database systems and toolkits

on

  • 3,970 views

This talk is a quick comparison of some of the many relational and non relational database systems that can be used with ruby....

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.

Statistics

Views

Total Views
3,970
Views on SlideShare
3,965
Embed Views
5

Actions

Likes
0
Downloads
25
Comments
0

1 Embed 5

http://www.slideshare.net 5

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

A rubyist's naive comparison of some database systems and toolkits A rubyist's naive comparison of some database systems and toolkits Presentation Transcript

  • A rubyist's naive comparison of some database systems and toolkits Marc Lainez
  • Who am I ?
  • Ruby on rails developer
  • Agile optimist...
  • The sequel world
  • Object-relational mapping is a programming technique for converting data between incompatible type systems in relational databases and object-oriented programming languages. [wikipedia]
  • Active record
  • Active record One class, one table One object, one row
  • 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
  • Active record What i like about it strongly bond to rails... nice documentation works with most plugins and gems... works with most sql databases
  • Datamapper
  • Datamapper very similar to ar
  • Datamapper
  • Datamapper What i don’t like about it migrations Some plugins might not work (thinking sphinx)
  • Datamapper What i like about it mapping in models modular strategic Eager loading works with most sql databases faster than ar
  • The NOSQL world
  • NOSQL non-relational data stores that doesn’t require fixed table schemas, and usually avoid join operations. [wikipedia]
  • NOSQL and ruby Document based db Mongodb couchdb ... Key/value store TOkyo redis project voldemort ...
  • NOSQL and ruby mongodb
  • 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
  • COUCHDB Web interface
  • COUCHDB RELAXDB
  • COUCHDB, ar-like Stuffing couchfoo
  • NOSQL and ruby tokyo key/value store distributed (tyrant) full-text search engine (dystopia)
  • 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
  • Tokyo b-tree db
  • The best of both worlds ?
  • nosql in SQL friendly
  • What do i think about all this ?
  • a few links http://www.belighted.com http://datamapper.org/ http://www.mongodb.org/ http://couchdb.apache.org/ http://github.com/paulcarey/relaxdb http://github.com/paulca/stuffing http://www.google.com/search?q=couchfoo http://1978th.net/tokyocabinet/ http://friendlyorm.com/
  • questions ?