Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Ruby APIs for NoSQL - Polyglot Persistence - GoGaRuCo 2010

3,288 views

Published on

Presentation from GoGaRuCo 2010 on Polyglot Persistence and Ruby APIs for NoSQL databases.

Published in: Technology
  • Be the first to comment

Ruby APIs for NoSQL - Polyglot Persistence - GoGaRuCo 2010

  1. 1. Ruby APIs for NoSQL Sarah Mei Pivotal Labs github/twitter: sarahmei
  2. 2. Ruby APIs for NoSQL or Polyglot Persistence Sarah Mei Pivotal Labs github/twitter: sarahmei
  3. 3. The Baseline
  4. 4. Solr image © The Apache Software Foundation
  5. 5. AWS image © Amazon Inc.
  6. 6. Redis image © Salvatore Sanfilippo
  7. 7. memcached image © Six Apart Ltd
  8. 8. The New Baseline
  9. 9. YES http://www.flickr.com/photos/gluemoon/180019580
  10. 10. The New Baseline
  11. 11. http://www.flickr.com/photos/frostnova/2039732274
  12. 12. 1 http://www.flickr.com/photos/frostnova/2039732274
  13. 13. The New Baseline
  14. 14. Cassandra image © The Apache Software Foundation
  15. 15. 2 http://www.flickr.com/photos/faceme/1777843915
  16. 16. 2 Questions • How do you unify a model with data scattered across multiple stores? • How do you replace the primary store?
  17. 17. http://www.flickr.com/photos/wwworks/2607036664
  18. 18. ActiveRecord datastore count: 1
  19. 19. gem: sunspot-rails datastore count: 2
  20. 20. gem: redis datastore count: 3
  21. 21. gem: s3 datastore count: 4
  22. 22. http://www.flickr.com/photos/foundphotoslj/536912809
  23. 23. http://www.flickr.com/photos/dbloete/368519992/
  24. 24. My Co MySQL image © Oracle (sigh) PostgreSQL image © The PostgreSQL Global Development Group Unicorn image: http://www.flickr.com/photos/schoschie/3480868625
  25. 25. X My Co
  26. 26. progress http://www.flickr.com/photos/swanksalot/1419724568
  27. 27. Rails 2
  28. 28. Rails 3
  29. 29. Rails 3 mongoDB image © 10gen, Inc.
  30. 30. ActiveModel mongoid mongo_mapper dm-active_model supermodel neo4j-rails couchrails DataMapper image © Dan Kubb Neo4j image © neo4j.org CouchDB image © The Apache Software Foundation
  31. 31. gem: mongoid
  32. 32. gem: mongoid
  33. 33. 2 Questions • How do you unify a model with data scattered across multiple stores? • How do you replace the primary store?
  34. 34. 2 Questions not solved yet • How do you unify a model with data scattered across multiple stores? • How do you replace the primary store?
  35. 35. 2 Questions not solved yet • How do you unify a model with data scattered across multiple stores? • solved inyou replace the primary store? How do Rails 3
  36. 36. http://www.flickr.com/photos/kashklick/3406972544
  37. 37. http://www.flickr.com/photos/argenberg/478299028/
  38. 38. Questions http://www.flickr.com/photos/anselmhook/1101211907
  39. 39. Hack Day Sunday! postGogarucoHackDay.eventbrite.com

×