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
400
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
59
Globally distributed applications with Serverless Framework
mthenw
1
140
The State of Serverless
mthenw
0
700
The State of Serverless (PCUG)
mthenw
0
200
Apex: The Holy Grail of AWS Lambda
mthenw
0
180
Microservices on AWS ECS
mthenw
8
810
Practical React in Marionette application
mthenw
2
610
Working with single-threaded event loop
mthenw
1
320
Are you Redis? Introduction to Redis.
mthenw
2
730
Other Decks in Technology
See All in Technology
OCI Network Firewall 概要
oracle4engineer
PRO
1
7.7k
SoccerNet GSRの紹介と技術応用:選手視点映像を提供するサッカー作戦盤ツール
mixi_engineers
PRO
1
160
pprof vs runtime/trace (FlightRecorder)
task4233
0
150
バイブコーディングと継続的デプロイメント
nwiizo
2
380
KAGのLT会 #8 - 東京リージョンでGAしたAmazon Q in QuickSightを使って、報告用の資料を作ってみた
0air
0
190
Tomorrow graphlib, Let us use everybody
hayaosuzuki
0
160
「Verify with Wallet API」を アプリに導入するために
hinakko
1
210
空間を設計する力を考える / 20251004 Naoki Takahashi
shift_evolve
PRO
3
250
生成AIを活用したZennの取り組み事例
ryosukeigarashi
0
190
PLaMo2シリーズのvLLM実装 / PFN LLM セミナー
pfn
PRO
2
920
Geospatialの世界最前線を探る [2025年版]
dayjournal
3
470
AIが書いたコードをAIが検証する!自律的なモバイルアプリ開発の実現
henteko
1
300
Featured
See All Featured
Building Adaptive Systems
keathley
43
2.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
2.6k
Agile that works and the tools we love
rasmusluckow
331
21k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
20k
We Have a Design System, Now What?
morganepeng
53
7.8k
Building an army of robots
kneath
306
46k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
840
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Music & Morning Musume
bryan
46
6.8k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
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!
?