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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
mthenw
February 09, 2013
Technology
430
6
Share
Bingo Bango Mongo
Replication and sharding in MongoDB. 09.02.2013 meetphp.pl #8
mthenw
February 09, 2013
More Decks by mthenw
See All by mthenw
How to make better technical decisions
mthenw
0
84
Globally distributed applications with Serverless Framework
mthenw
1
170
The State of Serverless
mthenw
0
730
The State of Serverless (PCUG)
mthenw
0
240
Apex: The Holy Grail of AWS Lambda
mthenw
0
210
Microservices on AWS ECS
mthenw
8
840
Practical React in Marionette application
mthenw
2
620
Working with single-threaded event loop
mthenw
1
360
Are you Redis? Introduction to Redis.
mthenw
2
750
Other Decks in Technology
See All in Technology
「決め方」の渡し方 / How to hand over the "decision-making process"
pauli
4
590
ハーネスエンジニアリング×AI適応開発
aictokamiya
3
1.4k
自分をひらくと次のチャレンジの敷居が下がる
sudoakiy
5
1.7k
スケーリングを封じられたEC2を救いたい
senseofunity129
0
140
AI時代のシステム開発者の仕事_20260328
sengtor
0
320
機能・非機能の学びを一つに!Agent Skillsで月間レポート作成始めてみた / Unifying Bug & Infra Insights — Building Monthly Quality Reports with Agent Skills
bun913
2
750
「できない」のアウトプット 同人誌『精神を壊してからの』シリーズ出版を 通して得られたこと
comi190327
3
550
Sansanの認証基盤を支えるアーキテクチャとその振り返り
sansantech
PRO
1
150
AWS DevOps Agent or Kiro の使いどころを考える_20260402
masakiokuda
0
150
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
互換性のある(らしい)DBへの移行など考えるにあたってたいへんざっくり
sejima
PRO
0
540
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
2.1k
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
140
How to build a perfect <img>
jonoalderson
1
5.3k
AI: The stuff that nobody shows you
jnunemaker
PRO
4
510
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
470
Building the Perfect Custom Keyboard
takai
2
720
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
230
Facilitating Awesome Meetings
lara
57
6.8k
Speed Design
sergeychernyshev
33
1.6k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Context Engineering - Making Every Token Count
addyosmani
9
790
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
SEO for Brand Visibility & Recognition
aleyda
0
4.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!
?