SlideShare a Scribd company logo
1 of 22
The Ultimate Backpack for the Cloud
MongoDB
About Me
Joe Brinkman
Co-Founder & Technical Fellow
DNN Corp.
Web: www.dnnsoftware.com
Blog: www.theaccidentalgeek.com
Twitter: @jbrinkman
About Me
About Me
About Me
About Me
Agenda
• NoSQL Overview
• Getting Started
• Reliability and Scalability
• MongoDB for .Net Devs
DNN / Proprietary and Confidential. All Rights Reserved.7
Why NoSQL?
DNN / Proprietary and Confidential. All Rights Reserved.8
NoSQL != No SQL
DNN / Proprietary and Confidential. All Rights Reserved.9
Relational DB Document DB
Common Characteristics
DNN / Proprietary and Confidential. All Rights Reserved.10
DNN / Proprietary and Confidential. All Rights Reserved.11
Key-Value
Document
Graph
Wide Column
NoSQL Neighborhoods
12 DNN / Proprietary and Confidential. All Rights Reserved.
D E M O
Getting Started
Reliable and Scalable
ReplicaSets
• Master-Slave
• Auto-failover
• Write to primary
• Read primary
or secondary
Sharding
• Distribute
reads/writes
• Shard key is
critical
• Each shard can
be a replica set
DNN / Proprietary and Confidential. All Rights Reserved.13
Replica Sets
DNN / Proprietary and Confidential. All Rights Reserved.14
Primary
Secondary Secondary
Replica Sets
DNN / Proprietary and Confidential. All Rights Reserved.15
Primary
Secondary Primary
Replica Sets
DNN / Proprietary and Confidential. All Rights Reserved.16
Secondary
Secondary Primary
17 DNN / Proprietary and Confidential. All Rights Reserved.
D E M O
Replica Sets
Sharding
DNN / Proprietary and Confidential. All Rights Reserved.18
MongoS
MongoD
(ReplicaSet)
MongoD
(ReplicaSet)
MongoD
(ReplicaSet)
Sharding
DNN / Proprietary and Confidential. All Rights Reserved.19
MongoS
MongoD
(ReplicaSet)
MongoD
(ReplicaSet)
MongoD
(ReplicaSet)
MongoD
(Config Cluster)
MongoDB for .Net Devs
• Idiomatic Drivers
› C, C++, C#, Go, Java, Node.js, Perl, PHP, Python, Ruby, Scala
• C#
› Your classes or BSON Documents
› Custom CRUD API (prior 1.8) or use LINQ (1.8+)
› BSON Documents for Aggregation framework
DNN / Proprietary and Confidential. All Rights Reserved.20
21 DNN / Proprietary and Confidential. All Rights Reserved.
D E M O
MongoDB for .Net
References
• http://www.mongodb.org
• http://robomongo.org/
• http://docs.mongodb.org/manual/
DNN / Proprietary and Confidential. All Rights Reserved.22

More Related Content

Similar to MongoDB: The Ultimate Backpack for the Cloud

Practical Design Patterns for Building Applications Resilient to Infrastructu...
Practical Design Patterns for Building Applications Resilient to Infrastructu...Practical Design Patterns for Building Applications Resilient to Infrastructu...
Practical Design Patterns for Building Applications Resilient to Infrastructu...MongoDB
 
CQRS recipes or how to cook your architecture
CQRS recipes or how to cook your architectureCQRS recipes or how to cook your architecture
CQRS recipes or how to cook your architectureThomas Jaskula
 
An Introduction to Amazon’s DynamoDB
An Introduction to Amazon’s DynamoDBAn Introduction to Amazon’s DynamoDB
An Introduction to Amazon’s DynamoDBKnoldus Inc.
 
Polyglot Persistence - Two Great Tastes That Taste Great Together
Polyglot Persistence - Two Great Tastes That Taste Great TogetherPolyglot Persistence - Two Great Tastes That Taste Great Together
Polyglot Persistence - Two Great Tastes That Taste Great TogetherJohn Wood
 
Redgate How to be Friends with Developers
Redgate How to be Friends with DevelopersRedgate How to be Friends with Developers
Redgate How to be Friends with DevelopersKellyn Pot'Vin-Gorman
 
Austin NoSQL 2011-07-06
Austin NoSQL 2011-07-06Austin NoSQL 2011-07-06
Austin NoSQL 2011-07-06jimbojsb
 
The View - The top 30 Development tips
The View - The top 30 Development tipsThe View - The top 30 Development tips
The View - The top 30 Development tipsBill Buchan
 
Scylla Summit 2018: How We Made Large Partition Scans Over Two Times Faster
Scylla Summit 2018: How We Made Large Partition Scans Over Two Times FasterScylla Summit 2018: How We Made Large Partition Scans Over Two Times Faster
Scylla Summit 2018: How We Made Large Partition Scans Over Two Times FasterScyllaDB
 
Azure doc db (slideshare)
Azure doc db (slideshare)Azure doc db (slideshare)
Azure doc db (slideshare)David Green
 
Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023
Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023
Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023Steve Pember
 
Getting started with Graph Databases & Neo4j
Getting started with Graph Databases & Neo4jGetting started with Graph Databases & Neo4j
Getting started with Graph Databases & Neo4jSuroor Wijdan
 
How MongoDB is Being Used in China - Case Studies
How MongoDB is Being Used in China - Case StudiesHow MongoDB is Being Used in China - Case Studies
How MongoDB is Being Used in China - Case StudiesMongoDB
 
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraMinnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraJeff Bollinger
 
The Key to Effective Analytics: Fast-Returning Queries
The Key to Effective Analytics: Fast-Returning QueriesThe Key to Effective Analytics: Fast-Returning Queries
The Key to Effective Analytics: Fast-Returning QueriesEric Kavanagh
 
Running MongoDB in the Cloud
Running MongoDB in the CloudRunning MongoDB in the Cloud
Running MongoDB in the CloudTony Tam
 

Similar to MongoDB: The Ultimate Backpack for the Cloud (20)

Deep Dive Into AWS DynamoDB
Deep Dive Into AWS DynamoDBDeep Dive Into AWS DynamoDB
Deep Dive Into AWS DynamoDB
 
Einführung in RavenDB
Einführung in RavenDBEinführung in RavenDB
Einführung in RavenDB
 
Practical Design Patterns for Building Applications Resilient to Infrastructu...
Practical Design Patterns for Building Applications Resilient to Infrastructu...Practical Design Patterns for Building Applications Resilient to Infrastructu...
Practical Design Patterns for Building Applications Resilient to Infrastructu...
 
CQRS recipes or how to cook your architecture
CQRS recipes or how to cook your architectureCQRS recipes or how to cook your architecture
CQRS recipes or how to cook your architecture
 
An Introduction to Amazon’s DynamoDB
An Introduction to Amazon’s DynamoDBAn Introduction to Amazon’s DynamoDB
An Introduction to Amazon’s DynamoDB
 
Polyglot Persistence - Two Great Tastes That Taste Great Together
Polyglot Persistence - Two Great Tastes That Taste Great TogetherPolyglot Persistence - Two Great Tastes That Taste Great Together
Polyglot Persistence - Two Great Tastes That Taste Great Together
 
How and when to use NoSQL
How and when to use NoSQLHow and when to use NoSQL
How and when to use NoSQL
 
Redgate How to be Friends with Developers
Redgate How to be Friends with DevelopersRedgate How to be Friends with Developers
Redgate How to be Friends with Developers
 
Austin NoSQL 2011-07-06
Austin NoSQL 2011-07-06Austin NoSQL 2011-07-06
Austin NoSQL 2011-07-06
 
The View - The top 30 Development tips
The View - The top 30 Development tipsThe View - The top 30 Development tips
The View - The top 30 Development tips
 
Scylla Summit 2018: How We Made Large Partition Scans Over Two Times Faster
Scylla Summit 2018: How We Made Large Partition Scans Over Two Times FasterScylla Summit 2018: How We Made Large Partition Scans Over Two Times Faster
Scylla Summit 2018: How We Made Large Partition Scans Over Two Times Faster
 
Azure doc db (slideshare)
Azure doc db (slideshare)Azure doc db (slideshare)
Azure doc db (slideshare)
 
AWS User Group October
AWS User Group OctoberAWS User Group October
AWS User Group October
 
Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023
Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023
Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023
 
Getting started with Graph Databases & Neo4j
Getting started with Graph Databases & Neo4jGetting started with Graph Databases & Neo4j
Getting started with Graph Databases & Neo4j
 
How MongoDB is Being Used in China - Case Studies
How MongoDB is Being Used in China - Case StudiesHow MongoDB is Being Used in China - Case Studies
How MongoDB is Being Used in China - Case Studies
 
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraMinnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with Cassandra
 
Drop the Pressure on your Production Server
Drop the Pressure on your Production ServerDrop the Pressure on your Production Server
Drop the Pressure on your Production Server
 
The Key to Effective Analytics: Fast-Returning Queries
The Key to Effective Analytics: Fast-Returning QueriesThe Key to Effective Analytics: Fast-Returning Queries
The Key to Effective Analytics: Fast-Returning Queries
 
Running MongoDB in the Cloud
Running MongoDB in the CloudRunning MongoDB in the Cloud
Running MongoDB in the Cloud
 

More from Joe Brinkman

AI: Your Personal Intern
AI: Your Personal InternAI: Your Personal Intern
AI: Your Personal InternJoe Brinkman
 
Automate Builds and Deployments.pptx
Automate Builds and Deployments.pptxAutomate Builds and Deployments.pptx
Automate Builds and Deployments.pptxJoe Brinkman
 
Auth0 OOF Panama - Ignite Session
Auth0 OOF Panama - Ignite SessionAuth0 OOF Panama - Ignite Session
Auth0 OOF Panama - Ignite SessionJoe Brinkman
 
Take Command of DNN
Take Command of DNNTake Command of DNN
Take Command of DNNJoe Brinkman
 
DNN Connect 2015 Keynote
DNN Connect 2015 KeynoteDNN Connect 2015 Keynote
DNN Connect 2015 KeynoteJoe Brinkman
 
Where are we going DNNCon Keynote
Where are we going   DNNCon KeynoteWhere are we going   DNNCon Keynote
Where are we going DNNCon KeynoteJoe Brinkman
 
Get involved in Open Source
Get involved in Open SourceGet involved in Open Source
Get involved in Open SourceJoe Brinkman
 
Making open source work
Making open source workMaking open source work
Making open source workJoe Brinkman
 

More from Joe Brinkman (8)

AI: Your Personal Intern
AI: Your Personal InternAI: Your Personal Intern
AI: Your Personal Intern
 
Automate Builds and Deployments.pptx
Automate Builds and Deployments.pptxAutomate Builds and Deployments.pptx
Automate Builds and Deployments.pptx
 
Auth0 OOF Panama - Ignite Session
Auth0 OOF Panama - Ignite SessionAuth0 OOF Panama - Ignite Session
Auth0 OOF Panama - Ignite Session
 
Take Command of DNN
Take Command of DNNTake Command of DNN
Take Command of DNN
 
DNN Connect 2015 Keynote
DNN Connect 2015 KeynoteDNN Connect 2015 Keynote
DNN Connect 2015 Keynote
 
Where are we going DNNCon Keynote
Where are we going   DNNCon KeynoteWhere are we going   DNNCon Keynote
Where are we going DNNCon Keynote
 
Get involved in Open Source
Get involved in Open SourceGet involved in Open Source
Get involved in Open Source
 
Making open source work
Making open source workMaking open source work
Making open source work
 

Recently uploaded

Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 

Recently uploaded (20)

Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 

MongoDB: The Ultimate Backpack for the Cloud

  • 1. The Ultimate Backpack for the Cloud MongoDB
  • 2. About Me Joe Brinkman Co-Founder & Technical Fellow DNN Corp. Web: www.dnnsoftware.com Blog: www.theaccidentalgeek.com Twitter: @jbrinkman
  • 7. Agenda • NoSQL Overview • Getting Started • Reliability and Scalability • MongoDB for .Net Devs DNN / Proprietary and Confidential. All Rights Reserved.7
  • 8. Why NoSQL? DNN / Proprietary and Confidential. All Rights Reserved.8
  • 9. NoSQL != No SQL DNN / Proprietary and Confidential. All Rights Reserved.9 Relational DB Document DB
  • 10. Common Characteristics DNN / Proprietary and Confidential. All Rights Reserved.10
  • 11. DNN / Proprietary and Confidential. All Rights Reserved.11 Key-Value Document Graph Wide Column NoSQL Neighborhoods
  • 12. 12 DNN / Proprietary and Confidential. All Rights Reserved. D E M O Getting Started
  • 13. Reliable and Scalable ReplicaSets • Master-Slave • Auto-failover • Write to primary • Read primary or secondary Sharding • Distribute reads/writes • Shard key is critical • Each shard can be a replica set DNN / Proprietary and Confidential. All Rights Reserved.13
  • 14. Replica Sets DNN / Proprietary and Confidential. All Rights Reserved.14 Primary Secondary Secondary
  • 15. Replica Sets DNN / Proprietary and Confidential. All Rights Reserved.15 Primary Secondary Primary
  • 16. Replica Sets DNN / Proprietary and Confidential. All Rights Reserved.16 Secondary Secondary Primary
  • 17. 17 DNN / Proprietary and Confidential. All Rights Reserved. D E M O Replica Sets
  • 18. Sharding DNN / Proprietary and Confidential. All Rights Reserved.18 MongoS MongoD (ReplicaSet) MongoD (ReplicaSet) MongoD (ReplicaSet)
  • 19. Sharding DNN / Proprietary and Confidential. All Rights Reserved.19 MongoS MongoD (ReplicaSet) MongoD (ReplicaSet) MongoD (ReplicaSet) MongoD (Config Cluster)
  • 20. MongoDB for .Net Devs • Idiomatic Drivers › C, C++, C#, Go, Java, Node.js, Perl, PHP, Python, Ruby, Scala • C# › Your classes or BSON Documents › Custom CRUD API (prior 1.8) or use LINQ (1.8+) › BSON Documents for Aggregation framework DNN / Proprietary and Confidential. All Rights Reserved.20
  • 21. 21 DNN / Proprietary and Confidential. All Rights Reserved. D E M O MongoDB for .Net
  • 22. References • http://www.mongodb.org • http://robomongo.org/ • http://docs.mongodb.org/manual/ DNN / Proprietary and Confidential. All Rights Reserved.22

Editor's Notes

  1. RDBMS designed to run on single machine – naturally leads to scale up Cloud is designed to run applications on multiple commodity machines NoSQL originated with Google and Amazon from the need to be able operate in the cloud
  2. RDBMSs focus on normalized tables and relationships NoSQL dbs focus on performance, so denormalize data and minimize relationships
  3. Schemaless – Misnomer - Schema not enforced by db. Schema must be managed by application Eventually Consistent – Initial write is fast. Updating indexes and replicating data takes time. Cloud friendly – The Cloud is optimized for scale-out. So are NoSQL dbs. Replication and sharding designed to take advantage of scale out.
  4. Key-value – Single index, one or more values. Often optimized for use as distributed cache. Column Store – Data is stored on disk by column rather than by row. Allows for large number of columns in a record. Queries often pull small subset of columns. Document store – Data stored as single document or object. Most