SlideShare a Scribd company logo
Tugdual Grall
Technical Evangelist
tug@mongodb.com
@tgrall
Introduction
Philippe Charriere
DirecteurTechnique
pcharriere@sqli.com
@k33g_org
Introduction to NoSQLwith MongoDB
Tugdual Grall
Technical Evangelist
tug@mongodb.com
@tgrall
Philippe Charriere
DirecteurTechnique
pcharriere@sqli.com
@k33g_org
Tugdual “Tug” Grall
• MongoDB
– Technical Evangelist
• Couchbase
– Technical Evangelist
• eXo
– CTO
• Oracle
– Developer/Product Manager
– Mainly Java/SOA
• Developer in consulting firms
{“about” : “me”}
• Web
– @tgrall
– http://blog.grallandco.com
– tgrall
• NantesJUG cofounder

• Pet Project
– http://www.resultri.com

• tug@mongodb.com
• tugdual@gmail.com
Why MongoDB?
The relational model : 1970
Big Data
Big Users
http://www.theconnectivist.com/	
  	
  &	
  Cisco
Living in the Post-transactional Future
Order-processing systems largely “done” (RDBMS);
new focus on better search and recommendations or
adapting prices on the fly (NoSQL)
Vast majority of its engineering is focused on
recommending better movies (NoSQL), not
processing monthly bills (RDBMS)
Easy part is processing the credit card (RDBMS).
Hard part is making it location aware, so it knows
where you are and what you’re buying (NoSQL)
Stay up!
.	
  .	
  .
Application
Scale out
Add more “Web” servers
RDBMS
Scale Up
Get bigger server
RDBMS
App	
  Server
NoSQL to Scale out!
.	
  .	
  .
Application
Scale out
Add more “Web” servers
NoSQL
Scale Out
Add more servers
NoSQL
App	
  Server
.	
  .	
  .
RDBMS Is Like a Spreadsheet
With “Relations” Between Rows
And makes things hard to change
Name Age Phone Email
New Column
New Table
New Table
New Column
Relational Database Challenges
Data Types
Unstructured data
Semi-structured data
Polymorphic data
Agile Development
Iterative
Short development cycles
New workloads
Volume of Data
Petabytes of data
Trillions of records
Millions of queries/sec
New Architectures
Horizontal scaling
Commodity servers
Cloud computing
Operational Database Landscape
Scalability&Performance
Depth of Functionality
key/value stores
wide column
RDBMS
MongoDB
Data Model
Product Catalog
Baseball Bat
-3 length to weight ratio
2-5/8" barrel diameter
Two-piece construction
R2 alloy barrel provides outstanding durability, performance and "pop"
R2 composite handle shifts weight into the bat's knob for ultra-fast swing speeds
Rifle Barrel design removes weight from the barrel for thinner wall thickness
Acoustic barrel offers that sweet-sounding "ping"
Contact grip helps eliminate sting and vibration
AIR Elite is RIP-IT's® fastest BBCOR bat and the one with the most performance
BBCOR certified - approved for high school and collegiate play
Includes RIP-IT's® "Love It Or Return It" 30 Day Refund Policy with free return
shipping
Manufacturer's warranty: 400 days
Made in the USA
Model: B1403E
Bat Product Table
Category Model Name Brand
Length to
weight
ratio
Barrel
Dia
Type Barrel Handle Cert. Country Price
Bat B1403E Air Elite RIP-IT -3 2 5/8 Composite R2 Alloy
R2
composite BBCOR USA $399.99
Bat B1403 Prototype RIP-IT -3 2 5/8 One-piece R1 Alloy R1 Alloy BBCOR USA $199.99
Bat MCB1B One Marucci -3 2 5/8 One-piece
AZ3000
aluminum
AZ3000
aluminum BBCOR Imported $199.99
Bat BB14S1 S1 Easton -3 2 5/8 Composite IMX
SIC Black
Carbon BBCOR China $399.99
Lets Add Gloves
Size: 12"
Infield/Outfield/Pitcher model
2-Piece Web pattern
Most popular MLB® pattern among pitchers
Pro Stock® American steerhide leather offers rugged durability and a superior feel
Dual-Welting™ on "exposed edges" of the fingers helps maintain pocket shape and
durability
Pro Stock™ hand-designed pattern for unbeatable craftsmanship
Dri-Lex® ultra-breathable wrist lining repels moisture from your hand
Black leather with rich brown embellishments
Pattern: B212
Model: WTA2000BBB212
Wilson
Bat and Glove Product Table
Category Model Name Brand
Length to
weight
ratio
Barrel Dia Type Barrel Handle Cert. Country Price
Bat B1403E Air Elite RIP-IT -3 2 5/8 Composite R2 Alloy
R2
composite BBCOR USA $399.99
Bat B1403 Prototype RIP-IT -3 2 5/8 One-piece R1 Alloy R1 Alloy BBCOR USA $199.99
Bat MCB1B One Marucci -3 2 5/8 One-piece AL AL BBCOR Imported $199.99
Bat BB14S1 S1 Easton -3 2 5/8 Composite IMX
SIC Black
Carbon BBCOR China $399.99
Category Model Name Brand Size Position Pattern Web
Pattern
Material Color Country Price
Glove
WTA2000B
BB212 A2000 Wilson 12" Infield B212 2-piece Leather black Vietnam $299.99
Glove PRO112PT HOH Pro Rawlings 11.25" Outfield Pro taper
Modified
Trap-Eze
Horween
Leather black China $229.99
Add some baseballs
Cover: Full grain leather for excellent durability
Core: Cushioned cork core
Additions/Technologies: Made to the exact specifications of MLB
Stitching/Seams: 108 classic red stitches/Rawlings® Major League seaming
League/Certification(s): MLB
Balls included per purchase: individual
Recommended Age: All ages
Model : ROMLB
Rawlings
Bat and Glove Product Table
Category Model Name Brand
Length to
weight
ratio
Barrel Dia Type Barrel Handle Cert. Country Price
Bat B1403E Air Elite RIP-IT -3 2 5/8 Composite R2 Alloy
R2
composite BBCOR USA $399.99
Bat B1403 Prototype RIP-IT -3 2 5/8 One-piece R1 Alloy R1 Alloy BBCOR USA $199.99
Bat MCB1B One Marucci -3 2 5/8 One-piece AL AL BBCOR Imported $199.99
Bat BB14S1 S1 Easton -3 2 5/8 Composite IMX
SIC Black
Carbon BBCOR China $399.99
Category Model Name Brand Size Position Pattern Web
Pattern
Material Color Country Price
Glove
WTA2000B
BB212 A2000 Wilson 12" Infield B212 2-piece Leather black Vietnam $299.99
Glove PRO112PT HOH Pro Rawlings 11.25" Outfield Pro taper
Modified
Trap-Eze
Horween
Leather black China $229.99
Category Model Name Brand Color Cover Core Cert. Country Price
Baseball
DICRLLB1
PBG
Little
League Rawlings white Leather
Cork

rubber
Little
League China $4.99
Baseball ROML MLB Rawlings white Leather cork China $6.99
Sparse Table
Category Model Name Brand
Length to
weight
ratio
Barrel Dia Type Barrel Handle
Certificati
on
Country Price Size Position Pattern
Web
Pattern
Material Color Cover Core
Bat B1403E Air	
  Elite RIP-­‐IT -­‐3 2	
  5/8 Composite R2	
  Alloy
R2	
  
composite BBCOR USA $399.99	
  
Bat B1403 Prototype RIP-­‐IT -­‐3 2	
  5/8 One-­‐piece R1	
  Alloy R1	
  Alloy BBCOR USA $199.99	
  
Bat MCB1B One Marucci -­‐3 2	
  5/8 One-­‐piece
AZ3000	
  
aluminum
AZ3000	
  
aluminum BBCOR Imported $199.99	
  
Bat BB14S1 S1 Easton -­‐3 2	
  5/8 Composite IMX
SIC	
  Black	
  
Carbon BBCOR China $399.99	
  
Glove
WTA2000BB
B212 A2000 Wilson Vietnam $299.99	
   12" Infield B212 2-­‐piece Leather black
Glove PRO112PT HOH	
  Pro Rawlings China $229.99	
   11.25" Outfield Pro	
  taper
Modified	
  
Trap-­‐Eze
Horween	
  
Leather black
Baseball
DICRLLB1PB
G Little	
  League Rawlings Little	
  League China $4.99	
   white Leather
cork	
  and	
  
rubber
Baseball ROML MLB Rawlings China $6.99	
   white Leather cork
Continue adding columns as you add new products
Maybe this design will work better
prodID property value
1 length/weight -3
1 barrel dia 2 5/8
1 type composite
1 certification BBCOR
…
5 size 12
5 position infield
5 pattern B212
5 material leather
5 color black
…
8 color white
8 cover leather
8 core cork
prodID
Category Model Name Brand Country Price
1 Bat B1403E Air Elite RIP-IT USA $399.99
2 Bat B1403 Prototype RIP-IT USA $199.99
3 Bat MCB1B One Marucci Imported $199.99
4 Bat BB14S1 S1 Easton China $399.99
5 Glove
WTA2000BBB
212 A2000 Wilson Vietnam $299.99
6 Glove PRO112PT HOH Pro Rawlings China $229.99
7 Baseball DICRLLB1PBG Little League Rawlings China $4.99
8 Baseball ROML MLB Rawlings China $6.99
MongoDB uses “Documents”
{
category:“glove”,
model:“PRO112PT”,
name:“Air Elite”,
brand:“Rawlings”,
price: 229.99,
available: Date(“2013-03-31”)
}
Fields
Values
Field values are
typed
string
number
date
Documents are rich structures
{
category:“glove”,
model:“PRO112PT”,
name:“Air Elite”,
brand:“Rawlings”,
price: 229.99,
available: Date(“2013-03-31”),
position: [“infield”,“outfield”,“pitcher”]
}
Fields	
  can	
  contain	
  arrays
Documents are rich structures
{
category:“glove”,
model:“PRO112PT”,
name:“Air Elite”,
brand:“Rawlings”,
price: 229.99,
available: Date(“2013-03-31”),
position: [“infield”,“outfield”,“pitcher”],
endorsed: {name:“Ryan Howard”,
team:“Phillies”,
position:“first base”},
}
Fields can contain sub-
documents
Documents are rich structures{
category:“glove”,
model:“PRO112PT”,
name:“Air Elite”,
brand:“Rawlings”,
price: 229.99,
available: Date(“2013-03-31”),
position: [“infield”,“outfield”,“pitcher”],
endorsed: {name:“Ryan Howard”,
team:“Phillies”,
position:“first base”},
history: [{date: Date(“2013-03-31”), price: 279.99},
{date: Date(“2013-06-01”),price: 259.79},
{date: Date(“2013-08-15”),price: 229.99}]
}
Fields can contain an
array of sub-documents
Variation is easy with document model
{
category: bat,
model: B1403E,
name:Air Elite,
brand:“Rip-IT”,
price: 399.99
diameter:“2 5/8”,
barrel: R2Alloy,
handle: R2 Composite,
type: composite,
}
{
category: glove,
model: PRO112PT,
name:Air Elite,
brand:“Rawlings”,
price:“229.99”
size: 11.25,
position: outfield,
pattern:“Pro taper”,
material: leather,
color: black
}
{
category: ball,
model: ROML,
name: MLB,
brand:“Rawlings”,
price:“6.99”
cover: leather,
core: cork,
color: white
}
{
"_id" : 45218468309,
"date" : ISODate("2015-01-28T09:40:50.615Z"),
"customer" : {
"id" : 654321,
"name" : "John Doe"
},
"ship_to" : {
"name" : "John Doe",
"street" : “Rue du Code",
"city" : “69000 Lyon",
},
"items" : [
{
"sku" : "WA34R",
"description" : "Wireless Qwerty Keyboard",
"quantity" : 1,
"unit_price" : 41.5,
"price" : 41.5,
"vat" : 20
},
{
"sku" : "MW003",
"description" : "MiWatch",
"quantity" : 2,
"unit_price" : 245,
"price" : 490,
"vat" : 20
}
],
"price" :
{ "total" : 531.5 , "vat" : 106.3 }
}
Document Data Model
Relational MongoDB
Document Data Model
Relational MongoDB
{ 	
  
first_name: ‘Paul’,	
  
surname: ‘Miller’,	
  
city: ‘London’,	
  
location: [45.123,47.232],	
  
cars: [ 	
  
{ model: ‘Bentley’,	
  
year: 1973,	
  
value: 100000, … },	
  
{ model: ‘Rolls Royce’,	
  
year: 1965,	
  
value: 330000, … }	
  
}	
  
}
Document Model Benefits
Agility and flexibility
Data model supports business change
Rapidly iterate to meet new requirements
Intuitive, natural data representation
Eliminates ORM layer
Developers are more productive
Reduces the need for joins, disk seeks
Programming is more simple
Performance delivered at scale
{
_id : ObjectId("4c4ba5e5e8aabf3"),
employee_name: "Dunham, Justin",
department : "Marketing",
title : "Product Manager, Web",
report_up: "Neray, Graham",
pay_band: “C",
benefits : [
{ type : "Health",
plan : "PPO Plus" },
{ type : "Dental",
plan : "Standard" }
]
}
Morphia
MEAN	
  Stack
Java Python PerlRuby
Support for the most popular languages and frameworks
Drivers & Ecosystem
Demonstration
MongoDB Overview
‹#›
CREATE APPLICATIONS 

NEVER BEFORE POSSIBLE
AGILE SCALABLE
‹#›
MongoDB
GENERAL PURPOSE DOCUMENT DATABASE OPEN-SOURCE
THE LARGEST ECOSYSTEM
9,000,000+

MongoDB Downloads
200,000+

Online Education Registrants
35,000+

MongoDB User Group Members
35,000+

MongoDB Management Service (MMS) Users
750+

Technology and Services Partners
2,000+

Customers Across All Industries
‹#›
MongoDB and Enterprise IT Stack
MongoDB, Inc.
400+ employees 2,000+ customers
Over $311 million in funding13 offices around the world
High Availability & Scalability
HighAvailability
Replica Set – two or more copies

Self-healing shard

Addresses availability considerations:
High Availability
Disaster Recovery
Maintenance

Deployment Flexibility
Data locality to users
Workload isolation: operational & analytics
Scalability
Three types of sharding: hash-based, range-based, tag-aware
Increase or decrease capacity as you go
Automatic balancing
Query Routing
Multiple query optimization models
Each sharding option appropriate for
different apps
Demonstration
DeploymentArchitectures & Operations
Single Data Center
Automated failover
Tolerates server failures
Tolerates rack failures
Number of replicas defines failure
tolerance
Active/Active Data Center
Tolerates server, rack, data center failures, network partitions
Read Global/Write Local
Replicate Data Near Users
Single-click provisioning, scaling &
upgrades, admin tasks
Monitoring, with charts, dashboards and
alerts on 100+ metrics
Backup and restore, with point-in-time
recovery, support for sharded clusters
MongoDB Ops Manager
The Best Way to Manage MongoDB In Your Data Center
Up to 95% Reduction in Operational Overhead
How MongoDB Ops Manager helps you
Scale	
  EasilyMeet	
  SLAs
Best	
  Practices,	
  
Automated
Cut	
  Management	
  
Overhead
How Ops Manager Works
Ops Manager
mongod mongodmongod
Agent Agent Agent
New
Config. N
ew
C
onfig.
NewConfig.
Integrates with Existing Infrastructure
*Included with MongoDB Enterprise Advanced
BUSINESS NEEDS SECURITY FEATURES
Authentication SCRAM, LDAP*, Kerberos*, x.509 Certificates
Authorization Built-in Roles, User-Defined Roles, Field-Level Redaction
Auditing Admin, DML, DDL, Role-based
Encryption Network: SSL (with FIPS 140-2)*, Disk: Partner Solutions
Enterprise-Grade Security
Scalability & Performance
Scale
250M Ticks/Sec
300K+ Ops/Sec
500K+ Ops/SecFed Agency
Performance
1,400 Servers
1,000+ Servers
250+ Servers
Entertainment Co.
Cluster
Petabytes
10s of billions of objects
13B documents
Data
Asian Internet Co.
Example: MongoDB Management Service
Cloud service for managing MongoDB systems
100+ system metrics visualized and alerted
35,000+ MongoDB systems submitting data every 60 seconds
90% updates, 10% reads
~30,000 updates/second
~3.2B operations/day
Eight x86-64 servers
MongoDB Performance*
Top 5 Marketing Firm Government Agency Top 5 Investment Bank
Data
Key/value
10+ fields, arrays,
nested documents
20+ fields, arrays,
nested documents
Queries
Key-based
1 – 100 docs/query	
  
80/20 read/write
Compound queries	
  
Range queries	
  
MapReduce	
  
20/80 read/write
Compound queries	
  
Range queries	
  
50/50 read/write
Servers
~250 ~50 4
Ops/sec
1,200,000 500,000 30,000
* These figures are provided as examples. Your application governs your performance.
For More Information
Resource Location
Case Studies mongodb.com/customers
Presentations mongodb.com/presentations
Free Online Training education.mongodb.com
Webinars and Events mongodb.com/events
Documentation docs.mongodb.org
MongoDB Downloads mongodb.com/download
Additional Info info@mongodb.com
Tugdual Grall
Technical Evangelist
tug@mongodb.com
@tgrall
Questions?

More Related Content

Similar to Introduction to NoSQL with MongoDB - SQLi Workshop

Catálogo Buck 2021
Catálogo Buck 2021Catálogo Buck 2021
Catálogo Buck 2021
Esteller
 
eDays - Quadrem Approach
eDays - Quadrem ApproacheDays - Quadrem Approach
eDays - Quadrem ApproachJens Brown
 
Tiger skates 2018 2019 colletion
Tiger skates 2018 2019 colletionTiger skates 2018 2019 colletion
Tiger skates 2018 2019 colletion
Jackson Zheng
 
Airfoil
AirfoilAirfoil
KOŠARKARSKI MINI KOŠ SKLZ
KOŠARKARSKI MINI KOŠ SKLZKOŠARKARSKI MINI KOŠ SKLZ
KOŠARKARSKI MINI KOŠ SKLZ
Žan Sklz
 
Chapter 8a: PowerPoint Presentation for External Hard Drives
Chapter 8a: PowerPoint Presentation for External Hard DrivesChapter 8a: PowerPoint Presentation for External Hard Drives
Chapter 8a: PowerPoint Presentation for External Hard Drives
MichaelHernandez217
 
Copper bonded-earth-rod-manufacturer
Copper bonded-earth-rod-manufacturerCopper bonded-earth-rod-manufacturer
Copper bonded-earth-rod-manufacturer
Ujjwal Shah
 
Copper bonded-earthing-rod-manufacturer
Copper bonded-earthing-rod-manufacturerCopper bonded-earthing-rod-manufacturer
Copper bonded-earthing-rod-manufacturer
Ujjwal Shah
 
Custom dresser layout plans
Custom dresser layout plansCustom dresser layout plans
Custom dresser layout plans
Miguel Zamarripa
 
Rg 2688
Rg 2688Rg 2688
Rg 2688
lindaejhonson
 
2016 Catalogue track and field 160318
2016 Catalogue track and field 1603182016 Catalogue track and field 160318
2016 Catalogue track and field 160318
George Chao (Sport)
 
2016 Catalogue track and field
2016 Catalogue track and field2016 Catalogue track and field
2016 Catalogue track and field
George Chao (Sport)
 
Thomson Linear RoundRail 1BC Specs
Thomson Linear RoundRail 1BC SpecsThomson Linear RoundRail 1BC Specs
Thomson Linear RoundRail 1BC Specs
Electromate
 
Thomson roundrail 1_bc_specsheet
Thomson roundrail 1_bc_specsheetThomson roundrail 1_bc_specsheet
Thomson roundrail 1_bc_specsheet
Electromate
 

Similar to Introduction to NoSQL with MongoDB - SQLi Workshop (15)

Catálogo Buck 2021
Catálogo Buck 2021Catálogo Buck 2021
Catálogo Buck 2021
 
eDays - Quadrem Approach
eDays - Quadrem ApproacheDays - Quadrem Approach
eDays - Quadrem Approach
 
Tiger skates 2018 2019 colletion
Tiger skates 2018 2019 colletionTiger skates 2018 2019 colletion
Tiger skates 2018 2019 colletion
 
Airfoil
AirfoilAirfoil
Airfoil
 
KOŠARKARSKI MINI KOŠ SKLZ
KOŠARKARSKI MINI KOŠ SKLZKOŠARKARSKI MINI KOŠ SKLZ
KOŠARKARSKI MINI KOŠ SKLZ
 
Chapter 8a: PowerPoint Presentation for External Hard Drives
Chapter 8a: PowerPoint Presentation for External Hard DrivesChapter 8a: PowerPoint Presentation for External Hard Drives
Chapter 8a: PowerPoint Presentation for External Hard Drives
 
Copper bonded-earth-rod-manufacturer
Copper bonded-earth-rod-manufacturerCopper bonded-earth-rod-manufacturer
Copper bonded-earth-rod-manufacturer
 
Food line Equipments
Food line EquipmentsFood line Equipments
Food line Equipments
 
Copper bonded-earthing-rod-manufacturer
Copper bonded-earthing-rod-manufacturerCopper bonded-earthing-rod-manufacturer
Copper bonded-earthing-rod-manufacturer
 
Custom dresser layout plans
Custom dresser layout plansCustom dresser layout plans
Custom dresser layout plans
 
Rg 2688
Rg 2688Rg 2688
Rg 2688
 
2016 Catalogue track and field 160318
2016 Catalogue track and field 1603182016 Catalogue track and field 160318
2016 Catalogue track and field 160318
 
2016 Catalogue track and field
2016 Catalogue track and field2016 Catalogue track and field
2016 Catalogue track and field
 
Thomson Linear RoundRail 1BC Specs
Thomson Linear RoundRail 1BC SpecsThomson Linear RoundRail 1BC Specs
Thomson Linear RoundRail 1BC Specs
 
Thomson roundrail 1_bc_specsheet
Thomson roundrail 1_bc_specsheetThomson roundrail 1_bc_specsheet
Thomson roundrail 1_bc_specsheet
 

More from Tugdual Grall

Introduction to Streaming with Apache Flink
Introduction to Streaming with Apache FlinkIntroduction to Streaming with Apache Flink
Introduction to Streaming with Apache Flink
Tugdual Grall
 
Introduction to Streaming with Apache Flink
Introduction to Streaming with Apache FlinkIntroduction to Streaming with Apache Flink
Introduction to Streaming with Apache Flink
Tugdual Grall
 
Fast Cars, Big Data - How Streaming Can Help Formula 1
Fast Cars, Big Data - How Streaming Can Help Formula 1Fast Cars, Big Data - How Streaming Can Help Formula 1
Fast Cars, Big Data - How Streaming Can Help Formula 1
Tugdual Grall
 
Lambda Architecture: The Best Way to Build Scalable and Reliable Applications!
Lambda Architecture: The Best Way to Build Scalable and Reliable Applications!Lambda Architecture: The Best Way to Build Scalable and Reliable Applications!
Lambda Architecture: The Best Way to Build Scalable and Reliable Applications!
Tugdual Grall
 
Big Data Journey
Big Data JourneyBig Data Journey
Big Data Journey
Tugdual Grall
 
Proud to be Polyglot - Riviera Dev 2015
Proud to be Polyglot - Riviera Dev 2015Proud to be Polyglot - Riviera Dev 2015
Proud to be Polyglot - Riviera Dev 2015
Tugdual Grall
 
Enabling Telco to Build and Run Modern Applications
Enabling Telco to Build and Run Modern Applications Enabling Telco to Build and Run Modern Applications
Enabling Telco to Build and Run Modern Applications
Tugdual Grall
 
MongoDB and Hadoop
MongoDB and HadoopMongoDB and Hadoop
MongoDB and Hadoop
Tugdual Grall
 
Proud to be polyglot
Proud to be polyglotProud to be polyglot
Proud to be polyglot
Tugdual Grall
 
Devoxx 2014 : Atelier MongoDB - Decouverte de MongoDB 2.6
Devoxx 2014 : Atelier MongoDB - Decouverte de MongoDB 2.6Devoxx 2014 : Atelier MongoDB - Decouverte de MongoDB 2.6
Devoxx 2014 : Atelier MongoDB - Decouverte de MongoDB 2.6
Tugdual Grall
 
Some cool features of MongoDB
Some cool features of MongoDBSome cool features of MongoDB
Some cool features of MongoDB
Tugdual Grall
 
Building Your First MongoDB Application
Building Your First MongoDB ApplicationBuilding Your First MongoDB Application
Building Your First MongoDB Application
Tugdual Grall
 
Softshake 2013: Introduction to NoSQL with Couchbase
Softshake 2013: Introduction to NoSQL with CouchbaseSoftshake 2013: Introduction to NoSQL with Couchbase
Softshake 2013: Introduction to NoSQL with Couchbase
Tugdual Grall
 
Introduction to NoSQL with Couchbase
Introduction to NoSQL with CouchbaseIntroduction to NoSQL with Couchbase
Introduction to NoSQL with Couchbase
Tugdual Grall
 
Why and How to integrate Hadoop and NoSQL?
Why and How to integrate Hadoop and NoSQL?Why and How to integrate Hadoop and NoSQL?
Why and How to integrate Hadoop and NoSQL?
Tugdual Grall
 
NoSQL Matters 2013 - Introduction to Map Reduce with Couchbase 2.0
NoSQL Matters 2013 - Introduction to Map Reduce with Couchbase 2.0NoSQL Matters 2013 - Introduction to Map Reduce with Couchbase 2.0
NoSQL Matters 2013 - Introduction to Map Reduce with Couchbase 2.0
Tugdual Grall
 
Big Data Paris : Hadoop and NoSQL
Big Data Paris : Hadoop and NoSQLBig Data Paris : Hadoop and NoSQL
Big Data Paris : Hadoop and NoSQL
Tugdual Grall
 
Big Data Israel Meetup : Couchbase and Big Data
Big Data Israel Meetup : Couchbase and Big DataBig Data Israel Meetup : Couchbase and Big Data
Big Data Israel Meetup : Couchbase and Big Data
Tugdual Grall
 
FOSDEM 2013 : Getting Started with Couchhbase Server 2.0
FOSDEM 2013 : Getting Started with Couchhbase Server 2.0FOSDEM 2013 : Getting Started with Couchhbase Server 2.0
FOSDEM 2013 : Getting Started with Couchhbase Server 2.0
Tugdual Grall
 

More from Tugdual Grall (20)

Introduction to Streaming with Apache Flink
Introduction to Streaming with Apache FlinkIntroduction to Streaming with Apache Flink
Introduction to Streaming with Apache Flink
 
Introduction to Streaming with Apache Flink
Introduction to Streaming with Apache FlinkIntroduction to Streaming with Apache Flink
Introduction to Streaming with Apache Flink
 
Fast Cars, Big Data - How Streaming Can Help Formula 1
Fast Cars, Big Data - How Streaming Can Help Formula 1Fast Cars, Big Data - How Streaming Can Help Formula 1
Fast Cars, Big Data - How Streaming Can Help Formula 1
 
Lambda Architecture: The Best Way to Build Scalable and Reliable Applications!
Lambda Architecture: The Best Way to Build Scalable and Reliable Applications!Lambda Architecture: The Best Way to Build Scalable and Reliable Applications!
Lambda Architecture: The Best Way to Build Scalable and Reliable Applications!
 
Big Data Journey
Big Data JourneyBig Data Journey
Big Data Journey
 
Proud to be Polyglot - Riviera Dev 2015
Proud to be Polyglot - Riviera Dev 2015Proud to be Polyglot - Riviera Dev 2015
Proud to be Polyglot - Riviera Dev 2015
 
Enabling Telco to Build and Run Modern Applications
Enabling Telco to Build and Run Modern Applications Enabling Telco to Build and Run Modern Applications
Enabling Telco to Build and Run Modern Applications
 
MongoDB and Hadoop
MongoDB and HadoopMongoDB and Hadoop
MongoDB and Hadoop
 
Proud to be polyglot
Proud to be polyglotProud to be polyglot
Proud to be polyglot
 
Devoxx 2014 : Atelier MongoDB - Decouverte de MongoDB 2.6
Devoxx 2014 : Atelier MongoDB - Decouverte de MongoDB 2.6Devoxx 2014 : Atelier MongoDB - Decouverte de MongoDB 2.6
Devoxx 2014 : Atelier MongoDB - Decouverte de MongoDB 2.6
 
Some cool features of MongoDB
Some cool features of MongoDBSome cool features of MongoDB
Some cool features of MongoDB
 
Building Your First MongoDB Application
Building Your First MongoDB ApplicationBuilding Your First MongoDB Application
Building Your First MongoDB Application
 
Neotys conference
Neotys conferenceNeotys conference
Neotys conference
 
Softshake 2013: Introduction to NoSQL with Couchbase
Softshake 2013: Introduction to NoSQL with CouchbaseSoftshake 2013: Introduction to NoSQL with Couchbase
Softshake 2013: Introduction to NoSQL with Couchbase
 
Introduction to NoSQL with Couchbase
Introduction to NoSQL with CouchbaseIntroduction to NoSQL with Couchbase
Introduction to NoSQL with Couchbase
 
Why and How to integrate Hadoop and NoSQL?
Why and How to integrate Hadoop and NoSQL?Why and How to integrate Hadoop and NoSQL?
Why and How to integrate Hadoop and NoSQL?
 
NoSQL Matters 2013 - Introduction to Map Reduce with Couchbase 2.0
NoSQL Matters 2013 - Introduction to Map Reduce with Couchbase 2.0NoSQL Matters 2013 - Introduction to Map Reduce with Couchbase 2.0
NoSQL Matters 2013 - Introduction to Map Reduce with Couchbase 2.0
 
Big Data Paris : Hadoop and NoSQL
Big Data Paris : Hadoop and NoSQLBig Data Paris : Hadoop and NoSQL
Big Data Paris : Hadoop and NoSQL
 
Big Data Israel Meetup : Couchbase and Big Data
Big Data Israel Meetup : Couchbase and Big DataBig Data Israel Meetup : Couchbase and Big Data
Big Data Israel Meetup : Couchbase and Big Data
 
FOSDEM 2013 : Getting Started with Couchhbase Server 2.0
FOSDEM 2013 : Getting Started with Couchhbase Server 2.0FOSDEM 2013 : Getting Started with Couchhbase Server 2.0
FOSDEM 2013 : Getting Started with Couchhbase Server 2.0
 

Recently uploaded

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 

Recently uploaded (20)

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 

Introduction to NoSQL with MongoDB - SQLi Workshop

  • 1. Tugdual Grall Technical Evangelist tug@mongodb.com @tgrall Introduction Philippe Charriere DirecteurTechnique pcharriere@sqli.com @k33g_org
  • 2. Introduction to NoSQLwith MongoDB Tugdual Grall Technical Evangelist tug@mongodb.com @tgrall Philippe Charriere DirecteurTechnique pcharriere@sqli.com @k33g_org
  • 3. Tugdual “Tug” Grall • MongoDB – Technical Evangelist • Couchbase – Technical Evangelist • eXo – CTO • Oracle – Developer/Product Manager – Mainly Java/SOA • Developer in consulting firms {“about” : “me”} • Web – @tgrall – http://blog.grallandco.com – tgrall • NantesJUG cofounder
 • Pet Project – http://www.resultri.com
 • tug@mongodb.com • tugdual@gmail.com
  • 5.
  • 9. Living in the Post-transactional Future Order-processing systems largely “done” (RDBMS); new focus on better search and recommendations or adapting prices on the fly (NoSQL) Vast majority of its engineering is focused on recommending better movies (NoSQL), not processing monthly bills (RDBMS) Easy part is processing the credit card (RDBMS). Hard part is making it location aware, so it knows where you are and what you’re buying (NoSQL)
  • 10. Stay up! .  .  . Application Scale out Add more “Web” servers RDBMS Scale Up Get bigger server RDBMS App  Server
  • 11. NoSQL to Scale out! .  .  . Application Scale out Add more “Web” servers NoSQL Scale Out Add more servers NoSQL App  Server .  .  .
  • 12. RDBMS Is Like a Spreadsheet
  • 14.
  • 15. And makes things hard to change Name Age Phone Email New Column New Table New Table New Column
  • 16. Relational Database Challenges Data Types Unstructured data Semi-structured data Polymorphic data Agile Development Iterative Short development cycles New workloads Volume of Data Petabytes of data Trillions of records Millions of queries/sec New Architectures Horizontal scaling Commodity servers Cloud computing
  • 17. Operational Database Landscape Scalability&Performance Depth of Functionality key/value stores wide column RDBMS MongoDB
  • 20. Baseball Bat -3 length to weight ratio 2-5/8" barrel diameter Two-piece construction R2 alloy barrel provides outstanding durability, performance and "pop" R2 composite handle shifts weight into the bat's knob for ultra-fast swing speeds Rifle Barrel design removes weight from the barrel for thinner wall thickness Acoustic barrel offers that sweet-sounding "ping" Contact grip helps eliminate sting and vibration AIR Elite is RIP-IT's® fastest BBCOR bat and the one with the most performance BBCOR certified - approved for high school and collegiate play Includes RIP-IT's® "Love It Or Return It" 30 Day Refund Policy with free return shipping Manufacturer's warranty: 400 days Made in the USA Model: B1403E
  • 21. Bat Product Table Category Model Name Brand Length to weight ratio Barrel Dia Type Barrel Handle Cert. Country Price Bat B1403E Air Elite RIP-IT -3 2 5/8 Composite R2 Alloy R2 composite BBCOR USA $399.99 Bat B1403 Prototype RIP-IT -3 2 5/8 One-piece R1 Alloy R1 Alloy BBCOR USA $199.99 Bat MCB1B One Marucci -3 2 5/8 One-piece AZ3000 aluminum AZ3000 aluminum BBCOR Imported $199.99 Bat BB14S1 S1 Easton -3 2 5/8 Composite IMX SIC Black Carbon BBCOR China $399.99
  • 22. Lets Add Gloves Size: 12" Infield/Outfield/Pitcher model 2-Piece Web pattern Most popular MLB® pattern among pitchers Pro Stock® American steerhide leather offers rugged durability and a superior feel Dual-Welting™ on "exposed edges" of the fingers helps maintain pocket shape and durability Pro Stock™ hand-designed pattern for unbeatable craftsmanship Dri-Lex® ultra-breathable wrist lining repels moisture from your hand Black leather with rich brown embellishments Pattern: B212 Model: WTA2000BBB212 Wilson
  • 23. Bat and Glove Product Table Category Model Name Brand Length to weight ratio Barrel Dia Type Barrel Handle Cert. Country Price Bat B1403E Air Elite RIP-IT -3 2 5/8 Composite R2 Alloy R2 composite BBCOR USA $399.99 Bat B1403 Prototype RIP-IT -3 2 5/8 One-piece R1 Alloy R1 Alloy BBCOR USA $199.99 Bat MCB1B One Marucci -3 2 5/8 One-piece AL AL BBCOR Imported $199.99 Bat BB14S1 S1 Easton -3 2 5/8 Composite IMX SIC Black Carbon BBCOR China $399.99 Category Model Name Brand Size Position Pattern Web Pattern Material Color Country Price Glove WTA2000B BB212 A2000 Wilson 12" Infield B212 2-piece Leather black Vietnam $299.99 Glove PRO112PT HOH Pro Rawlings 11.25" Outfield Pro taper Modified Trap-Eze Horween Leather black China $229.99
  • 24. Add some baseballs Cover: Full grain leather for excellent durability Core: Cushioned cork core Additions/Technologies: Made to the exact specifications of MLB Stitching/Seams: 108 classic red stitches/Rawlings® Major League seaming League/Certification(s): MLB Balls included per purchase: individual Recommended Age: All ages Model : ROMLB Rawlings
  • 25. Bat and Glove Product Table Category Model Name Brand Length to weight ratio Barrel Dia Type Barrel Handle Cert. Country Price Bat B1403E Air Elite RIP-IT -3 2 5/8 Composite R2 Alloy R2 composite BBCOR USA $399.99 Bat B1403 Prototype RIP-IT -3 2 5/8 One-piece R1 Alloy R1 Alloy BBCOR USA $199.99 Bat MCB1B One Marucci -3 2 5/8 One-piece AL AL BBCOR Imported $199.99 Bat BB14S1 S1 Easton -3 2 5/8 Composite IMX SIC Black Carbon BBCOR China $399.99 Category Model Name Brand Size Position Pattern Web Pattern Material Color Country Price Glove WTA2000B BB212 A2000 Wilson 12" Infield B212 2-piece Leather black Vietnam $299.99 Glove PRO112PT HOH Pro Rawlings 11.25" Outfield Pro taper Modified Trap-Eze Horween Leather black China $229.99 Category Model Name Brand Color Cover Core Cert. Country Price Baseball DICRLLB1 PBG Little League Rawlings white Leather Cork
 rubber Little League China $4.99 Baseball ROML MLB Rawlings white Leather cork China $6.99
  • 26. Sparse Table Category Model Name Brand Length to weight ratio Barrel Dia Type Barrel Handle Certificati on Country Price Size Position Pattern Web Pattern Material Color Cover Core Bat B1403E Air  Elite RIP-­‐IT -­‐3 2  5/8 Composite R2  Alloy R2   composite BBCOR USA $399.99   Bat B1403 Prototype RIP-­‐IT -­‐3 2  5/8 One-­‐piece R1  Alloy R1  Alloy BBCOR USA $199.99   Bat MCB1B One Marucci -­‐3 2  5/8 One-­‐piece AZ3000   aluminum AZ3000   aluminum BBCOR Imported $199.99   Bat BB14S1 S1 Easton -­‐3 2  5/8 Composite IMX SIC  Black   Carbon BBCOR China $399.99   Glove WTA2000BB B212 A2000 Wilson Vietnam $299.99   12" Infield B212 2-­‐piece Leather black Glove PRO112PT HOH  Pro Rawlings China $229.99   11.25" Outfield Pro  taper Modified   Trap-­‐Eze Horween   Leather black Baseball DICRLLB1PB G Little  League Rawlings Little  League China $4.99   white Leather cork  and   rubber Baseball ROML MLB Rawlings China $6.99   white Leather cork Continue adding columns as you add new products
  • 27. Maybe this design will work better prodID property value 1 length/weight -3 1 barrel dia 2 5/8 1 type composite 1 certification BBCOR … 5 size 12 5 position infield 5 pattern B212 5 material leather 5 color black … 8 color white 8 cover leather 8 core cork prodID Category Model Name Brand Country Price 1 Bat B1403E Air Elite RIP-IT USA $399.99 2 Bat B1403 Prototype RIP-IT USA $199.99 3 Bat MCB1B One Marucci Imported $199.99 4 Bat BB14S1 S1 Easton China $399.99 5 Glove WTA2000BBB 212 A2000 Wilson Vietnam $299.99 6 Glove PRO112PT HOH Pro Rawlings China $229.99 7 Baseball DICRLLB1PBG Little League Rawlings China $4.99 8 Baseball ROML MLB Rawlings China $6.99
  • 28. MongoDB uses “Documents” { category:“glove”, model:“PRO112PT”, name:“Air Elite”, brand:“Rawlings”, price: 229.99, available: Date(“2013-03-31”) } Fields Values Field values are typed string number date
  • 29. Documents are rich structures { category:“glove”, model:“PRO112PT”, name:“Air Elite”, brand:“Rawlings”, price: 229.99, available: Date(“2013-03-31”), position: [“infield”,“outfield”,“pitcher”] } Fields  can  contain  arrays
  • 30. Documents are rich structures { category:“glove”, model:“PRO112PT”, name:“Air Elite”, brand:“Rawlings”, price: 229.99, available: Date(“2013-03-31”), position: [“infield”,“outfield”,“pitcher”], endorsed: {name:“Ryan Howard”, team:“Phillies”, position:“first base”}, } Fields can contain sub- documents
  • 31. Documents are rich structures{ category:“glove”, model:“PRO112PT”, name:“Air Elite”, brand:“Rawlings”, price: 229.99, available: Date(“2013-03-31”), position: [“infield”,“outfield”,“pitcher”], endorsed: {name:“Ryan Howard”, team:“Phillies”, position:“first base”}, history: [{date: Date(“2013-03-31”), price: 279.99}, {date: Date(“2013-06-01”),price: 259.79}, {date: Date(“2013-08-15”),price: 229.99}] } Fields can contain an array of sub-documents
  • 32. Variation is easy with document model { category: bat, model: B1403E, name:Air Elite, brand:“Rip-IT”, price: 399.99 diameter:“2 5/8”, barrel: R2Alloy, handle: R2 Composite, type: composite, } { category: glove, model: PRO112PT, name:Air Elite, brand:“Rawlings”, price:“229.99” size: 11.25, position: outfield, pattern:“Pro taper”, material: leather, color: black } { category: ball, model: ROML, name: MLB, brand:“Rawlings”, price:“6.99” cover: leather, core: cork, color: white }
  • 33. { "_id" : 45218468309, "date" : ISODate("2015-01-28T09:40:50.615Z"), "customer" : { "id" : 654321, "name" : "John Doe" }, "ship_to" : { "name" : "John Doe", "street" : “Rue du Code", "city" : “69000 Lyon", }, "items" : [ { "sku" : "WA34R", "description" : "Wireless Qwerty Keyboard", "quantity" : 1, "unit_price" : 41.5, "price" : 41.5, "vat" : 20 }, { "sku" : "MW003", "description" : "MiWatch", "quantity" : 2, "unit_price" : 245, "price" : 490, "vat" : 20 } ], "price" : { "total" : 531.5 , "vat" : 106.3 } } Document Data Model Relational MongoDB
  • 34. Document Data Model Relational MongoDB {   first_name: ‘Paul’,   surname: ‘Miller’,   city: ‘London’,   location: [45.123,47.232],   cars: [   { model: ‘Bentley’,   year: 1973,   value: 100000, … },   { model: ‘Rolls Royce’,   year: 1965,   value: 330000, … }   }   }
  • 35. Document Model Benefits Agility and flexibility Data model supports business change Rapidly iterate to meet new requirements Intuitive, natural data representation Eliminates ORM layer Developers are more productive Reduces the need for joins, disk seeks Programming is more simple Performance delivered at scale { _id : ObjectId("4c4ba5e5e8aabf3"), employee_name: "Dunham, Justin", department : "Marketing", title : "Product Manager, Web", report_up: "Neray, Graham", pay_band: “C", benefits : [ { type : "Health", plan : "PPO Plus" }, { type : "Dental", plan : "Standard" } ] }
  • 36. Morphia MEAN  Stack Java Python PerlRuby Support for the most popular languages and frameworks Drivers & Ecosystem
  • 39. ‹#› CREATE APPLICATIONS 
 NEVER BEFORE POSSIBLE AGILE SCALABLE
  • 41. THE LARGEST ECOSYSTEM 9,000,000+
 MongoDB Downloads 200,000+
 Online Education Registrants 35,000+
 MongoDB User Group Members 35,000+
 MongoDB Management Service (MMS) Users 750+
 Technology and Services Partners 2,000+
 Customers Across All Industries
  • 43. MongoDB, Inc. 400+ employees 2,000+ customers Over $311 million in funding13 offices around the world
  • 44. High Availability & Scalability
  • 45. HighAvailability Replica Set – two or more copies
 Self-healing shard
 Addresses availability considerations: High Availability Disaster Recovery Maintenance
 Deployment Flexibility Data locality to users Workload isolation: operational & analytics
  • 46. Scalability Three types of sharding: hash-based, range-based, tag-aware Increase or decrease capacity as you go Automatic balancing
  • 47. Query Routing Multiple query optimization models Each sharding option appropriate for different apps
  • 50. Single Data Center Automated failover Tolerates server failures Tolerates rack failures Number of replicas defines failure tolerance
  • 51. Active/Active Data Center Tolerates server, rack, data center failures, network partitions
  • 54. Single-click provisioning, scaling & upgrades, admin tasks Monitoring, with charts, dashboards and alerts on 100+ metrics Backup and restore, with point-in-time recovery, support for sharded clusters MongoDB Ops Manager The Best Way to Manage MongoDB In Your Data Center Up to 95% Reduction in Operational Overhead
  • 55. How MongoDB Ops Manager helps you Scale  EasilyMeet  SLAs Best  Practices,   Automated Cut  Management   Overhead
  • 56. How Ops Manager Works Ops Manager mongod mongodmongod Agent Agent Agent New Config. N ew C onfig. NewConfig.
  • 57. Integrates with Existing Infrastructure
  • 58. *Included with MongoDB Enterprise Advanced BUSINESS NEEDS SECURITY FEATURES Authentication SCRAM, LDAP*, Kerberos*, x.509 Certificates Authorization Built-in Roles, User-Defined Roles, Field-Level Redaction Auditing Admin, DML, DDL, Role-based Encryption Network: SSL (with FIPS 140-2)*, Disk: Partner Solutions Enterprise-Grade Security
  • 60. Scale 250M Ticks/Sec 300K+ Ops/Sec 500K+ Ops/SecFed Agency Performance 1,400 Servers 1,000+ Servers 250+ Servers Entertainment Co. Cluster Petabytes 10s of billions of objects 13B documents Data Asian Internet Co.
  • 61. Example: MongoDB Management Service Cloud service for managing MongoDB systems 100+ system metrics visualized and alerted 35,000+ MongoDB systems submitting data every 60 seconds 90% updates, 10% reads ~30,000 updates/second ~3.2B operations/day Eight x86-64 servers
  • 62. MongoDB Performance* Top 5 Marketing Firm Government Agency Top 5 Investment Bank Data Key/value 10+ fields, arrays, nested documents 20+ fields, arrays, nested documents Queries Key-based 1 – 100 docs/query   80/20 read/write Compound queries   Range queries   MapReduce   20/80 read/write Compound queries   Range queries   50/50 read/write Servers ~250 ~50 4 Ops/sec 1,200,000 500,000 30,000 * These figures are provided as examples. Your application governs your performance.
  • 63. For More Information Resource Location Case Studies mongodb.com/customers Presentations mongodb.com/presentations Free Online Training education.mongodb.com Webinars and Events mongodb.com/events Documentation docs.mongodb.org MongoDB Downloads mongodb.com/download Additional Info info@mongodb.com