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
あたらしい上流工程の形。 0日導入からはじめるAI駆動PM
kumaiu
5
750
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
430
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
11
4.5k
2026年はチャンキングを極める!
shibuiwilliam
9
1.9k
2人で作ったAIダッシュボードが、開発組織の次の一手を照らした話― Cursor × SpecKit × 可視化の実践 ― Qiita AI Summit
noalisaai
1
370
Digitization部 紹介資料
sansan33
PRO
1
6.8k
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
140
セキュリティ はじめの一歩
nikinusu
0
1.5k
システムのアラート調査をサポートするAI Agentの紹介/Introduction to an AI Agent for System Alert Investigation
taddy_919
2
1.7k
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
1
240
toCプロダクトにおけるAI機能開発のしくじりと学び / ai-product-failures-and-learnings
rince
6
5.5k
AI時代、1年目エンジニアの悩み
jin4
1
160
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
240
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
200
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
GraphQLとの向き合い方2022年版
quramy
50
14k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
Rails Girls Zürich Keynote
gr2m
96
14k
Mobile First: as difficult as doing things right
swwweet
225
10k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Prompt Engineering for Job Search
mfonobong
0
160
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
150
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
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!
?