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
430
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
77
Globally distributed applications with Serverless Framework
mthenw
1
160
The State of Serverless
mthenw
0
720
The State of Serverless (PCUG)
mthenw
0
230
Apex: The Holy Grail of AWS Lambda
mthenw
0
200
Microservices on AWS ECS
mthenw
8
830
Practical React in Marionette application
mthenw
2
620
Working with single-threaded event loop
mthenw
1
350
Are you Redis? Introduction to Redis.
mthenw
2
740
Other Decks in Technology
See All in Technology
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
110
OpenShiftでllm-dを動かそう!
jpishikawa
0
100
プロポーザルに込める段取り八分
shoheimitani
1
220
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
5
3.1k
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
640
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.4k
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
2
190
AI駆動開発を事業のコアに置く
tasukuonizawa
1
170
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
250
GSIが複数キー対応したことで、俺達はいったい何が嬉しいのか?
smt7174
3
150
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
Featured
See All Featured
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
99
ラッコキーワード サービス紹介資料
rakko
1
2.3M
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
Believing is Seeing
oripsolob
1
54
Prompt Engineering for Job Search
mfonobong
0
160
Visualization
eitanlees
150
17k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
Odyssey Design
rkendrick25
PRO
1
490
Why Our Code Smells
bkeepers
PRO
340
58k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Faster Mobile Websites
deanohume
310
31k
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!
?