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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
88
Globally distributed applications with Serverless Framework
mthenw
1
170
The State of Serverless
mthenw
0
730
The State of Serverless (PCUG)
mthenw
0
240
Apex: The Holy Grail of AWS Lambda
mthenw
0
210
Microservices on AWS ECS
mthenw
8
840
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
運用システムにおけるデータ活用とPlatform
sansantech
PRO
0
110
Choose your own adventure in agentic design patterns
glaforge
0
140
No Types Needed, Just Callable Method Check
dak2
1
1.4k
Agents CLI と Gemini Enterprise Agent Platform で マルチエージェント開発が楽しくなる!
kaz1437
0
110
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
8
1.3k
最初の一歩を踏み出せなかった私が、誰かの背中を押したいと思うようになるまで / give someone a push
mii3king
0
160
[最強DB講義]推薦システム | 基礎編
recsyslab
PRO
1
180
ネットワーク運用を楽にするAWS DevOps Agent活用法!! / 20260421 Masaki Okuda
shift_evolve
PRO
2
210
AI: Making Admin and Users, Lives Better
kbmsg
0
110
AWS DevOps Agentはチームメイトになれるのか?/ Can AWS DevOps Agent become a teammate
kinunori
6
750
「責任あるAIエージェント」こそ自社で開発しよう!
minorun365
9
2.1k
コミュニティ・勉強会を作るのは目的じゃない
ohmori_yusuke
0
240
Featured
See All Featured
Mind Mapping
helmedeiros
PRO
1
160
Rails Girls Zürich Keynote
gr2m
96
14k
Building Adaptive Systems
keathley
44
3k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
490
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
100
Practical Orchestrator
shlominoach
191
11k
The Pragmatic Product Professional
lauravandoore
37
7.2k
First, design no harm
axbom
PRO
2
1.2k
Designing Powerful Visuals for Engaging Learning
tmiket
1
350
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
380
Amusing Abliteration
ianozsvald
1
160
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!
?