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
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
77
Globally distributed applications with Serverless Framework
mthenw
1
160
The State of Serverless
mthenw
0
720
The State of Serverless (PCUG)
mthenw
0
230
Apex: The Holy Grail of AWS Lambda
mthenw
0
200
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
740
Other Decks in Technology
See All in Technology
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
4
4.8k
日本語テキストと音楽の対照学習の技術とその応用
lycorptech_jp
PRO
1
420
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
150
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
570
今日から始めるAmazon Bedrock AgentCore
har1101
4
380
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
1
240
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
5
2.5k
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
430
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
430
データの整合性を保ちたいだけなんだ
shoheimitani
7
2.8k
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
420
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
89
Test your architecture with Archunit
thirion
1
2.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
72
How to Ace a Technical Interview
jacobian
281
24k
The SEO Collaboration Effect
kristinabergwall1
0
350
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Rails Girls Zürich Keynote
gr2m
96
14k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
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!
?