SlideShare a Scribd company logo
NoSQL : Channeling the Data ExplosionDwight MerrimanCEO, 10gen@dmerr dmerr.tumblr.comGlueCon 2010
The database world is changingNo longer one-size-fits-all
NoSQL = Non-relational next generation operation data stores and databases
Scaling Outno joins +light transactional semantics =   horizontally scalable architectures
Why?cloudcommodityhttp://www.globalnerdy.com/2007/09/07/multicore-musings/
How the NoSQL Products VaryWhat’s the sameNo joinsNo complex transactionsWhat variesScale-out modelConsistency modelData model
Scaling Outdistribution & query modelsConsistent hashingOrder preserving range   chunkingScatter gather
Data modelsno joins +light transactional semantics =     horizontally scalable architecturesImportant side effect :     new data models =        improved ways to develop apps
Data ModelsKey/valueColumn-oriented “bigtable-style”Document-oriented (JSON)
Data Models{ title: ‘Too Big to Fail’,  author: ‘John S’,ts: Date(“05-Nov-09 10:33”),  comments: [ { author: 'Ian White',                 comment: 'Great article!' },              { author: 'Joe Smith',                 comment: 'But how fast is it?',                replies: [ {author: 'Jane Smith',                            comment: 'scalable?'} ]              }            ]  ],  tags: [‘finance’, ‘economy’]}
{ title: ‘Too Big to Fail’,  author: ‘John S’,ts: Date(“05-Nov-09 10:33”),  comments: [ { author: 'Ian White',                 comment: 'Great article!' },              { author: 'Joe Smith',                 comment: 'But how fast is it?',                replies: [ {author: 'Jane Smith',                            comment: 'scalable?'} ]              }            ]  ],  tags: [‘finance’, ‘economy’]}db.posts.find( { tags : ‘economy’ } ) .sort({ts:-1}).limit(10).skip(10)db.posts.find( { “comments.author” : “Ian White” } )
Influences
CAP    It is impossible in the asynchronous network model to implement a read/write data object that guarantees the following properties:• Availability• Atomic consistency in all fair executions (including those in which messages are lost).
Consistency Models - CAPChoices are AP or CPWrite Availability, not Read Availability, is the Main QuestionIt’s not all about CAPEventual consistency makes these non-availability aspects better:Multi data centerSpeedEven load distribution
Eventual Consistency
Eventual ConsistencyRead(x) : 1, 2, 2, 4, 4, 4, 4 …
Could we get this?Read(x) : 1, 2, 1, 4, 2, 4, 4, 4 …
TermsRWNR+W>N has nice propertiesSloppy quorum
R+W>NIf R+W > N, we can’t have both fast local reads and writes at the same time if all the data centers are equal peers?
Network Partitions
Trivial Network Partitions
NOSQL Session GlueCon May 2010
Sometimes we need global state / more consistencyUnique key constraintsUser registrationACL changesAre we surprising the user?read-your-own-writes
Could it be the case that…uptime( CP + average developer )   >= uptime( AP + average developer )where uptime:= system is up and non-buggy?
PredictionsJSON will be the most popular building block for non-relational data modelsTunable consistency in all the productsSome SQL in these products!
Questions?Thank youdwight@10gen.com@dmerrdmerr.tumblr.com@mongodbDownload : www.mongodb.org10gen is hiring in SF and NYC – info@10gen.com

More Related Content

PPTX
Why NoSQL Makes Sense
PPT
PPTX
Secret Life of a Weather Datum end of project event
PDF
O Diferencial de uma Estratégia Mobile...e Multiplataforma!
PDF
Special project
PDF
Leinster college dublin - brochure web
PPT
Migrating to git
PDF
R Statistics With MongoDB
Why NoSQL Makes Sense
Secret Life of a Weather Datum end of project event
O Diferencial de uma Estratégia Mobile...e Multiplataforma!
Special project
Leinster college dublin - brochure web
Migrating to git
R Statistics With MongoDB

Viewers also liked (15)

PDF
Cartagena Data Festival | Telling Stories with Data 2015 04-21
PDF
Revving Up Revenue By Replenishing
PDF
MongoDB and AWS Best Practices
PPTX
Mgidigitalglobalization
PPTX
Heavy Metal PowerPivot Remastered
PPT
Tecnologìas de la Información y la Comunicación
PDF
Introduction Pentaho 5.0
PDF
Data meets Creativity - Webbdagarna 2015
PPTX
Ov big data
PPT
USJBF Overview Presentation
PDF
Grow Customer Retention with Predictive Marketing and User-Generated Content
PDF
VirtualSense presentation at FBK
PPTX
Anti-social Databases
PPTX
Old & wise(에듀시니어)
Cartagena Data Festival | Telling Stories with Data 2015 04-21
Revving Up Revenue By Replenishing
MongoDB and AWS Best Practices
Mgidigitalglobalization
Heavy Metal PowerPivot Remastered
Tecnologìas de la Información y la Comunicación
Introduction Pentaho 5.0
Data meets Creativity - Webbdagarna 2015
Ov big data
USJBF Overview Presentation
Grow Customer Retention with Predictive Marketing and User-Generated Content
VirtualSense presentation at FBK
Anti-social Databases
Old & wise(에듀시니어)
Ad

Similar to NOSQL Session GlueCon May 2010 (20)

PPTX
Why NoSQL Makes Sense
PPT
MongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
PPT
Indic threads pune12-nosql now and path ahead
PPTX
MVP Cloud OS Week: 9 Sept, Track 1 Data Liberty
PPTX
MVP Cloud OS Week Track 1 9 Sept: Data liberty
PPTX
Creating a Single View Part 2: Loading Disparate Source Data and Creating a S...
PDF
Building prediction models with Amazon Redshift and Amazon ML
PDF
NoSQL (Not Only SQL)
PPTX
Big Data and Data Intensive Computing: Education and Training
PPTX
Web Scale with NoSQL
PPTX
Sergejus Barinovas
PPTX
Moving from SQL Server to MongoDB
PDF
ICONUK 2016: REST Assured, Freeing Your Domino Data Has Never Been That Easy!
PPTX
The Right Data for the Right Job
PPT
ESA and the Cloud
PPTX
MinneBar 2013 - Scaling with Cassandra
PPT
2011 Mongo FR - MongoDB introduction
PPT
Introduction to MongoDB
DOCX
CoverPage_Resume V2
PDF
Simon Elliston Ball – When to NoSQL and When to Know SQL - NoSQL matters Barc...
Why NoSQL Makes Sense
MongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
Indic threads pune12-nosql now and path ahead
MVP Cloud OS Week: 9 Sept, Track 1 Data Liberty
MVP Cloud OS Week Track 1 9 Sept: Data liberty
Creating a Single View Part 2: Loading Disparate Source Data and Creating a S...
Building prediction models with Amazon Redshift and Amazon ML
NoSQL (Not Only SQL)
Big Data and Data Intensive Computing: Education and Training
Web Scale with NoSQL
Sergejus Barinovas
Moving from SQL Server to MongoDB
ICONUK 2016: REST Assured, Freeing Your Domino Data Has Never Been That Easy!
The Right Data for the Right Job
ESA and the Cloud
MinneBar 2013 - Scaling with Cassandra
2011 Mongo FR - MongoDB introduction
Introduction to MongoDB
CoverPage_Resume V2
Simon Elliston Ball – When to NoSQL and When to Know SQL - NoSQL matters Barc...
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...

Recently uploaded (20)

PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Empathic Computing: Creating Shared Understanding
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Cloud computing and distributed systems.
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Approach and Philosophy of On baking technology
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Machine learning based COVID-19 study performance prediction
PDF
KodekX | Application Modernization Development
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Empathic Computing: Creating Shared Understanding
“AI and Expert System Decision Support & Business Intelligence Systems”
Unlocking AI with Model Context Protocol (MCP)
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Cloud computing and distributed systems.
Mobile App Security Testing_ A Comprehensive Guide.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Approach and Philosophy of On baking technology
Review of recent advances in non-invasive hemoglobin estimation
Chapter 3 Spatial Domain Image Processing.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Digital-Transformation-Roadmap-for-Companies.pptx
NewMind AI Monthly Chronicles - July 2025
Machine learning based COVID-19 study performance prediction
KodekX | Application Modernization Development
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Agricultural_Statistics_at_a_Glance_2022_0.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

NOSQL Session GlueCon May 2010