• Save
A step away from RDBMS
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

A step away from RDBMS

  • 2,064 views
Uploaded on

The slides for a presentation before the Israeli Ruby group.

The slides for a presentation before the Israeli Ruby group.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,064
On Slideshare
2,063
From Embeds
1
Number of Embeds
1

Actions

Shares
Downloads
0
Comments
0
Likes
2

Embeds 1

http://www.slideshare.net 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. A step away from RDBMS Dimitri Krassovski, a.k.a. labria.
  • 2. RDMBS • MySQL • MSSQL Server • Oracle • PostgreSQL • A lot more…
  • 3. RDMBS • Tables • Columns
  • 4. A Step Away • Key-value store • Document database • Object database
  • 5. Key-value store • Memcached • Redis • Tokyo Cabinet • Project Voldemort
  • 6. Key-value store • Store and retrieve data by a unique key • Usually really fast • Persistent/Non-persistent
  • 7. Redis: KVS with a twist • Lists: Push, Pop, Range, Trim etc. • Sets: Add, Remove, Intersect, Union etc. • Increment/Decrement • Async persistence
  • 8. Document DBs • CouchDB • MongoDB • Amazon SimpleDB • ThruDB
  • 9. CouchDB • RESTful JSON interface • Stores JSON encoded documents • Document revisions • Views as documents (Lotus Notes, anyone?) • Map/Reduce
  • 10. • Documents and even embedded documents • Multiple data types • Document collections • Dynamic queries • Index support
  • 11. What about Rails? • MongoMapper • ActiveCouch • Redis-store (Session and Cache) • Waiting for Rails 3
  • 12. And it FAILS (for me, of course) • CouchDB: slow. And CPU hugry, too! • MongoDB: simply died on 10M records!
  • 13. This has nothing to do with the presentation. • Use a real queue when you need one • Use Sphinx as an external index