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
30
Globally distributed applications with Serverless Framework
mthenw
1
110
The State of Serverless
mthenw
0
630
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
Analytics-Backed App Widget Development - Served with Jetpack Glance
miyabigouji
0
630
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
46k
タイミーのレコメンドにおける ABテストの運用
ozeshun
1
210
サーバレスでモバイルアプリ開発! NTTコム「ビジネスdアプリ」のアーキテクチャ / The architecture of business d app
nttcom
12
250
実務における脅威モデリングを考えよう
nikinusu
0
700
『GRANBLUE FANTASY Relink』ソフトウェアラスタライザによる実践的なオクルージョンカリング
cygames
0
180
DevRelの始め方
moongift
PRO
2
400
たった1人からはじめる【Agile Community of Practice】~ソース原理とFearless Changeを添えて~
ktc_corporate_it
1
500
より快適なエラーログ監視を目指して
leveragestech
4
1.5k
GC24 Recap: Interface Internals
task4233
0
250
Jetpack Compose Modifier 徹底解説 / Jetpack Compose Modifier
wiroha
0
210
グイグイ系QAマネージャーの仕事
sadonosake
0
350
Featured
See All Featured
Faster Mobile Websites
deanohume
304
30k
Code Reviewing Like a Champion
maltzj
517
39k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Robots, Beer and Maslow
schacon
PRO
157
8.2k
KATA
mclloyd
27
13k
Why You Should Never Use an ORM
jnunemaker
PRO
53
8.9k
Music & Morning Musume
bryan
46
6k
How to Think Like a Performance Engineer
csswizardry
16
960
Dealing with People You Can't Stand - Big Design 2015
cassininazir
363
22k
The Art of Programming - Codeland 2020
erikaheidi
48
13k
Visualization
eitanlees
142
15k
The Brand Is Dead. Long Live the Brand.
mthomps
53
38k
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!
?