10gen and MongoDB
  Driving a Data Revolution
Today’s Message


         mongoDB
           enables
         innovation
                  2
Data is Changing
The Evolution of Databases


      1990        2000         2010
               Operational
                  Data
                              RDBMS
                RDBMS
                              NoSQL
     RDBMS
              Datawarehouse
                              OLAP/BI
               OLAP/BI
                              Hadoop




                   4
Relational Database Challenges

 Data Types                                    Agile Development
 • Unstructured data                           • Iterative
 • Semi-structured data                        • Short development cycles
 • Polymorphic data                            • New workloads




Volume of Data                                   New Architectures
• Petabytes of data                              • Horizontal scaling
• Trillions of records                           • Commodity servers
• Tens of millions of queries per second         • Cloud computing



                                           5
The MongoDB Solution
Leading Organizations Rely on MongoDB




                  7
Global Community
3,800,000+
MongoDB Downloads

47,000+
Online Education Registrants

15,000+
MongoDB User Group Members

14,000+
MongoDB Monitoring Service (MMS) Users

10,000+
Annual MongoDB Days Attendees
mongoDB Adoption #1

 Resource          User Data Management




               9
3 Features:
 Sustaining
    Scaling
  Protecting
Replication
Sustaining
Replication #1


         Read/Write




           Reads
         (Optional)        Asynchronous
                            Replication



           Reads
         (Optional)




                      12
Replication #2




                 13
Replication #3




                      Automatic election
                       of new Primary




                 14
Replication #4




                 15
Replication #5




                 16
Replication - Summary


• Automatic Failover
• Automatic Recovery
• All writes to primary node
• Rolling Outages are possible, zero downtime




                           17
Sharding
 Scaling
Why Shard Data?

Some common reasons:

• Scales Read/Write capacity

• Increases total RAM, to keep the working dataset in physical
  memory, for maximum performance

• Shards can be located in specific geographies, for
  compliance and/or performance




                               19
How Sharding Works




           mongoS: A software switch that routes application
           requests to the data. Typically, this will be installed
           with the App Server(s).

           Config server: Stores metadata on data location.
           Sharded deployments should deploy at least 3 config
           servers (for redundancy).

                       20
Adding a Shard




                      To add a shard, spin-up more
                      mongoDB instances and tell the
                      mongoS that they are there with a
                      simple command.

                      When first moving from a single replica
                      set to a sharded environment, 50% of
                      the data moves from Shard 1 to Shard
                      2.
                      This puts load on to the system.

                 21
And on…




          22
Durability
Protecting
Data Durability
                                                       Multiple
             Memory   Journal (Disk)   Secondaries   Data-Centers


RDBMS


async
(default)


w=1


j:true


w=majority


w=“<tag>”


                                24
Customer Use Cases
MongoDB Solutions
  Big Data         Content Mgmt & Delivery      Mobile & Social




  User Data Management                       Data Hub




                             26
Media Company Change #1




         Articles & Content       User
                              Contributions
                               are slow to
                                populate.
               Cache




             RDBMS

                   27
Media Company Change #1



                              mongoDB enables
                              a high volume of
                              reads and writes
                               directly into the
         Articles & Content
                                 operational
                                   data-set

                              This unlocks user
                                contributions
            mongoDB


                   28
Problem                         Why MongoDB                              Impact
 RDBMS architecture                 Flexible data model allows        The Guardian has
  constrained their ability to        for heterogenous structure         competitive advantage,
  absorb upstream                    Rich query language                through enabling social
  contributions from users            preserves functionality            conversations through the
 New features, competitions         System updates with zero           site
  needed to log data into user        downtime                          Interactive features can be
  records, requiring schema          Ease of use, allowing a large      delivered more quickly,
  changes                             development team to adopt          which translates to
                                      the technology quickly             increased revenues




“Relational databases have a sound approach, but that doesn’t necessarily match the way we see our data.
mongoDB gave us the flexibility to store data in the way that we understand it as opposed to somebody’s
theoretical view.”
                                                  29
                                                                          Philip Wills, Software Architect
Telco Business Evolution


                     Handset location
     Mr.
            100
    Coffee Metres



                     Marketing
                     Message


        Proximity
       Calculation



                                 mongoDB

                      30
Problem                         Why MongoDB                               Impact
 A need to extract value from        Built around scalability, with     Priority Moments project is
  existing semi-structured             auto-sharding features              a strong success
  data sources (social                mongoDB deployment                 Subsequent adoption of
  networks etc.)                       architecture prevents any           mongoDB by O2 &
 A fast-growing customer-             single point of failure             Telefonica across a large
  base required any solution          Geospatial indexing out-of-         number of projects
  to be easily scalable                the-box enables location-
                                       based service delivery




“Selecting MongoDB as our database platform was a no brainer as the technology offered us the flexibility
and scalability that we knew we’d need for Priority Moments.”

                                                   31           Andrew Pattinson, Head of Online Delivery
For More Information

 Resource                     User Data Management
                              Location

 MongoDB Downloads            www.mongodb.org/download

 Free Online Training         education.10gen.com

 Webinars and Events          www.10gen.com/events

 White Papers                 www.10gen.com/white-papers

 Customer Case Studies        www.10gen.com/customers

 Presentations                www.10gen.com/presentations

 Documentation                docs.mongodb.org

 Additional Info              info@10gen.com


                         32
How We Can Help

    Resource
                                                       10gen Partners

Training                                   Getting
•    Public or private courses, 2 or 3     Started     Professional
     days                                              Services
                                                       •   Architecting & developing
                                                           mongoDB solutions
Pre-production Support                                 •   Trusted Advisor
•    Developer Support                   Development
•    mongoDB Health-check


mongoDB Subscriptions
•    Production support
•    SNMP Adaptor                        Production
•    Platform OS certification
•    Commercial License




                                             33
Today’s Message


         mongoDB
           enables
         innovation
                  34
Tim marston

Tim marston

  • 1.
    10gen and MongoDB Driving a Data Revolution
  • 2.
    Today’s Message mongoDB enables innovation 2
  • 3.
  • 4.
    The Evolution ofDatabases 1990 2000 2010 Operational Data RDBMS RDBMS NoSQL RDBMS Datawarehouse OLAP/BI OLAP/BI Hadoop 4
  • 5.
    Relational Database Challenges Data Types Agile Development • Unstructured data • Iterative • Semi-structured data • Short development cycles • Polymorphic data • New workloads Volume of Data New Architectures • Petabytes of data • Horizontal scaling • Trillions of records • Commodity servers • Tens of millions of queries per second • Cloud computing 5
  • 6.
  • 7.
  • 8.
    Global Community 3,800,000+ MongoDB Downloads 47,000+ OnlineEducation Registrants 15,000+ MongoDB User Group Members 14,000+ MongoDB Monitoring Service (MMS) Users 10,000+ Annual MongoDB Days Attendees
  • 9.
    mongoDB Adoption #1 Resource User Data Management 9
  • 10.
    3 Features: Sustaining Scaling Protecting
  • 11.
  • 12.
    Replication #1 Read/Write Reads (Optional) Asynchronous Replication Reads (Optional) 12
  • 13.
  • 14.
    Replication #3 Automatic election of new Primary 14
  • 15.
  • 16.
  • 17.
    Replication - Summary •Automatic Failover • Automatic Recovery • All writes to primary node • Rolling Outages are possible, zero downtime 17
  • 18.
  • 19.
    Why Shard Data? Somecommon reasons: • Scales Read/Write capacity • Increases total RAM, to keep the working dataset in physical memory, for maximum performance • Shards can be located in specific geographies, for compliance and/or performance 19
  • 20.
    How Sharding Works mongoS: A software switch that routes application requests to the data. Typically, this will be installed with the App Server(s). Config server: Stores metadata on data location. Sharded deployments should deploy at least 3 config servers (for redundancy). 20
  • 21.
    Adding a Shard To add a shard, spin-up more mongoDB instances and tell the mongoS that they are there with a simple command. When first moving from a single replica set to a sharded environment, 50% of the data moves from Shard 1 to Shard 2. This puts load on to the system. 21
  • 22.
  • 23.
  • 24.
    Data Durability Multiple Memory Journal (Disk) Secondaries Data-Centers RDBMS async (default) w=1 j:true w=majority w=“<tag>” 24
  • 25.
  • 26.
    MongoDB Solutions Big Data Content Mgmt & Delivery Mobile & Social User Data Management Data Hub 26
  • 27.
    Media Company Change#1 Articles & Content User Contributions are slow to populate. Cache RDBMS 27
  • 28.
    Media Company Change#1 mongoDB enables a high volume of reads and writes directly into the Articles & Content operational data-set This unlocks user contributions mongoDB 28
  • 29.
    Problem Why MongoDB Impact  RDBMS architecture  Flexible data model allows  The Guardian has constrained their ability to for heterogenous structure competitive advantage, absorb upstream  Rich query language through enabling social contributions from users preserves functionality conversations through the  New features, competitions  System updates with zero site needed to log data into user downtime  Interactive features can be records, requiring schema  Ease of use, allowing a large delivered more quickly, changes development team to adopt which translates to the technology quickly increased revenues “Relational databases have a sound approach, but that doesn’t necessarily match the way we see our data. mongoDB gave us the flexibility to store data in the way that we understand it as opposed to somebody’s theoretical view.” 29 Philip Wills, Software Architect
  • 30.
    Telco Business Evolution Handset location Mr. 100 Coffee Metres Marketing Message Proximity Calculation mongoDB 30
  • 31.
    Problem Why MongoDB Impact  A need to extract value from  Built around scalability, with  Priority Moments project is existing semi-structured auto-sharding features a strong success data sources (social  mongoDB deployment  Subsequent adoption of networks etc.) architecture prevents any mongoDB by O2 &  A fast-growing customer- single point of failure Telefonica across a large base required any solution  Geospatial indexing out-of- number of projects to be easily scalable the-box enables location- based service delivery “Selecting MongoDB as our database platform was a no brainer as the technology offered us the flexibility and scalability that we knew we’d need for Priority Moments.” 31 Andrew Pattinson, Head of Online Delivery
  • 32.
    For More Information Resource User Data Management Location MongoDB Downloads www.mongodb.org/download Free Online Training education.10gen.com Webinars and Events www.10gen.com/events White Papers www.10gen.com/white-papers Customer Case Studies www.10gen.com/customers Presentations www.10gen.com/presentations Documentation docs.mongodb.org Additional Info info@10gen.com 32
  • 33.
    How We CanHelp Resource 10gen Partners Training Getting • Public or private courses, 2 or 3 Started Professional days Services • Architecting & developing mongoDB solutions Pre-production Support • Trusted Advisor • Developer Support Development • mongoDB Health-check mongoDB Subscriptions • Production support • SNMP Adaptor Production • Platform OS certification • Commercial License 33
  • 34.
    Today’s Message mongoDB enables innovation 34