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
390
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
45
Globally distributed applications with Serverless Framework
mthenw
1
130
The State of Serverless
mthenw
0
680
The State of Serverless (PCUG)
mthenw
0
170
Apex: The Holy Grail of AWS Lambda
mthenw
0
170
Microservices on AWS ECS
mthenw
8
790
Practical React in Marionette application
mthenw
2
600
Working with single-threaded event loop
mthenw
1
310
Are you Redis? Introduction to Redis.
mthenw
2
720
Other Decks in Technology
See All in Technology
PagerDuty×ポストモーテムで築く障害対応文化/Building a culture of incident response with PagerDuty and postmortems
aeonpeople
3
570
雑に疎通確認だけしたい...せや!CloudShell使ったろ!
alchemy1115
0
210
AIとSREで「今」できること
honmarkhunt
3
720
Computer Use〜OpenAIとAnthropicの比較と将来の展望〜
pharma_x_tech
6
1k
大規模サーバーレスプロジェクトのリアルな零れ話
maimyyym
3
200
猫でもわかるS3 Tables【Apache Iceberg編】
kentapapa
1
140
エンジニアリングで組織のアウトカムを最速で最大化する!
ham0215
1
300
Coding Agentに値札を付けろ
watany
3
200
AI駆動で進化する開発プロセス ~クラスメソッドでの実践と成功事例~ / aidd-in-classmethod
tomoki10
1
1k
Pythonデータ分析実践試験 出題傾向や学習のポイントとテクニカルハイライト
terapyon
1
130
LINE 購物幕後推手
line_developers_tw
PRO
0
420
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
7
63k
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
14
1.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Embracing the Ebb and Flow
colly
85
4.7k
Documentation Writing (for coders)
carmenintech
71
4.8k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
780
Raft: Consensus for Rubyists
vanstee
137
6.9k
Code Review Best Practice
trishagee
67
18k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
700
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Producing Creativity
orderedlist
PRO
344
40k
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!
?