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
83
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
58
R.I.P.: REST in peace! A guide through RESTful services.
robsondealmeida
2
120
The Queue is dead! Long live the Event!
robsondealmeida
1
180
Startup for Developers: each line matters.
robsondealmeida
0
82
The Lean Startup na Prática
robsondealmeida
0
200
Other Decks in Programming
See All in Programming
海外のアプリで見かけたかっこいいTransitionを真似てみる
shogotakasaki
1
160
ベクトル検索システムの気持ち
monochromegane
31
9.8k
DataStoreをテストする
mkeeda
0
280
DomainException と Result 型で作る型安全なエラーハンドリング
karszawa
0
880
AWSで雰囲気でつくる! VRChatの写真変換ピタゴラスイッチ
anatofuz
0
140
The Weight of Data: Rethinking Cloud-Native Systems for the Age of AI
hollycummins
0
270
サービスレベルを管理してアジャイルを加速しよう!! / slm-accelerate-agility
tomoyakitaura
1
160
Coding Experience Cpp vs Csharp - meetup app osaka@9
harukasao
0
730
SwiftUI API Design Lessons
niw
1
260
ミリしらMCP勉強会
watany
4
740
PHP で学ぶ OAuth 入門
azuki
1
120
リストビュー画面UX改善の振り返り
splcywolf
0
120
Featured
See All Featured
Become a Pro
speakerdeck
PRO
27
5.3k
We Have a Design System, Now What?
morganepeng
52
7.5k
Gamification - CAS2011
davidbonilla
81
5.2k
Building an army of robots
kneath
304
45k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
5
520
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
Thoughts on Productivity
jonyablonski
69
4.6k
A Tale of Four Properties
chriscoyier
158
23k
A better future with KSS
kneath
239
17k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
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.