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
The MongoDB Quest - a tale of shards replicas a...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Robson de Almeida
October 17, 2014
Programming
0
90
The MongoDB Quest - a tale of shards replicas and a lot of data
Presentation of my talk on the Big Data track of Porto Alegre TDC 2014 event.
Robson de Almeida
October 17, 2014
Tweet
Share
More Decks by Robson de Almeida
See All by Robson de Almeida
The Road to Node(JS)
robsondealmeida
0
69
R.I.P.: REST in peace! A guide through RESTful services.
robsondealmeida
2
130
The Queue is dead! Long live the Event!
robsondealmeida
1
210
Startup for Developers: each line matters.
robsondealmeida
0
91
The Lean Startup na Prática
robsondealmeida
0
210
Other Decks in Programming
See All in Programming
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
1
340
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
950
Beyond the Basics: Signal Forms
manfredsteyer
PRO
0
110
CSC307 Lecture 14
javiergs
PRO
0
440
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
360
Oxlint JS plugins
kazupon
1
1.1k
nilとは何か 〜interfaceの構造とnil!=nilから理解する〜 / Understanding nil in Go Interface Representation and Why nil != nil
kuro_kurorrr
3
1.5k
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
490
エージェント開発初心者の僕がエージェントを作った話と今後やりたいこと
thasu0123
0
210
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
210
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
220
ふん…おもしれぇ Parser。RubyKaigi 行ってやるぜ
aki_pin0
0
120
Featured
See All Featured
Visualization
eitanlees
150
17k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
72k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
130
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4k
SEO for Brand Visibility & Recognition
aleyda
0
4.3k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
290
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
240
Six Lessons from altMBA
skipperchong
29
4.2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Skip the Path - Find Your Career Trail
mkilby
0
70
Transcript
The MongoDB Quest a tale of shards, replicas and a
lot of data.
/robsondealmeida /robsondealmeida
The MongoDB Quest a tale of shards, replicas and a
lot of data.
“ MongoDB is an open-source document database. (…) Written in
C++. ”
“ MongoDB is an open-source document database. (…) Written in
C++. ”
“ MongoDB is an open-source document database. (…) Written in
C++. ”
“ MongoDB is an open-source document database. (…) Written in
C++. ”
But, MongoDB don't scale … … oh really?! These guys
don’t agree.
None
MongoDB scale … but you need to know how to
do it.
Shard divide and conquer
sharding a collection
Easy … easy … but, wait!
???
None
Scale adds complexity now we need to handle with it.
None
Routers
Routers
Routers
None
Configuration servers
Shards
Enabling shard sh.shardCollection("<database>.<collection>", shard-key-pattern)
Shard key where the magic happens.
Range Based Sharding vs Hash Based Sharding
Replication Replica sets: redundancy and availability.
Replication
Aggregation aggregation pipelines & map-reduce
Aggregation pipeline
Map-Reduce
+
Thanks. speakerdeck.com/robsondealmeida
[email protected]
Quando o cara nasce para ser programador, o cara nasce
para ser programador.