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
93
2
Share
10 reasons to fall in love with MongoDB | Mikhail Burtylev
Mikhail Burtylev,
Meetup #1
Minsk MongoDB User Group
May 07, 2012
More Decks by Minsk MongoDB User Group
See All by Minsk MongoDB User Group
MongoDB by Chef | Yauhen Artsiukhou
bymongo
0
140
MongoDB at IronMQ | Alexander Kolesen
bymongo
0
860
Scaling MongoDB | Sergey Gavruk
bymongo
2
190
Event sourcing + CQRS + MongoDB | Alex Shkor
bymongo
1
650
How it works. Indexes | Kirill Duborenko
bymongo
5
290
Aggregation Framework | Mikhail Burtylev
bymongo
1
120
MongoDB 2.2: Release update + Roadmap | Alvin Richards
bymongo
1
110
Meetup#6 Intro | Alex Litvinok
bymongo
1
62
Deploying MongoDB on Amazon WS | Michael Karpitsky
bymongo
2
130
Other Decks in Technology
See All in Technology
CloudSec JP #005 後締め ~ソフトウェアサプライチェーン攻撃から開発者のシークレットを守る~
lhazy
0
220
こんなアーキテクチャ図はいやだ / Anti-pattern in AWS Architecture Diagrams
naospon
1
400
Claude Code を安全に使おう勉強会 / Claude Code Security Basics
masahirokawahara
2
14k
昔はシンプルだった_AmazonS3
kawaji_scratch
0
300
クラウドネイティブな開発 ~ 認知負荷に立ち向かうためのコンテナ活用
literalice
0
100
2026年、知っておくべき最新 サーバレスTips10選/serverless-10-tips
slsops
13
5k
猫でもわかるKiro CLI(CDKコーディング編)
kentapapa
1
120
Snowflake Intelligence導入で 分かった活用のコツ
wonohe
0
110
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.3k
最初の一歩を踏み出せなかった私が、誰かの背中を押したいと思うようになるまで / give someone a push
mii3king
0
150
Do Ruby::Box dream of Modular Monolith?
joker1007
1
300
Featured
See All Featured
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
320
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Side Projects
sachag
455
43k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
4 Signs Your Business is Dying
shpigford
187
22k
The Limits of Empathy - UXLibs8
cassininazir
1
300
Done Done
chrislema
186
16k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.5k
Building the Perfect Custom Keyboard
takai
2
730
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
180
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?