Your SlideShare is downloading. ×
0
Who am I?                                Vitaly Kushner                   • Founder of Astrails                   • 19 yea...
NoSQL                           when, why and how?                                         Vitaly Kushner                 ...
GoogleWednesday, June 16, 2010
Yahoo                              GoogleWednesday, June 16, 2010
Yahoo                                       Google                           AmazonWednesday, June 16, 2010
Yahoo                                            Facebook                                       Google                    ...
Yahoo                                             Facebook                           Twitter      Google                  ...
Yahoo                            Digg             Facebook                           Twitter      Google                  ...
Yahoo                            Digg             Facebook                           Twitter      Google                  ...
Yahoo                            Digg             Facebook                           Twitter     Google                   ...
Yahoo                            Digg             Facebook                           Twitter                            Ev...
NoSQL           NoSQL                 NoSQL   NoSQL                           NoSQL       NoSQL                NoSQL      ...
WTF is NoSQL?                             and why should you care?Wednesday, June 16, 2010
Non relationalWednesday, June 16, 2010
Document based                           Non relationalWednesday, June 16, 2010
Document based                                   Key-Value store                           Non relationalWednesday, June 1...
Document based                                   Key-Value store                           Non relational           column...
Document based                                   Key-Value store                           Non relational           column...
Document based                                    Key-Value store                           Non relational           colum...
Schema-less               Document based                                    Key-Value store                           Non ...
Schema-less               Document based                                          Key-Value store                         ...
Why & WhenWednesday, June 16, 2010
Massive Data Volume                               100K servers in a clusterWednesday, June 16, 2010
Massive Data Volume                               100K servers in a cluster                                  Twitter: 7+T/...
High query workload                           MongoDB: 8M operations/secWednesday, June 16, 2010
Flexible Schema                             on the fly schema changesWednesday, June 16, 2010
Massive ScaleWednesday, June 16, 2010
AvailabilityWednesday, June 16, 2010
Everyone want                             AvailabilityWednesday, June 16, 2010
RDBMS                           can deliverWednesday, June 16, 2010
high priceWednesday, June 16, 2010
Not ACID anymoreWednesday, June 16, 2010
CAP theorem                                     Pick two                   • Consistent                   • Available     ...
Scale                            How?Wednesday, June 16, 2010
Throw hardware                             money at it!Wednesday, June 16, 2010
Par-ti-tionWednesday, June 16, 2010
MySQL + Memcached                                   =                           “square wheel”                            ...
How?Wednesday, June 16, 2010
Which one?                   • document based                   • column or key-value store                   • advanced s...
Cassandra                   • built by Facebook                   • very high write throughput                   • OLTP   ...
HBase                   • Apache project                   • Consistent                   • Optimized for analytics (OLAP)...
MongoDB                   • probably easiest to move to from SQL                   • document based                   • on...
CoachDB                   • document based                   • map-reduce javascript querying/filtering.                   ...
REDIS                   • key-value store                   • advanced data types: list, set                   • atomic op...
SchemaWednesday, June 16, 2010
Users: {                            vitaly: {                      	         email: vitaly@astrails.com,                  ...
UsersByEmail: {                        "vitaly@astrails.com": "vitaly",                        "michael@astrails.com": "mi...
MigrationsWednesday, June 16, 2010
Start SlowWednesday, June 16, 2010
NoSQL can help                               YouWednesday, June 16, 2010
WTF is NoSQL?                               Q &A                                      Vitaly Kushner                      ...
Upcoming SlideShare
Loading in...5
×

WTF is NoSQL

431

Published on

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.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
431
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "WTF is NoSQL"

  1. 1. Who am I? Vitaly Kushner • Founder of Astrails • 19 years of industry experience • Building Web Apps since 2005Wednesday, June 16, 2010
  2. 2. NoSQL when, why and how? Vitaly Kushner astrails.comWednesday, June 16, 2010
  3. 3. GoogleWednesday, June 16, 2010
  4. 4. Yahoo GoogleWednesday, June 16, 2010
  5. 5. Yahoo Google AmazonWednesday, June 16, 2010
  6. 6. Yahoo Facebook Google AmazonWednesday, June 16, 2010
  7. 7. Yahoo Facebook Twitter Google AmazonWednesday, June 16, 2010
  8. 8. Yahoo Digg Facebook Twitter Google AmazonWednesday, June 16, 2010
  9. 9. Yahoo Digg Facebook Twitter Google Amazon RackspaceWednesday, June 16, 2010
  10. 10. Yahoo Digg Facebook Twitter Google LinkedIn Amazon RackspaceWednesday, June 16, 2010
  11. 11. Yahoo Digg Facebook Twitter Everybody Google LinkedIn Amazon RackspaceWednesday, June 16, 2010
  12. 12. NoSQL NoSQL NoSQL NoSQL NoSQL NoSQL NoSQL NoSQL NoSQL NoSQLWednesday, June 16, 2010
  13. 13. WTF is NoSQL? and why should you care?Wednesday, June 16, 2010
  14. 14. Non relationalWednesday, June 16, 2010
  15. 15. Document based Non relationalWednesday, June 16, 2010
  16. 16. Document based Key-Value store Non relationalWednesday, June 16, 2010
  17. 17. Document based Key-Value store Non relational column-basedWednesday, June 16, 2010
  18. 18. Document based Key-Value store Non relational column-based Graph DBWednesday, June 16, 2010
  19. 19. Document based Key-Value store Non relational column-based Distributed Graph DBWednesday, June 16, 2010
  20. 20. Schema-less Document based Key-Value store Non relational column-based Distributed Graph DBWednesday, June 16, 2010
  21. 21. Schema-less Document based Key-Value store Non relational column-based Distributed BASE is not ACID Graph DBWednesday, June 16, 2010
  22. 22. Why & WhenWednesday, June 16, 2010
  23. 23. Massive Data Volume 100K servers in a clusterWednesday, June 16, 2010
  24. 24. Massive Data Volume 100K servers in a cluster Twitter: 7+T/dayWednesday, June 16, 2010
  25. 25. High query workload MongoDB: 8M operations/secWednesday, June 16, 2010
  26. 26. Flexible Schema on the fly schema changesWednesday, June 16, 2010
  27. 27. Massive ScaleWednesday, June 16, 2010
  28. 28. AvailabilityWednesday, June 16, 2010
  29. 29. Everyone want AvailabilityWednesday, June 16, 2010
  30. 30. RDBMS can deliverWednesday, June 16, 2010
  31. 31. high priceWednesday, June 16, 2010
  32. 32. Not ACID anymoreWednesday, June 16, 2010
  33. 33. CAP theorem Pick two • Consistent • Available • Partition tolerantWednesday, 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-tionWednesday, June 16, 2010
  37. 37. MySQL + Memcached = “square wheel” cassandraWednesday, June 16, 2010
  38. 38. How?Wednesday, June 16, 2010
  39. 39. Which one? • document based • column or key-value store • advanced storage schemasWednesday, June 16, 2010
  40. 40. Cassandra • built by Facebook • very high write throughput • OLTP • automatic horizontal scaling • no single point of failureWednesday, June 16, 2010
  41. 41. HBase • Apache project • Consistent • Optimized for analytics (OLAP) • Has single point of failureWednesday, June 16, 2010
  42. 42. MongoDB • probably easiest to move to from SQL • document based • on-demand queries • automatic sharding • no single-node durabilityWednesday, June 16, 2010
  43. 43. CoachDB • document based • map-reduce javascript querying/filtering. • has some replication and scaling problemsWednesday, June 16, 2010
  44. 44. REDIS • key-value store • advanced data types: list, set • atomic operationsWednesday, June 16, 2010
  45. 45. SchemaWednesday, 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. MigrationsWednesday, June 16, 2010
  49. 49. Start SlowWednesday, June 16, 2010
  50. 50. NoSQL can help YouWednesday, June 16, 2010
  51. 51. WTF is NoSQL? Q &A Vitaly Kushner astrails.com @astrails @vkushnerWednesday, June 16, 2010
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×