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
33
Globally distributed applications with Serverless Framework
mthenw
1
110
The State of Serverless
mthenw
0
650
The State of Serverless (PCUG)
mthenw
0
150
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
280
Are you Redis? Introduction to Redis.
mthenw
2
710
Other Decks in Technology
See All in Technology
MLOps の現場から
asei
7
650
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
170
TSKaigi 2024 の登壇から広がったコミュニティ活動について
tsukuha
0
160
Wantedly での Datadog 活用事例
bgpat
1
520
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
490
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
230
ずっと昔に Star をつけたはずの思い出せない GitHub リポジトリを見つけたい!
rokuosan
0
150
alecthomas/kong はいいぞ / kamakura.go#7
fujiwara3
1
300
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
DevFest 2024 Incheon / Songdo - Compose UI 조합 심화
wisemuji
0
120
普通のエンジニアがLaravelコアチームメンバーになるまで
avosalmon
0
110
C++26 エラー性動作
faithandbrave
2
780
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Embracing the Ebb and Flow
colly
84
4.5k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
170
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
98
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
A Philosophy of Restraint
colly
203
16k
Agile that works and the tools we love
rasmusluckow
328
21k
Documentation Writing (for coders)
carmenintech
66
4.5k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
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!
?