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
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
88
Globally distributed applications with Serverless Framework
mthenw
1
170
The State of Serverless
mthenw
0
730
The State of Serverless (PCUG)
mthenw
0
240
Apex: The Holy Grail of AWS Lambda
mthenw
0
210
Microservices on AWS ECS
mthenw
8
840
Practical React in Marionette application
mthenw
2
630
Working with single-threaded event loop
mthenw
1
360
Are you Redis? Introduction to Redis.
mthenw
2
750
Other Decks in Technology
See All in Technology
Standards et agents IA : un tour d’horizon de MCP, A2A, ADK et plus encore
glaforge
0
170
Shipping AI Agents — Lessons from Production
vvatanabe
0
250
社内エンジニア勉強会の醍醐味と苦しみ/tamadev
nishiuma
0
220
Rapid Start: Faster Internet Connections, with Ruby's Help
kazuho
2
630
No Types Needed, Just Callable Method Check
dak2
1
1.3k
AI時代 に増える データ活用先
takahal
0
240
[OAWTT26][THR1028] Oracle AI Database 26ai へのアップグレード:ベストプラクティスと最新情報
oracle4engineer
PRO
1
110
[OpsJAWS 40]リリースしたら終わり、じゃなかった。セキュリティ空白期間をAWS Security Agentで埋める
sh_fk2
3
240
20年前の「OSS革命」に学ぶ AI時代の生存戦略
samakada
0
440
AndroidアプリとCopilot Studioの統合
nakasho
0
110
エージェントスキルを作って自分のインプットに役立てよう
tsubakimoto_s
0
380
Microsoft 365 / Microsoft 365 Copilot : 自分の状態を確認する「ラベル」について
taichinakamura
0
260
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
5k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
680
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
340
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.3k
How to Think Like a Performance Engineer
csswizardry
28
2.6k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
170
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
How GitHub (no longer) Works
holman
316
150k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
370
Building the Perfect Custom Keyboard
takai
2
730
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!
?