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
49
Globally distributed applications with Serverless Framework
mthenw
1
140
The State of Serverless
mthenw
0
690
The State of Serverless (PCUG)
mthenw
0
180
Apex: The Holy Grail of AWS Lambda
mthenw
0
170
Microservices on AWS ECS
mthenw
8
800
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
720
Other Decks in Technology
See All in Technology
Абьюзим random_bytes(). Фёдор Кулаков, разработчик Lamoda Tech
lamodatech
0
270
CSS、JSをHTMLテンプレートにまとめるフロントエンド戦略
d120145
0
210
20250625 Snowflake Summit 2025活用事例 レポート / Nowcast Snowflake Summit 2025 Case Study Report
kkuv
1
200
登壇ネタの見つけ方 / How to find talk topics
pinkumohikan
3
270
Azure AI Foundryでマルチエージェントワークフロー
seosoft
0
150
実践! AIエージェント導入記
1mono2prod
0
140
ひとり情シスなCTOがLLMと始めるオペレーション最適化 / CTO's LLM-Powered Ops
yamitzky
0
380
Amplifyとゼロからはじめた AIコーディング 成果と展望
mkdev10
1
360
Agentic DevOps時代の生存戦略
kkamegawa
0
950
AWS CDK 実践的アプローチ N選 / aws-cdk-practical-approaches
gotok365
4
480
Workflows から Agents へ ~ 生成 AI アプリの成長過程とアプローチ~
belongadmin
3
170
CI/CDとタスク共有で加速するVibe Coding
tnbe21
0
230
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
43
2.4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
660
Designing for humans not robots
tammielis
253
25k
GraphQLとの向き合い方2022年版
quramy
46
14k
The World Runs on Bad Software
bkeepers
PRO
69
11k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
Designing for Performance
lara
609
69k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
34k
Adopting Sorbet at Scale
ufuk
77
9.4k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
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!
?