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
440
6
Share
Bingo Bango Mongo
Replication and sharding in MongoDB. 09.02.2013 meetphp.pl #8
mthenw
February 09, 2013
More Decks by mthenw
See All by mthenw
How to make better technical decisions
mthenw
0
91
Globally distributed applications with Serverless Framework
mthenw
1
180
The State of Serverless
mthenw
0
750
The State of Serverless (PCUG)
mthenw
0
250
Apex: The Holy Grail of AWS Lambda
mthenw
0
220
Microservices on AWS ECS
mthenw
8
850
Practical React in Marionette application
mthenw
2
630
Working with single-threaded event loop
mthenw
1
360
Are you Redis? Introduction to Redis.
mthenw
2
750
Other Decks in Technology
See All in Technology
Sony_KMP_Journey_KotlinConf2026
sony
2
200
20260528_生成AIを専属DSに_Howの次にすべきことを考える
doradora09
PRO
0
280
Oracle Cloud Infrastructure IaaS 新機能アップデート 2026/3 - 2026/5
oracle4engineer
PRO
1
140
Chart.js が簡単に使えるようになっていたので OGP 画像生成に使った話
kamekyame
0
140
価格.comをAI駆動で全面刷新する ー 30年分の技術的負債を返し、次の30年の土台をつくる ー / AI Engineering Summit Tokyo 2026
tkyowa
26
25k
新規事業を牽引する技術選定 〜フルスタックTypeScript開発の実践事例〜
nullnull
2
220
AIを「創る」と「使う」の循環 — HRテックが実践するリアルなAI組織実装
taketo957
0
860
React、まだ楽しくて草
uhyo
7
3.9k
AI Engineering Summit Tokyo 2026 AIの前に、やることがある 〜医療データ企業の4フェーズ〜
dtaniwaki
0
1.2k
Databricks 月刊サービスアップデート 2026年05月号
tyosi1212
0
200
探して_入れて_作って_使う_Agent_Skills___LT.pdf
peintangos
2
150
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
2
200
Featured
See All Featured
From π to Pie charts
rasagy
0
200
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.3k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
310
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
200
Abbi's Birthday
coloredviolet
2
7.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
A Tale of Four Properties
chriscoyier
163
24k
A Soul's Torment
seathinner
6
2.9k
Code Reviewing Like a Champion
maltzj
528
40k
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!
?