Successfully reported this slideshow.
Your SlideShare is downloading. ×

WTF is NoSQL

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 51 Ad

WTF is NoSQL

Download to read offline

A very nice and comprehensive introduction into NoSQL world. Covered topics are what it is, why should you care, when should you start caring, different approaches to implementation, what are the differences between different NoSQL databases and what should work best for your case.

A very nice and comprehensive introduction into NoSQL world. Covered topics are what it is, why should you care, when should you start caring, different approaches to implementation, what are the differences between different NoSQL databases and what should work best for your case.

Advertisement
Advertisement

More Related Content

Advertisement

Recently uploaded (20)

WTF is NoSQL

  1. 1. Who am I? Vitaly Kushner • Founder of Astrails • 19 years of industry experience • Building Web Apps since 2005 Wednesday, June 16, 2010
  2. 2. NoSQL when, why and how? Vitaly Kushner astrails.com Wednesday, June 16, 2010
  3. 3. Google Wednesday, June 16, 2010
  4. 4. Yahoo Google Wednesday, June 16, 2010
  5. 5. Yahoo Google Amazon Wednesday, June 16, 2010
  6. 6. Yahoo Facebook Google Amazon Wednesday, June 16, 2010
  7. 7. Yahoo Facebook Twitter Google Amazon Wednesday, June 16, 2010
  8. 8. Yahoo Digg Facebook Twitter Google Amazon Wednesday, June 16, 2010
  9. 9. Yahoo Digg Facebook Twitter Google Amazon Rackspace Wednesday, June 16, 2010
  10. 10. Yahoo Digg Facebook Twitter Google LinkedIn Amazon Rackspace Wednesday, June 16, 2010
  11. 11. Yahoo Digg Facebook Twitter Everybody Google LinkedIn Amazon Rackspace Wednesday, June 16, 2010
  12. 12. NoSQL NoSQL NoSQL NoSQL NoSQL NoSQL NoSQL NoSQL NoSQL NoSQL Wednesday, June 16, 2010
  13. 13. WTF is NoSQL? and why should you care? Wednesday, June 16, 2010
  14. 14. Non relational Wednesday, June 16, 2010
  15. 15. Document based Non relational Wednesday, June 16, 2010
  16. 16. Document based Key-Value store Non relational Wednesday, June 16, 2010
  17. 17. Document based Key-Value store Non relational column-based Wednesday, June 16, 2010
  18. 18. Document based Key-Value store Non relational column-based Graph DB Wednesday, June 16, 2010
  19. 19. Document based Key-Value store Non relational column-based Distributed Graph DB Wednesday, June 16, 2010
  20. 20. Schema-less Document based Key-Value store Non relational column-based Distributed Graph DB Wednesday, June 16, 2010
  21. 21. Schema-less Document based Key-Value store Non relational column-based Distributed BASE is not ACID Graph DB Wednesday, June 16, 2010
  22. 22. Why & When Wednesday, June 16, 2010
  23. 23. Massive Data Volume 100K servers in a cluster Wednesday, June 16, 2010
  24. 24. Massive Data Volume 100K servers in a cluster Twitter: 7+T/day Wednesday, June 16, 2010
  25. 25. High query workload MongoDB: 8M operations/sec Wednesday, June 16, 2010
  26. 26. Flexible Schema on the fly schema changes Wednesday, June 16, 2010
  27. 27. Massive Scale Wednesday, June 16, 2010
  28. 28. Availability Wednesday, June 16, 2010
  29. 29. Everyone want Availability Wednesday, June 16, 2010
  30. 30. RDBMS can deliver Wednesday, June 16, 2010
  31. 31. high price Wednesday, June 16, 2010
  32. 32. Not ACID anymore Wednesday, June 16, 2010
  33. 33. CAP theorem Pick two • Consistent • Available • Partition tolerant Wednesday, June 16, 2010
  34. 34. Scale How? Wednesday, June 16, 2010
  35. 35. Throw hardware money at it! Wednesday, June 16, 2010
  36. 36. Par-ti-tion Wednesday, June 16, 2010
  37. 37. MySQL + Memcached = “square wheel” cassandra Wednesday, June 16, 2010
  38. 38. How? Wednesday, June 16, 2010
  39. 39. Which one? • document based • column or key-value store • advanced storage schemas Wednesday, June 16, 2010
  40. 40. Cassandra • built by Facebook • very high write throughput • OLTP • automatic horizontal scaling • no single point of failure Wednesday, June 16, 2010
  41. 41. HBase • Apache project • Consistent • Optimized for analytics (OLAP) • Has single point of failure Wednesday, June 16, 2010
  42. 42. MongoDB • probably easiest to move to from SQL • document based • on-demand queries • automatic sharding • no single-node durability Wednesday, June 16, 2010
  43. 43. CoachDB • document based • map-reduce javascript querying/filtering. • has some replication and scaling problems Wednesday, June 16, 2010
  44. 44. REDIS • key-value store • advanced data types: list, set • atomic operations Wednesday, June 16, 2010
  45. 45. Schema Wednesday, June 16, 2010
  46. 46. Users: { vitaly: { email: vitaly@astrails.com, company: astrails, password: secret }, michael: { email: michael@astrails.com, company: astrails, password: superduper }, ... } Wednesday, June 16, 2010
  47. 47. UsersByEmail: { "vitaly@astrails.com": "vitaly", "michael@astrails.com": "michael", ... } Wednesday, June 16, 2010
  48. 48. Migrations Wednesday, June 16, 2010
  49. 49. Start Slow Wednesday, June 16, 2010
  50. 50. NoSQL can help You Wednesday, June 16, 2010
  51. 51. WTF is NoSQL? Q &A Vitaly Kushner astrails.com @astrails @vkushner Wednesday, June 16, 2010

×