SlideShare a Scribd company logo
MongoDB Common Use
      Cases
Emerging NoSQL Space

                  RDBMS                   RDBMS



   RDBMS

                  Data           Data
                 Warehou        Warehou           NoSQL
                   se             se



The beginning   Last 10 years             Today
Qualities of NoSQL
                    Workloads

Flexible data models      High Throughput          Large Data Sizes
• Lists, Nested Objects   • Lots of reads          • Aggregate data size
• Sparse schemas          • Lots of writes         • Number of objects
• Semi-structured data
• Agile Development



Low Latency               Cloud Computing          Commodity
• Both reads and writes   • Run anywhere           Hardware
• Millisecond latency     • No assumptions about   • Ethernet
                            hardware               • Local disks
                          • No / Few Knobs
MongoDB was designed for
            this

Flexible data models      High Throughput             Large Data Sizes
• Lists, Nested Objects   • Lots of reads             • Aggregate data size
      • schemas
• SparseJSON based             • writes
                          • Lots of Replica Sets to   • Number of objects shards
                                                           • 1000’s of
• Semi-structuredmodel
          object data           scale reads                 in a single DB
      • Dynamic
• Agile Development           • Sharding to               • Partitioning of
        schemas                 scale writes                data

Low Latency               Cloud Computing             Commodity
• Both reads and writes   • Run anywhere              Hardware
      • In-memory
• Millisecond latency     • No • Scale-out to
                               assumptions about      • Ethernet
                                                           • Designed for
      cache                        overcome
                            hardware                  • Local disks
                          • No / Few Knobs                   “typical” OS and
    • Scale-out                    hardware
                                                             local file system
      working set                limitations
Example customers
Content Management       Operational Intelligence     Product Data Management



        w




            User Data Management         High Volume Data Feeds
USE CASES THAT
LEVERAGE NOSQL
High Volume Data Feeds
  Machine      • More machines, more sensors, more
 Generated       data
   Data        • Variably structured


Stock Market   • High frequency trading
    Data

Social Media   • Multiple sources of data
 Firehose      • Each changes their format constantly
High Volume Data Feed
                              Flexible document
                              model can adapt to
                              changes in sensor
                                    format
   Asynchronous writes




 Data
  Data
Sources
    Data
 Sources
     Data                     Write to memory with
  Sources                      periodic disk flush
    Sources




          Scale writes over
           multiple shards
Operational Intelligence

               • Large volume of state about users
Ad Targeting   • Very strict latency requirements



               • Expose report data to millions of customers
 Real time     • Report on large volumes of data
dashboards     • Reports that update in real time



Social Media   • What are people talking about?
 Monitoring
Operational Intelligence
                                    Parallelize queries
               Low latency reads
                                   across replicas and
                                          shards




    API
                                      In database
                                      aggregation




Dashboards
                                    Flexible schema
                                   adapts to changing
                                       input data
Can use same cluster
to collect, store, and
   report on data
Behavioral Profiles
                                                               Rich profiles
                                                            collecting multiple
                                                             complex actions
1   See Ad

                Scale out to support   { cookie_id: “1234512413243”,
                 high throughput of      advertiser:{
                                            apple: {
                  activities tracked           actions: [
2   See Ad                                        { impression: ‘ad1’, time: 123 },
                                                  { impression: ‘ad2’, time: 232 },
                                                  { click: ‘ad2’, time: 235 },
                                                  { add_to_cart: ‘laptop’,
                                                     sku: ‘asdf23f’,
                                                     time: 254 },
    Click                                         { purchase: ‘laptop’, time: 354 }
3                                              ]
                                            }
                                         }
                                       }
                         Dynamic schemas
                        make it easy to track
                                                       Indexing and
4   Convert               vendor specific
                                                    querying to support
                            attributes
                                                    matching, frequency
                                                         capping
Product Data Management

E-Commerce
              • Diverse product portfolio
  Product     • Complex querying and filtering
  Catalog

              • Scale for short bursts of high-
                volume traffic
Flash Sales   • Scalable but consistent view of
                inventory
Content Management
               • Comments and user generated
 News Site       content
               • Personalization of content, layout

Multi-Device   • Generate layout on the fly for each
 rendering       device that connects
               • No need to cache static pages


               • Store large objects
  Sharing      • Simple modeling of metadata
Content Management
                                                                             Geo spatial indexing
                              Flexible data model                             for location based
GridFS for large
                                 for similar, but                                  searches
 object storage
                               different objects

                                                { camera: “Nikon d4”,
                                                  location: [ -122.418333, 37.775 ]
                                                }



                                                { camera: “Canon 5d mkII”,
                                                  people: [ “Jim”, “Carol” ],
                                                  taken_on: ISODate("2012-03-07T18:32:35.002Z")
                                                }


                                                { origin: “facebook.com/photos/xwdf23fsdf”,
                                                  license: “Creative Commons CC0”,
                                                  size: {
                                                     dimensions: [ 124, 52 ],
                                                     units: “pixels”
     Horizontal scalability                       }
      for large data sets                       }
User Data Management

  Video        • User state and session
  Games          management


   Social      • Scale out to large graphs
  Graphs       • Easy to search and process


  Identity • Authentication, Authorization,
Management   and Accounting
Social Graphs
 Native support for
Arrays makes it easy
to store connections
 inside user profile




                           Sharding partitions
                           user profiles across    Documents enable
            Social Graph    available servers       disk locality of all
                                                  profile data for a user
IS MY USE CASE A GOOD
FIT FOR MONGODB?
Good fits for MongoDB
Application Characteristic      Why MongoDB might be a good fit
Variable data in objects        Dynamic schema and JSON data model enable
                                flexible data storage without sparse tables or
                                complex joins
Low Latency Access              Memory Mapped storage engine caches
                                documents in RAM, enabling in-memory
                                performance. Data locality of documents can
                                significantly improve latency over join based
                                approaches
High write or read throughput   Sharding + Replication lets you scale read and
                                write traffic across multiple servers
Large number of objects to      Sharding lets you split objects across multiple
store                           servers
Cloud based deployment          Sharding and replication let you work around
                                hardware limitations in clouds.
THANK YOU!



Free online training available for MongoDB at:

http://education.10gen.com

More Related Content

PPTX
Webinar: How MongoDB is Used to Manage Reference Data - May 2014
PDF
Webinar: How Banks Manage Reference Data with MongoDB
PPTX
Webinar: How Financial Firms Create a Single Customer View with MongoDB
PPTX
Single view with_mongo_db_(lo)
PPTX
Operationalizing the Value of MongoDB: The MetLife Experience
PPT
Webinar: Making A Single View of the Customer Real with MongoDB
PPTX
Data Treatment MongoDB
PPTX
MongoDB on Financial Services Sector
Webinar: How MongoDB is Used to Manage Reference Data - May 2014
Webinar: How Banks Manage Reference Data with MongoDB
Webinar: How Financial Firms Create a Single Customer View with MongoDB
Single view with_mongo_db_(lo)
Operationalizing the Value of MongoDB: The MetLife Experience
Webinar: Making A Single View of the Customer Real with MongoDB
Data Treatment MongoDB
MongoDB on Financial Services Sector

What's hot (20)

PPT
Emergence of MongoDB as an Enterprise Data Hub
PDF
IOOF Mongodb Australia
PPTX
The Double win business transformation and in-year ROI and TCO reduction
PPTX
Informatica Solution for SWIFT Integration
PDF
Red Hat JBoss Data Virtualization
PPTX
Creating a Single View: Overview and Analysis
PPTX
Master Data Management
PDF
Data Lakes - The Key to a Scalable Data Architecture
PDF
Data Warehousing 2016
PDF
Bridging the Last Mile: Getting Data to the People Who Need It (APAC)
PPTX
mongoDB: Driving a data revolution
PDF
Slides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
PDF
How to Achieve Fast Data Performance in Big Data, Logical Data Warehouse, and...
PPTX
Dell Technology World - IT as a Business - Multi-Cloud Strategy is your Product
PPTX
Best Practices for MongoDB in Today's Telecommunications Market
PDF
Why advanced monitoring is key for healthy
PDF
Analyst Webinar: Enabling a Customer Data Platform Using Data Virtualization
PPTX
Introduction to Microsoft’s Master Data Services (MDS)
PPTX
Webinar: How to Drive Business Value in Financial Services with MongoDB
PDF
Consumption based analytics enabled by Data Virtualization
Emergence of MongoDB as an Enterprise Data Hub
IOOF Mongodb Australia
The Double win business transformation and in-year ROI and TCO reduction
Informatica Solution for SWIFT Integration
Red Hat JBoss Data Virtualization
Creating a Single View: Overview and Analysis
Master Data Management
Data Lakes - The Key to a Scalable Data Architecture
Data Warehousing 2016
Bridging the Last Mile: Getting Data to the People Who Need It (APAC)
mongoDB: Driving a data revolution
Slides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
How to Achieve Fast Data Performance in Big Data, Logical Data Warehouse, and...
Dell Technology World - IT as a Business - Multi-Cloud Strategy is your Product
Best Practices for MongoDB in Today's Telecommunications Market
Why advanced monitoring is key for healthy
Analyst Webinar: Enabling a Customer Data Platform Using Data Virtualization
Introduction to Microsoft’s Master Data Services (MDS)
Webinar: How to Drive Business Value in Financial Services with MongoDB
Consumption based analytics enabled by Data Virtualization
Ad

Viewers also liked (7)

PDF
How MongoDB Achieved a 360-Degree View of Sales & Marketing Alignment
PPTX
Top 5 Things to Know About Integrating MongoDB into Your Data Warehouse
PDF
Laura Daniele | SAREF and SAREF4EE: Towards interoperability for Smart Applia...
PPTX
Reginald Ford, Grit Denker, Daniel Elenius, Wesley Moore and Elie Abi-Lahoud ...
PPT
Introduction to MongoDB
PPTX
Common MongoDB Use Cases
PPTX
MongoDB Schema Design: Four Real-World Examples
How MongoDB Achieved a 360-Degree View of Sales & Marketing Alignment
Top 5 Things to Know About Integrating MongoDB into Your Data Warehouse
Laura Daniele | SAREF and SAREF4EE: Towards interoperability for Smart Applia...
Reginald Ford, Grit Denker, Daniel Elenius, Wesley Moore and Elie Abi-Lahoud ...
Introduction to MongoDB
Common MongoDB Use Cases
MongoDB Schema Design: Four Real-World Examples
Ad

Similar to Common MongoDB Use Cases (20)

PPTX
Common MongoDB Use Cases Webinar
PDF
Common MongoDB Use Cases
PPTX
Nosql Now 2012: MongoDB Use Cases
PDF
Why Every NoSQL Deployment Should Be Paired with Hadoop Webinar
PPTX
Couchbase presentation
PDF
Hadoop's Role in the Big Data Architecture, OW2con'12, Paris
 
PDF
Intro to NoSQL and MongoDB
PDF
How to Get Started with Your MongoDB Pilot Project
PPT
A Morning with MongoDB - Helsinki
PDF
Scaling Out With Hadoop And HBase
PDF
Scaling data on public clouds
PPT
Welcome and Introduction to A Morning with MongoDB Petah Tikvah
PPTX
Clustrix Database Overview
PPTX
An Introduction to Big Data, NoSQL and MongoDB
PDF
Globant and Big Data on AWS
PDF
16h00 globant - aws globant-big-data_summit2012
PPTX
Big Data (NJ SQL Server User Group)
PPTX
Hadoop World 2011: Building Scalable Data Platforms ; Hadoop & Netezza Deploy...
PPTX
Tim Marston.
PDF
No sql and data scalability
Common MongoDB Use Cases Webinar
Common MongoDB Use Cases
Nosql Now 2012: MongoDB Use Cases
Why Every NoSQL Deployment Should Be Paired with Hadoop Webinar
Couchbase presentation
Hadoop's Role in the Big Data Architecture, OW2con'12, Paris
 
Intro to NoSQL and MongoDB
How to Get Started with Your MongoDB Pilot Project
A Morning with MongoDB - Helsinki
Scaling Out With Hadoop And HBase
Scaling data on public clouds
Welcome and Introduction to A Morning with MongoDB Petah Tikvah
Clustrix Database Overview
An Introduction to Big Data, NoSQL and MongoDB
Globant and Big Data on AWS
16h00 globant - aws globant-big-data_summit2012
Big Data (NJ SQL Server User Group)
Hadoop World 2011: Building Scalable Data Platforms ; Hadoop & Netezza Deploy...
Tim Marston.
No sql and data scalability

More from DATAVERSITY (20)

PDF
Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
PDF
Data at the Speed of Business with Data Mastering and Governance
PDF
Exploring Levels of Data Literacy
PDF
Building a Data Strategy – Practical Steps for Aligning with Business Goals
PDF
Make Data Work for You
PDF
Data Catalogs Are the Answer – What is the Question?
PDF
Data Catalogs Are the Answer – What Is the Question?
PDF
Data Modeling Fundamentals
PDF
Showing ROI for Your Analytic Project
PDF
How a Semantic Layer Makes Data Mesh Work at Scale
PDF
Is Enterprise Data Literacy Possible?
PDF
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
PDF
Emerging Trends in Data Architecture – What’s the Next Big Thing?
PDF
Data Governance Trends - A Look Backwards and Forwards
PDF
Data Governance Trends and Best Practices To Implement Today
PDF
2023 Trends in Enterprise Analytics
PDF
Data Strategy Best Practices
PDF
Who Should Own Data Governance – IT or Business?
PDF
Data Management Best Practices
PDF
MLOps – Applying DevOps to Competitive Advantage
Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
Data at the Speed of Business with Data Mastering and Governance
Exploring Levels of Data Literacy
Building a Data Strategy – Practical Steps for Aligning with Business Goals
Make Data Work for You
Data Catalogs Are the Answer – What is the Question?
Data Catalogs Are the Answer – What Is the Question?
Data Modeling Fundamentals
Showing ROI for Your Analytic Project
How a Semantic Layer Makes Data Mesh Work at Scale
Is Enterprise Data Literacy Possible?
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
Emerging Trends in Data Architecture – What’s the Next Big Thing?
Data Governance Trends - A Look Backwards and Forwards
Data Governance Trends and Best Practices To Implement Today
2023 Trends in Enterprise Analytics
Data Strategy Best Practices
Who Should Own Data Governance – IT or Business?
Data Management Best Practices
MLOps – Applying DevOps to Competitive Advantage

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
KodekX | Application Modernization Development
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
MYSQL Presentation for SQL database connectivity
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Cloud computing and distributed systems.
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Machine learning based COVID-19 study performance prediction
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Reach Out and Touch Someone: Haptics and Empathic Computing
KodekX | Application Modernization Development
The Rise and Fall of 3GPP – Time for a Sabbatical?
Understanding_Digital_Forensics_Presentation.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Unlocking AI with Model Context Protocol (MCP)
Dropbox Q2 2025 Financial Results & Investor Presentation
“AI and Expert System Decision Support & Business Intelligence Systems”
Encapsulation_ Review paper, used for researhc scholars
MYSQL Presentation for SQL database connectivity
MIND Revenue Release Quarter 2 2025 Press Release
20250228 LYD VKU AI Blended-Learning.pptx
Cloud computing and distributed systems.
NewMind AI Weekly Chronicles - August'25 Week I
Mobile App Security Testing_ A Comprehensive Guide.pdf

Common MongoDB Use Cases

  • 2. Emerging NoSQL Space RDBMS RDBMS RDBMS Data Data Warehou Warehou NoSQL se se The beginning Last 10 years Today
  • 3. Qualities of NoSQL Workloads Flexible data models High Throughput Large Data Sizes • Lists, Nested Objects • Lots of reads • Aggregate data size • Sparse schemas • Lots of writes • Number of objects • Semi-structured data • Agile Development Low Latency Cloud Computing Commodity • Both reads and writes • Run anywhere Hardware • Millisecond latency • No assumptions about • Ethernet hardware • Local disks • No / Few Knobs
  • 4. MongoDB was designed for this Flexible data models High Throughput Large Data Sizes • Lists, Nested Objects • Lots of reads • Aggregate data size • schemas • SparseJSON based • writes • Lots of Replica Sets to • Number of objects shards • 1000’s of • Semi-structuredmodel object data scale reads in a single DB • Dynamic • Agile Development • Sharding to • Partitioning of schemas scale writes data Low Latency Cloud Computing Commodity • Both reads and writes • Run anywhere Hardware • In-memory • Millisecond latency • No • Scale-out to assumptions about • Ethernet • Designed for cache overcome hardware • Local disks • No / Few Knobs “typical” OS and • Scale-out hardware local file system working set limitations
  • 5. Example customers Content Management Operational Intelligence Product Data Management w User Data Management High Volume Data Feeds
  • 7. High Volume Data Feeds Machine • More machines, more sensors, more Generated data Data • Variably structured Stock Market • High frequency trading Data Social Media • Multiple sources of data Firehose • Each changes their format constantly
  • 8. High Volume Data Feed Flexible document model can adapt to changes in sensor format Asynchronous writes Data Data Sources Data Sources Data Write to memory with Sources periodic disk flush Sources Scale writes over multiple shards
  • 9. Operational Intelligence • Large volume of state about users Ad Targeting • Very strict latency requirements • Expose report data to millions of customers Real time • Report on large volumes of data dashboards • Reports that update in real time Social Media • What are people talking about? Monitoring
  • 10. Operational Intelligence Parallelize queries Low latency reads across replicas and shards API In database aggregation Dashboards Flexible schema adapts to changing input data Can use same cluster to collect, store, and report on data
  • 11. Behavioral Profiles Rich profiles collecting multiple complex actions 1 See Ad Scale out to support { cookie_id: “1234512413243”, high throughput of advertiser:{ apple: { activities tracked actions: [ 2 See Ad { impression: ‘ad1’, time: 123 }, { impression: ‘ad2’, time: 232 }, { click: ‘ad2’, time: 235 }, { add_to_cart: ‘laptop’, sku: ‘asdf23f’, time: 254 }, Click { purchase: ‘laptop’, time: 354 } 3 ] } } } Dynamic schemas make it easy to track Indexing and 4 Convert vendor specific querying to support attributes matching, frequency capping
  • 12. Product Data Management E-Commerce • Diverse product portfolio Product • Complex querying and filtering Catalog • Scale for short bursts of high- volume traffic Flash Sales • Scalable but consistent view of inventory
  • 13. Content Management • Comments and user generated News Site content • Personalization of content, layout Multi-Device • Generate layout on the fly for each rendering device that connects • No need to cache static pages • Store large objects Sharing • Simple modeling of metadata
  • 14. Content Management Geo spatial indexing Flexible data model for location based GridFS for large for similar, but searches object storage different objects { camera: “Nikon d4”, location: [ -122.418333, 37.775 ] } { camera: “Canon 5d mkII”, people: [ “Jim”, “Carol” ], taken_on: ISODate("2012-03-07T18:32:35.002Z") } { origin: “facebook.com/photos/xwdf23fsdf”, license: “Creative Commons CC0”, size: { dimensions: [ 124, 52 ], units: “pixels” Horizontal scalability } for large data sets }
  • 15. User Data Management Video • User state and session Games management Social • Scale out to large graphs Graphs • Easy to search and process Identity • Authentication, Authorization, Management and Accounting
  • 16. Social Graphs Native support for Arrays makes it easy to store connections inside user profile Sharding partitions user profiles across Documents enable Social Graph available servers disk locality of all profile data for a user
  • 17. IS MY USE CASE A GOOD FIT FOR MONGODB?
  • 18. Good fits for MongoDB Application Characteristic Why MongoDB might be a good fit Variable data in objects Dynamic schema and JSON data model enable flexible data storage without sparse tables or complex joins Low Latency Access Memory Mapped storage engine caches documents in RAM, enabling in-memory performance. Data locality of documents can significantly improve latency over join based approaches High write or read throughput Sharding + Replication lets you scale read and write traffic across multiple servers Large number of objects to Sharding lets you split objects across multiple store servers Cloud based deployment Sharding and replication let you work around hardware limitations in clouds.
  • 19. THANK YOU! Free online training available for MongoDB at: http://education.10gen.com