Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Bingo Bango Mongo
Search
mthenw
February 09, 2013
Technology
450
6
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Bingo Bango Mongo
Replication and sharding in MongoDB. 09.02.2013 meetphp.pl #8
mthenw
February 09, 2013
Transcript
24 slides
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!
?
More Decks by mthenw
See All by mthenw
How to make better technical decisions
mthenw
0
110
Globally distributed applications with Serverless Framework
mthenw
1
220
The State of Serverless
mthenw
0
790
The State of Serverless (PCUG)
mthenw
0
270
Apex: The Holy Grail of AWS Lambda
mthenw
0
240
Microservices on AWS ECS
mthenw
8
870
Practical React in Marionette application
mthenw
2
660
Working with single-threaded event loop
mthenw
1
380
Are you Redis? Introduction to Redis.
mthenw
2
780
Other Decks in Technology
See All in Technology
gem install とrequire のむこうがわ
ydah
0
250
[関西Kaggler会 20261113] 続・コミュニティコンペのススメ
nejumi
0
170
異夢同船〜異なる夢でも同じ船でなんとかする〜
fortegp05
1
570
[NW-JAWS DAY]「うちのAWS、インターネット出られないんで」― AWS外の自社サービスをPrivateLinkでシュッと公開する方法
ykimi
3
900
社内アプリ基盤「Quartz」による、 非エンジニアとAIに本番デプロイを 任せても壊れないプラットフォームの設計
staka121
PRO
1
130
PHPで家庭用ゲーム機の専用コントローラーをMIDIデバイスとして扱ってみる
wind111
0
170
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
260
そのイメージ、どのCIが作った? Artifact Attestationsで来歴を固定する / Which CI system created that image? Pinning provenance with Artifact Attestations
chmikata
0
160
クラウドでも使えるNetApp -現場目線での設計とクラウドバックアップの活用
ryutakondo
1
250
Kansai WordPress Meetup@大阪『ブロックテーマを作る上で知っておくべきこと
torounit
0
260
Datadog の権限統制 〜Org 統合に向けて調べた注意点 / JDDUG-Meetup_24
visional_engineering_and_design
1
200
OWASP AI Agentic Top10に準拠するクラウドネイティブなガードレールの実践(CNDW 2026)
keitah
1
380
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
600
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
900
ラッコキーワード サービス紹介資料
rakko
5
6M
Are puppies a ranking factor?
jonoalderson
2
4.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
61k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
580
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
580
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
430
Color Theory Basics | Prateek | Gurzu
gurzu
1
530
Ethics towards AI in product and experience design
skipperchong
2
470