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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
mthenw
February 09, 2013
Technology
6
430
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
82
Globally distributed applications with Serverless Framework
mthenw
1
170
The State of Serverless
mthenw
0
720
The State of Serverless (PCUG)
mthenw
0
230
Apex: The Holy Grail of AWS Lambda
mthenw
0
210
Microservices on AWS ECS
mthenw
8
830
Practical React in Marionette application
mthenw
2
620
Working with single-threaded event loop
mthenw
1
350
Are you Redis? Introduction to Redis.
mthenw
2
750
Other Decks in Technology
See All in Technology
マルチアカウント環境でSecurity Hubの運用!導入の苦労とポイント / JAWS DAYS 2026
genda
0
600
AWS DevOps Agent vs SRE俺 / AWS DevOps Agent vs me, the SRE
sms_tech
3
570
The_Evolution_of_Bits_AI_SRE.pdf
nulabinc
PRO
0
190
AIエージェント時代に備える AWS Organizations とアカウント設計
kossykinto
3
900
銀行の内製開発にて2つのプロダクトを1つのチームでスクラムしてみてる話
koba1210
1
120
Yahoo!ショッピングのレコメンデーション・システムにおけるML実践の一例
lycorptech_jp
PRO
1
200
社内レビューは機能しているのか
matsuba
0
110
AI時代のSaaSとETL
shoe116
1
140
複数クラスタ運用と検索の高度化:ビズリーチにおけるElastic活用事例 / ElasticON Tokyo2026
visional_engineering_and_design
0
140
Go標準パッケージのI/O処理をながめる
matumoto
0
190
今のWordPress の制作手法ってなにがあんねん?(改) / What’s the Deal with WordPress Development These Days?
tbshiki
0
440
オレ達はAWS管理をやりたいんじゃない!開発の生産性を爆アゲしたいんだ!!
wkm2
4
510
Featured
See All Featured
Believing is Seeing
oripsolob
1
82
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
310
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.9k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
First, design no harm
axbom
PRO
2
1.1k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
120
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
130
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
160
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
960
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!
?