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
440
6
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
98
Globally distributed applications with Serverless Framework
mthenw
1
190
The State of Serverless
mthenw
0
760
The State of Serverless (PCUG)
mthenw
0
260
Apex: The Holy Grail of AWS Lambda
mthenw
0
230
Microservices on AWS ECS
mthenw
8
860
Practical React in Marionette application
mthenw
2
640
Working with single-threaded event loop
mthenw
1
370
Are you Redis? Introduction to Redis.
mthenw
2
760
Other Decks in Technology
See All in Technology
Redmine 7.0 新機能・機能強化解説(OSC2026京都ダイジェスト版)
vividtone
1
250
サイバー捜査員研修(前半)
nomizone
1
2k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
19k
【CEDEC2026】専門性の高いデフォルメチームが挑んだ人材育成戦略 〜Cygames Academiaの企画から実施まで〜
cygames
PRO
0
550
【CEDEC2026】コードレビュー支援ツール開発から学ぶ:LLMを用いた業務システムの実践的な運用設計と誤出力対策
cygames
PRO
0
650
【CEDEC2026】『GRANBLUE FANTASY: Relink - Endless Ragnarok』のバトル制作事例 ~最高のキャラゲーを目指して~
cygames
PRO
0
240
ブラウザ研修 2026
recruitengineers
PRO
6
880
修正PRを食べてレビュースキルが賢くなる:Claude Codeによる自己改善サイクル
yuyaumetsu
6
1.4k
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.9k
【CEDEC2026】ゲームシナリオライターを支援するAIツール開発の実践 ― 設計とプロンプトの工夫 ―
cygames
PRO
1
790
【CEDEC2026】『Relink』を拡張せよ - 『GRANBLUE FANTASY: Relink - Endless Ragnarok』の開発速度と品質を守るCI運用
cygames
PRO
0
150
Service Connect 上のサービスに ECS Service の外側から到達できなかった話
ota1022
1
220
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Designing for humans not robots
tammielis
254
26k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Statistics for Hackers
jakevdp
799
230k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
360
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.9k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
210
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
930
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
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!
?