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
360
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
29
Globally distributed applications with Serverless Framework
mthenw
1
94
The State of Serverless
mthenw
0
600
The State of Serverless (PCUG)
mthenw
0
130
Apex: The Holy Grail of AWS Lambda
mthenw
0
130
Microservices on AWS ECS
mthenw
8
750
Practical React in Marionette application
mthenw
2
580
Working with single-threaded event loop
mthenw
1
250
Are you Redis? Introduction to Redis.
mthenw
2
690
Other Decks in Technology
See All in Technology
巨大なテーブルのテーブル定義を無停止で安全に誰でも変更できるようにする / Table-definitions-for-huge-tables-can-be-modified-by-anyone-safely-and-non-disruptively
freee
1
740
Data and AI Governance: Existing Challenges and Emerging Trends
scotthsieh825
0
150
社内勉強会運営のコツ
senoo
6
1.1k
シン・Kafka / shin-kafka
oracle4engineer
PRO
7
2.7k
Oracle Cloud Infrastructure:2024年4月度サービス・アップデート
oracle4engineer
PRO
1
110
「共通基盤」を超えよ! 今、Platform Engineeringに取り組むべき理由
jacopen
25
5.9k
HEXA OSINT CTF V3 作戦会議
meow_noisy
0
110
株式会社EventHub・エンジニア採用資料
eventhub
0
1.9k
疲弊しない!AWSセキュリティ統制の考え方 #devio_osakaday1
masahirokawahara
6
5.9k
WebアプリケーションにおけるPDOの使い方入門 / phpcon odawara 2024
meihei3
2
430
オーナーシップを持つ領域を明確にする
konifar
11
2.5k
ここが嬉しいABAC ここが辛いよABAC #再解説+補足編
masahirokawahara
0
220
Featured
See All Featured
Design by the Numbers
sachag
274
18k
We Have a Design System, Now What?
morganepeng
42
6.7k
[RailsConf 2023] Rails as a piece of cake
palkan
22
3.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
258
12k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
Large-scale JavaScript Application Architecture
addyosmani
503
110k
GraphQLとの向き合い方2022年版
quramy
31
12k
Side Projects
sachag
451
41k
Building a Modern Day E-commerce SEO Strategy
aleyda
16
6.4k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
YesSQL, Process and Tooling at Scale
rocio
163
13k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
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!
?