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
97
Globally distributed applications with Serverless Framework
mthenw
1
190
The State of Serverless
mthenw
0
760
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
370
Are you Redis? Introduction to Redis.
mthenw
2
760
Other Decks in Technology
See All in Technology
凡エンジニアがこの先生きのこるためには。〜TypeScript完全に理解したい〜
alchemy1115
2
310
公式ドキュメントの歩き方etc
coco_se
1
120
あなたの『Site』はどこですか? — xREという考え方
miyamu
0
1.2k
ボーイスカウトルールでメモリやスキルを改善しよう
azukiazusa1
4
1.4k
最適な自走を最小限の支援で — M&Aで拡大する組織で少人数SREが挑んだ1年 / SRE NEXT 2026
genda
0
1.5k
世界、断片、モデル。そして理解
ardbeg1958
1
130
関数型の考えを TypeScript に持ち込んで、テストしやすい純粋関数を増やす / Pure at the Core, Effects at the Edge: Bringing Functional Thinking into TypeScript
kaminashi
2
130
Gen3R: 3D Scene Generation Meets Feed-Forward Reconstruction
spatial_ai_network
0
130
美しいコードを書くためにF#を学んでみた話
yud0uhu
1
460
SRE本の知られざる名シーン / The Hidden Gems of Google SRE Book
nari_ex
1
420
AmplifyHostingConstructからSSRフレームワークのためのホスティング設計を考察する/amplify-hosting-construct
fossamagna
1
210
なぜ私たちのSREプラクティスはなかなか機能しないのか 〜システムより先に組織を見る〜 / Why our SRE practices aren't really working
vtryo
4
4k
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
The Language of Interfaces
destraynor
162
27k
We Are The Robots
honzajavorek
0
280
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
320
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Facilitating Awesome Meetings
lara
57
7k
Evolving SEO for Evolving Search Engines
ryanjones
0
240
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
170
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Building the Perfect Custom Keyboard
takai
2
810
Ruling the World: When Life Gets Gamed
codingconduct
0
280
Done Done
chrislema
186
16k
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!
?