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
Robson de Almeida
October 17, 2014
Programming
0
89
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
68
R.I.P.: REST in peace! A guide through RESTful services.
robsondealmeida
2
130
The Queue is dead! Long live the Event!
robsondealmeida
1
200
Startup for Developers: each line matters.
robsondealmeida
0
90
The Lean Startup na Prática
robsondealmeida
0
200
Other Decks in Programming
See All in Programming
Vibe codingでおすすめの言語と開発手法
uyuki234
0
180
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2k
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
180
PostgreSQLで手軽にDuckDBを使う!DuckDB&pg_duckdb入門/osc25hi-duckdb
takahashiikki
0
250
CSC307 Lecture 04
javiergs
PRO
0
640
Data-Centric Kaggle
isax1015
2
570
AgentCoreとHuman in the Loop
har1101
5
170
CSC307 Lecture 01
javiergs
PRO
0
670
dchart: charts from deck markup
ajstarks
3
960
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
130
Python札幌 LT資料
t3tra
7
1.1k
CSC307 Lecture 05
javiergs
PRO
0
470
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
890
KATA
mclloyd
PRO
33
15k
The Cost Of JavaScript in 2023
addyosmani
55
9.4k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
210
Ethics towards AI in product and experience design
skipperchong
1
170
Crafting Experiences
bethany
0
32
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
410
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
120
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
200
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
130
From π to Pie charts
rasagy
0
120
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
150
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.