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
380
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
31
Globally distributed applications with Serverless Framework
mthenw
1
110
The State of Serverless
mthenw
0
640
The State of Serverless (PCUG)
mthenw
0
140
Apex: The Holy Grail of AWS Lambda
mthenw
0
150
Microservices on AWS ECS
mthenw
8
780
Practical React in Marionette application
mthenw
2
590
Working with single-threaded event loop
mthenw
1
270
Are you Redis? Introduction to Redis.
mthenw
2
700
Other Decks in Technology
See All in Technology
Lexical Analysis
shigashiyama
1
150
DynamoDB でスロットリングが発生したとき/when_throttling_occurs_in_dynamodb_short
emiki
0
260
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
SSMRunbook作成の勘所_20241120
koichiotomo
3
160
障害対応指揮の意思決定と情報共有における価値観 / Waroom Meetup #2
arthur1
5
490
第1回 国土交通省 データコンペ参加者向け勉強会③- Snowflake x estie編 -
estie
0
130
SREが投資するAIOps ~ペアーズにおけるLLM for Developerへの取り組み~
takumiogawa
1
440
iOSチームとAndroidチームでブランチ運用が違ったので整理してます
sansantech
PRO
0
150
Platform Engineering for Software Developers and Architects
syntasso
1
520
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.9k
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
110
Featured
See All Featured
Practical Orchestrator
shlominoach
186
10k
Rails Girls Zürich Keynote
gr2m
94
13k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
The Cult of Friendly URLs
andyhume
78
6k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Embracing the Ebb and Flow
colly
84
4.5k
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!
?