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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Robson de Almeida
October 17, 2014
Programming
0
91
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
70
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
94
The Lean Startup na Prática
robsondealmeida
0
210
Other Decks in Programming
See All in Programming
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
280
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
180
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
950
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
440
モダンOBSプラグイン開発
umireon
0
120
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
8.1k
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
15
8.7k
PostgreSQL を使った快適な go test 環境を求めて
otakakot
0
550
How to stabilize UI tests using XCTest
akkeylab
0
130
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
140
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
900
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
120
Featured
See All Featured
Claude Code のすすめ
schroneko
67
220k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
180
How to build a perfect <img>
jonoalderson
1
5.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Chasing Engaging Ingredients in Design
codingconduct
0
140
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
640
Evolving SEO for Evolving Search Engines
ryanjones
0
150
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
450
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
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.