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
420
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
74
Globally distributed applications with Serverless Framework
mthenw
1
160
The State of Serverless
mthenw
0
710
The State of Serverless (PCUG)
mthenw
0
220
Apex: The Holy Grail of AWS Lambda
mthenw
0
200
Microservices on AWS ECS
mthenw
8
820
Practical React in Marionette application
mthenw
2
620
Working with single-threaded event loop
mthenw
1
340
Are you Redis? Introduction to Redis.
mthenw
2
740
Other Decks in Technology
See All in Technology
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.6k
kintone開発のプラットフォームエンジニアの紹介
cybozuinsideout
PRO
0
520
AI に「学ばせ、調べさせ、作らせる」。Auth0 開発を加速させる7つの実践的アプローチ
scova0731
0
250
CQRS/ESになぜアクターモデルが必要なのか
j5ik2o
0
950
Kusakabe_面白いダッシュボードの表現方法
ykka
0
130
AWS re:Invent 2025 を振り返る
kazzpapa3
2
110
Scrum Guide Expansion Pack が示す現代プロダクト開発への補完的視点
sonjin
0
620
【Agentforce Hackathon Tokyo 2025 発表資料】みらいシフト:あなた働き方を、みらいへシフト。
kuratani
0
120
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
12k
20260114_データ横丁 新年LT大会:2026年の抱負
taromatsui_cccmkhd
0
130
チームで安全にClaude Codeを利用するためのプラクティス / team-claude-code-practices
tomoki10
7
3.3k
AI時代のアジャイルチームを目指して ー スクラムというコンフォートゾーンからの脱却 ー / Toward Agile Teams in the Age of AI
takaking22
11
6.5k
Featured
See All Featured
We Are The Robots
honzajavorek
0
130
Leo the Paperboy
mayatellez
3
1.3k
Why Our Code Smells
bkeepers
PRO
340
58k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
330
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Evolving SEO for Evolving Search Engines
ryanjones
0
98
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
98
Designing for humans not robots
tammielis
254
26k
Code Review Best Practice
trishagee
74
19k
Chasing Engaging Ingredients in Design
codingconduct
0
97
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
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!
?