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
370
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
30
Globally distributed applications with Serverless Framework
mthenw
1
110
The State of Serverless
mthenw
0
620
The State of Serverless (PCUG)
mthenw
0
140
Apex: The Holy Grail of AWS Lambda
mthenw
0
150
Microservices on AWS ECS
mthenw
8
770
Practical React in Marionette application
mthenw
2
590
Working with single-threaded event loop
mthenw
1
270
Are you Redis? Introduction to Redis.
mthenw
2
700
Other Decks in Technology
See All in Technology
標準最高!標準はださくないぞ! at fukuoka.ts #1
yoiwamoto
0
150
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
1
160
APIのドキュメント化何使ってますか?
miu_crescent
2
160
FastlyとfalcoでNode.jsレスな Webサーバー構築 : IPTV版 ABEMAアプリインフラ刷新 / Building web server using Fastly and falco without Node.js for IPTV ABEMA app
nodaguti
0
240
AWS IAM Identity Center議論会 〜 認証認可結合モデルと認証認可分離モデル / 20240827-jawsug-arch-iam_identity_center
opelab
3
320
CRTO/CRTL/OSEPの比較・勉強法とAV/EDRの検知実験
chayakonanaika
0
400
スーパーマリオRPGのリメイク版の変更点からみるUX
nishiharatsubasa
1
130
HolidayJp.jl を作りました
mrkn
0
110
AWS版GitHub?Amazon CodeCatalystの全体像をまとめてみた
oshanqq
1
3.2k
四国のあのイベントの〇〇システムを45日間で構築した話 / cloudohenro2024_tachibana
biatunky
0
130
デジタル化・DX推進あるある
y150saya
0
220
[RSJ24] Object Segmentation from Open-Vocabulary Manipulation Instructions Based on Optimal Transport Polygon Matching with Foundation Models
keio_smilab
PRO
0
120
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
333
56k
Building Adaptive Systems
keathley
36
2.1k
How to name files
jennybc
75
97k
Adopting Sorbet at Scale
ufuk
72
8.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
58k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Side Projects
sachag
451
42k
A designer walks into a library…
pauljervisheath
201
24k
Facilitating Awesome Meetings
lara
49
5.9k
Speed Design
sergeychernyshev
18
400
Why You Should Never Use an ORM
jnunemaker
PRO
53
8.9k
The Invisible Customer
myddelton
119
13k
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!
?