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
Bingo Bango Mongo
Search
mthenw
February 09, 2013
Technology
6
400
Bingo Bango Mongo
Replication and sharding in MongoDB. 09.02.2013 meetphp.pl #8
mthenw
February 09, 2013
Tweet
Share
More Decks by mthenw
See All by mthenw
How to make better technical decisions
mthenw
0
51
Globally distributed applications with Serverless Framework
mthenw
1
140
The State of Serverless
mthenw
0
690
The State of Serverless (PCUG)
mthenw
0
180
Apex: The Holy Grail of AWS Lambda
mthenw
0
170
Microservices on AWS ECS
mthenw
8
800
Practical React in Marionette application
mthenw
2
610
Working with single-threaded event loop
mthenw
1
320
Are you Redis? Introduction to Redis.
mthenw
2
720
Other Decks in Technology
See All in Technology
(HackFes)米国国防総省のDevSecOpsライフサイクルをAWSのセキュリティサービスとOSSで実現
syoshie
5
640
振り返りTransit Gateway ~VPCをいい感じでつなげるために~
masakiokuda
4
230
機械学習を「社会実装」するということ 2025年夏版 / Social Implementation of Machine Learning July 2025 Version
moepy_stats
1
330
OTel 公式ドキュメント翻訳 PJ から始めるコミュニティ活動/Community activities starting with the OTel official document translation project
msksgm
0
140
大規模組織にAIエージェントを迅速に導入するためのセキュリティの勘所 / AI agents for large-scale organizations
i35_267
5
170
P2P通信の標準化 WebRTCを知ろう
faithandbrave
6
2k
データエンジニアリング 4年前と変わったこと、 4年前と変わらないこと
tanakarian
2
330
Talk to Someone At Delta Airlines™️ USA Contact Numbers
travelcarecenter
0
170
Figma Dev Mode MCP Serverを用いたUI開発
zoothezoo
1
290
"Découvrir le Liberland"
rlifchitz
0
130
Microsoft Fabric ガバナンス設計の一歩目を考える
ryomaru0825
1
210
M365アカウント侵害時の初動対応
lhazy
5
4k
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
990
Facilitating Awesome Meetings
lara
54
6.5k
Building Applications with DynamoDB
mza
95
6.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
54k
What's in a price? How to price your products and services
michaelherold
246
12k
Visualization
eitanlees
146
16k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
RailsConf 2023
tenderlove
30
1.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
235
140k
Into the Great Unknown - MozCon
thekraken
40
1.9k
Transcript
bingo bango mongo replication and sharding in MongoDB
Maciej Winnicki Senior PHP Developer @ Allegro Group @mthenw
Mongo WHAT?
agile scalable document-oriented high-performance open source NoSQL database
data
read/write app db
data
data
You must scale!
read/write app db
read read/write master slave app
read read/write app replica set master slave
It was replication
data
read/write app replica set 1
read/write app replica set 2 replica set 1 replica set
3 read/write read/write
Where is my data?
a . . . z a . . g h
. . n o . . z
[email protected]
[email protected]
[email protected]
read/write app replica set 2 replica set 1 replica set
3 read/write read/write mongos
read/write app replica set 2 replica set 1 replica set
3 read/write read/write mongos config
It was sharding
server down
Thanks!
?