A Morning with MongoDB Barcelona: Introduction

920 views

Published on

  • Be the first to comment

A Morning with MongoDB Barcelona: Introduction

  1. 1. Morning with MongoDB Barcelona Welcome!Sunday, 21 October 12
  2. 2. Morning with MongoDB Barcelona Bill Brooks - 10gen Norberto Leite - 10gen Pablo Enfedaque - Telefonica Javier Perez-Griffo - BesolSunday, 21 October 12
  3. 3. Agenda • Introduction to NoSQL/MongoDB • MongoDB Fundamentals • Case Study:Telefonica • Coffee Break • Case Study:Besol • Other Use Cases • Roadmap and Futures • 10gen (the MongoDB company) • Roundtable Q&A • NetworkingSunday, 21 October 12
  4. 4. Database Evolution: Store Everything in RDBMsSunday, 21 October 12
  5. 5. Specialized RDBMS for OLAP/BISunday, 21 October 12
  6. 6. MongoDB = Operational Big DataSunday, 21 October 12
  7. 7. Increasing Complexity & Cost Decreasing ProductivitySunday, 21 October 12
  8. 8. Forcing Affecting Traditional RDBMS Agile Development • Iterative • Continuous Data Volume, Type & Use • Trillions of records • 100’s of millions of queries per second • Real-Time Analytics • Unstructured / semi- structured New Hardware Architectures • Commodity servers • Cloud Computing • Horizontal ScalingSunday, 21 October 12
  9. 9. NoSQL Really Means... non-relational, next-generation operational datastores and databasesSunday, 21 October 12
  10. 10. NoSQL Really Means... non-relational, next-generation operational datastores and databases ... focus on the “non-relational” bit.Sunday, 21 October 12
  11. 11. NOSQL Categories Key-Value Column Document Graph Redis Cassandra MongoDB Neo4jSunday, 21 October 12
  12. 12. Which one is the best?Sunday, 21 October 12
  13. 13. Which one is the best?Sunday, 21 October 12
  14. 14. Which one should I use for my use case?Sunday, 21 October 12
  15. 15. • memcached scalability & performance •key/value • RDBMS depth of functionalitySunday, 21 October 12
  16. 16. Why use MongoDB? • Easy to start • Open source • Drivers in every major language • Easy to develop • Schemaless document model • Flexible query language • Secondary indexes • Easy to scale • Built in sharding • Asynchronous replicationSunday, 21 October 12
  17. 17. Terminology RDBMS MongoDB Table Collection Row(s) JSON Document Index Index Join Embedding & Linking Partition Shard Partition Key Shard KeySunday, 21 October 12
  18. 18. Schemas in MongoDB Design documents that simply map to your application post = {author: "Hergé", date: new Date(), text: "Destination Moon", tags: ["comic", "adventure"]} > db.posts.save(post)Sunday, 21 October 12
  19. 19. What MongoDB solvesSunday, 21 October 12

×