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
85
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
650
How it works. Indexes | Kirill Duborenko
bymongo
5
280
Aggregation Framework | Mikhail Burtylev
bymongo
1
98
MongoDB 2.2: Release update + Roadmap | Alvin Richards
bymongo
1
100
Meetup#6 Intro | Alex Litvinok
bymongo
1
47
Deploying MongoDB on Amazon WS | Michael Karpitsky
bymongo
2
110
Other Decks in Technology
See All in Technology
「守る」から「進化させる」セキュリティへ ~AWS re:Inforce 2025参加報告~ / AWS re:Inforce 2025 Participation Report
yuj1osm
1
140
Yahoo!広告ビジネス基盤におけるバックエンド開発
lycorptech_jp
PRO
1
280
広島銀行におけるAWS活用の取り組みについて
masakimori
0
140
攻撃と防御で実践するプロダクトセキュリティ演習~導入パート~
recruitengineers
PRO
3
480
Android Studio の 新しいAI機能を試してみよう / Try out the new AI features in Android Studio
yanzm
0
280
Amazon Bedrock AgentCore でプロモーション用動画生成エージェントを開発する
nasuvitz
6
450
進捗
ydah
1
140
退屈なことはDevinにやらせよう〜〜Devin APIを使ったVisual Regression Testの自動追加〜
kawamataryo
3
750
会社にデータエンジニアがいることでできるようになること
10xinc
9
1.6k
実践アプリケーション設計 ②トランザクションスクリプトへの対応
recruitengineers
PRO
4
570
開発と脆弱性と脆弱性診断についての話
su3158
1
1.1k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
30k
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
GraphQLとの向き合い方2022年版
quramy
49
14k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Become a Pro
speakerdeck
PRO
29
5.5k
Site-Speed That Sticks
csswizardry
10
790
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Building an army of robots
kneath
306
46k
Producing Creativity
orderedlist
PRO
347
40k
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?