Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
10 reasons to fall in love with MongoDB | Mikha...
Search
Minsk MongoDB User Group
May 07, 2012
Technology
2
83
10 reasons to fall in love with MongoDB | Mikhail Burtylev
Mikhail Burtylev,
Meetup #1
Minsk MongoDB User Group
May 07, 2012
Tweet
Share
More Decks by Minsk MongoDB User Group
See All by Minsk MongoDB User Group
MongoDB by Chef | Yauhen Artsiukhou
bymongo
0
130
MongoDB at IronMQ | Alexander Kolesen
bymongo
0
850
Scaling MongoDB | Sergey Gavruk
bymongo
2
180
Event sourcing + CQRS + MongoDB | Alex Shkor
bymongo
1
640
How it works. Indexes | Kirill Duborenko
bymongo
5
280
Aggregation Framework | Mikhail Burtylev
bymongo
1
97
MongoDB 2.2: Release update + Roadmap | Alvin Richards
bymongo
1
99
Meetup#6 Intro | Alex Litvinok
bymongo
1
46
Deploying MongoDB on Amazon WS | Michael Karpitsky
bymongo
2
110
Other Decks in Technology
See All in Technology
Кто отправит outbox? Валентин Удальцов, автор канала Пых
lamodatech
0
280
第9回情シス転職ミートアップ_テックタッチ株式会社
forester3003
0
150
Azure AI Foundryでマルチエージェントワークフロー
seosoft
0
150
_第3回__AIxIoTビジネス共創ラボ紹介資料_20250617.pdf
iotcomjpadmin
0
140
あなたの声を届けよう! 女性エンジニア登壇の意義とアウトプット実践ガイド #wttjp / Call for Your Voice
kondoyuko
1
140
ObsidianをMCP連携させてみる
ttnyt8701
2
140
IIWレポートからみるID業界で話題のMCP
fujie
0
730
In Praise of "Normal" Engineers (LDX3)
charity
3
1.2k
~宇宙最速~2025年AWS Summit レポート
satodesu
1
1.4k
A2Aのクライアントを自作する
rynsuke
1
150
米国国防総省のDevSecOpsライフサイクルをAWSのセキュリティサービスとOSSで実現
syoshie
2
820
LinkX_GitHubを基点にした_AI時代のプロジェクトマネジメント.pdf
iotcomjpadmin
0
160
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Embracing the Ebb and Flow
colly
86
4.7k
Documentation Writing (for coders)
carmenintech
71
4.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
660
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Done Done
chrislema
184
16k
A designer walks into a library…
pauljervisheath
206
24k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Transcript
10 reasons to fall in love
NoSQL MongoDB -‐ humongous Open source,
10gen Cross-‐pla;orm: OS X, Linux, Windows, Solaris v1.0 – Aug 2009 v1.9.1 – Aug 2011 (odd – DEV version) v2.0.3 – Feb 2012 Introduc5on
1. Fast & powerful Scalability and performance Depth of
functionality key/value stores MongoDB RDBMS Focus on performance
{ _id: <document identifier>, key: “value”, subDocument: {innerProp: null} }
JSON/BSON, 16MB Basic types, arrays, embedded documents, ObjectId, other 2. Document-‐oriented
3. Schema-‐free { _id: ObjectId("4B980A6DEA2C3F4579DA141E"), user_id: ObjectId("4B980A6DEA2C3F4579DA4F54"), shipping_address: {
street: "3333 Green Ave", city: "Brooklyn", state: "NY"}, line_items: [ {sku: “rbk-423", name: “Case", price: 4000}, {sku: "spk-211", name: "Guitar", price: 9200}], subtotal: 13200, tax: 1100, total: 14300 } ObjectId Link to user Embedded document Array Embedded documents Duplication
4. Rich queries db.books.find({name: “MongoDB”}); {author: {$exists: true}, “info.price”:
{$lt: 10}} $gt, $lt, $or, $not, $type, $exists, $in, $all, $elemMatch $where – JavaScript expression db.books.find().skip(50).limit(10).sort({name: 1})
5. Full Index Support Basic keys, Compound keys Embedded
fields, Arrays Unique, Sparse, Background Geospatial indexes (2d) db.places.find({loc: {$near: [50,50], $maxDistance: 5}}).limit(20)
Atomic modifiers ($inc, $set, $push…) Upsert FindAndModify Capped collections MapReduce
GridFS 6. Useful features
7. Replica5on Master-Slave Replica Set M S
S S M S M S M M S M (Data Center Awareness)
8. Auto-‐Sharding Horizontal scalability client AL <= state
< KA KA <= state < OH OK <= state <= WY mongos mongod mongod mongod
~50MB of binaries No installation required Multi-language support: C#, C,
C++, Java, Perl, PHP, Python, Ruby Tools: MongoVUE, RockMongo http://try.mongodb.org 9. Easy to try
10. Support Documentation http://www.mongodb.org Official MongoDB site http://groups.google.com/group/mongodb-user Google
user group Commercial support MongoDB Monitoring Service (MMS)
Ques5ons?