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
인프라 관점에서 접근하는 리디스토리 개발기
Search
RIDI
September 08, 2017
Programming
1.5k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
인프라 관점에서 접근하는 리디스토리 개발기
발표자: 스토리팀 박준형
RIDI
September 08, 2017
More Decks by RIDI
See All by RIDI
원격 근무 팀 운영 경험 공유
ridi
0
2.3k
SVG Icon Design Guide
ridi
2
4.3k
빠르게 훑어보는 리디페이 백엔드 개발기
ridi
2
5.3k
Next.js는 정말 zero config였다.
ridi
0
2.2k
3일 걸릴 것 같던 구매목록 다운로드는 왜 3주가 걸렸을까?
ridi
0
500
원격으로 한 달 일해보니
ridi
0
1.6k
리디북스 앱에 S Pen Remote 연동하기
ridi
2
2.9k
UI 라이브러리 개발기
ridi
1
2.8k
테스트 환경 개선하기
ridi
8
3.7k
Other Decks in Programming
See All in Programming
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
1
260
霧の中の代数的エフェクト
funnyycat
1
410
AI がコードを書く時代における新卒エンジニアの仕事風景 (2026) / New Graduate Engineers in the Era of AI Coding (2026)
sushichan044
0
220
Prismを使った型安全な暗号化_関数型まつり2026
_fhhmm
0
140
Apache Hive: そしてCloud Native Lakehouseへ
okumin
1
140
フィードバックで育てるAI開発
kotaminato
1
120
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
190
作るコストが小さくなった時代 幸せに働くために改めて考えたいこと 〜エンジニアとして価値を出し続けるために注視している二分野〜
yuppeeng
0
110
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
0
300
自作OSでスライド発表する
uyuki234
1
3.9k
ランチタイムLT会3周年!ランチタイムLT会を3年間続けられたお話
y0hgi
1
150
使用 Meilisearch 建立新聞搜尋工具
johnroyer
0
150
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
190
The Limits of Empathy - UXLibs8
cassininazir
1
520
Why Our Code Smells
bkeepers
PRO
340
58k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
First, design no harm
axbom
PRO
2
1.2k
How GitHub (no longer) Works
holman
316
150k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Balancing Empowerment & Direction
lara
6
1.2k
Transcript
ੋۄ ҙীࢲ Ӕೞח ܻ٣झషܻ ѐߊӝ 2017֙ 9ਘ 8ੌ © RIDI
Corp.
߅ળഋ - 6֙ର ѐߊ - C / C++ ࡅ -
݃ࣗ ࡅ - ਦب ୭Ҋ 2 ߊ ࣗѐ
3 Әө ࣚѪ - Linux ਊ۽Ӓ۔ - MFC ਊ۽Ӓ۔ -
WPF ਊ۽Ӓ۔ - Reverse proxy - ܻ٣࠘झ - ܻ٣झషܻ
4 Ӓী о ୭Ӕী ݅ٚ ܻ٣झషܻী ೧ ঠӝ ೧ࠇद.
5 ೞҊ र ঠӝח ؘ݆ Ӓীࢲ ੋۄী ೧ ঠӝܳ ೞભ.
6 খীࢲח ޥо হҊ рױ೧ ࠁ݅,
7 ٍীࢲ ࠁݶ ޥо ݆Ҋ ࠂ೧ ࠁੑפ.
8 ೞաঀ ٜ݅য ࠇद.
9 ഥਗ: ѐߊ 2ݺ - ٜ݅Ҋ ח ࢎખ పझ ೧ࠁ
- WAS - DB
10 ഥਗ: ѐߊ 3ݺ - ࢲ Regionী Zone فѐפө ചח
ೞ - WAS 2ѐ - DB Multi-AZ
11 ഥਗ: ਗ 4ݺ - ࠺زӝ স - Celery ܳ
ੋझఢझীࢲ э جܻ. - Queueח Rabbit MQо ചی Fail overо য۵֎. - Session ٸޙী Redis ॶԁפө Redisী Queue ೡب . - Redis Fail overח Sentinel ۽ ೞ. - WAS 2ѐ - Redis 2ѐ - DB Multi-AZ
12 ഥਗ: ਗ 4ݺ
13 ഥਗ: ਗ 6ݺ - DB ܻ࠙ - Master DBח
ࣗೞפө Slaveܳ ࠢ. - DB reqب оמೞݶ Slave۽ оب۾ ѐߊೞ. - Log ؘఠա ੍ ӝ۾ ؘఠח प ࢲ࠺झ৬ ޖҙೞפө લ؊ۄب ഒ લਵۄҊ DB ܳ ܻ࠙ೞ. - ޛۿ Log, ੍ӝ ӝ۾ গо যب ࢲ࠺झ ਊী ର হب۾ ѐߊೞ - WAS 2ѐ, Redis 2ѐ - DB Multi-AZ, Slave 1ѐ, Log DB, Reading DB
14 ഥਗ: ਗ 6ݺ
15 ഥਗ: ࢎղ 10ݺ - ࠭যࢲߡ - ࠭য పझܳ ਤ೧
࠭য ࢲߡܳ ୶оೞ. - ӝઓ ࠘झ ࢲߡܳ оઉ৬ࢲ ѐઑೞ. - ࠗೞо ߹۽ হਸѪ эӟ ೠؘ ܲ যפө ٮ۽ ࢲߡܳ ف. - ё - EPUB җ , ز࢚ਸ ೧ঠ ೞחؘ S3ী ೞ. - EPUB ਃೞפө ৬ ز࢚җ ٮ۽ ೞ. - WAS 2ѐ, View WAS 2ѐ, Redis 2ѐ - DB Multi-AZ, Slave 1ѐ, Log DB, Reading DB, - S3
16 ഥਗ: ࢎղ 10ݺ
17 ഥਗ: ࢎղ 15ݺ - CDN - ٣য(, ز࢚)ח ֢غب
࢚ҙ হҊ ࣠ ࡈۄঠ ೞפө খী CDNਸ ف. - JSی CSSب CDNਸ ਊೞ. - TTL ҙܻ ೞӝ য۰פ ݽٚ ੌ ࠛ߸ਵ۽ рೞ. - WAS 2ѐ, View WAS 2ѐ, Redis 2ѐ - DB Multi-AZ, Slave 1ѐ, Log DB, Reading DB - S3, CloudFront
18 ഥਗ: ࢎղ 15ݺ
19 ࢲ࠺झ য়!
20 ഥਗ: 5,000ݺ - Worker - ӝܻݶ ޖܐ, ୭नಞ ঌܿ
١ ࠺زӝ Queueী ऺৈࢲ оՔ ןѱ غ֎. - पदрࢿ সٜ ਊ Workerীࢲ جܻ - Cronب Ӓ Workerо جܻ. - ݽפఠ݂ب ೧ঠ ೞחؘ CloudWatchী োѾೞ. - ߓನ పझب ೧ঠ ೞפө Stagingࢲߡب ೞա ٜ݅. - WAS 2ѐ, Worker 1ѐ, Staging 1ѐ, View WAS 4ѐ, Redis 2ѐ - DB Multi-AZ, Slave 1ѐ, Log DB, Reading DB - S3, CloudFront, CloudWatch
21 ഥਗ: 5000ݺ
22 ഥਗ: 1݅ݺ - ઑഥ ਊ DB - DBо Բ
લ֎. - , ޖীࢲ ࢲ࠺झ ࠙ࢳਸ ਤ೧ ষդ Queryܳ զܻҊ ֎. - DBੋझఢझо ৈ۞ѐۄࢲ ࠙ࢳ ࠛಞೞ֎. - ઑഥ ਊ DBܳ ٜ݅যࢲ ࢲ࠺झ৬ ܻ࠙ ೞҊ ݽٚ DBܳ Replicationೞ. - WAS 2ѐ, Worker 1ѐ, Staging 1ѐ, View WAS 4ѐ, Redis 2ѐ - DB Multi-AZ, Slave 1ѐ, Log DB, Reading DB, Read DB - S3, CloudFront, CloudWatch
23 ഥਗ: 1݅ݺ
24 ഥਗ: 5݅ݺ - ࠭য ࢲߡ ѐࢶ - ࢸզী ର۹ղо
࠭য ࢲߡ લ֎. - оՔ оՔ ࠭য ࢲߡ લ֎. - ݅ച ࢲ࠺झ ೧ঠ ೞחؘ ۽ оݶ উغѷ֎. - EPUB ࠛ߸פө ࠭যࢲߡо S3ী यೠ ؘఠܳ ೞҊ CDN క. - ੋૐ ӝמ CloudFront Private contents ӝמਸ ࢎਊೞ. - WAS 2ѐ, Worker 1ѐ, Staging 1ѐ, View WAS 2ѐ, Redis 2ѐ - DB Multi-AZ, Slave 1ѐ, Log DB, Reading DB, Read DB - S3, CloudFront, CloudWatch
25 ഥਗ: 5݅ݺ
26 ഥਗ: 10݅ݺ - ElasticCache - оՔ Redis োѾ ՐӝҊ
ೞӝ ߣѢ܂֎. - ࠺ਊب ݆ ର উաפө ElasticCache о. - Push Worker - Push ࠁղ۰פө ցޖ וܻ. ߊ࣠ SNSॳ. - ࢎۈ ݆ইפө ӝޖ ঌܿߊ࣠ب ࡆࣁ. Push ਊ Worker. - ࢲ࠺झ Scale out - Push ࠁղפө DBࠗೞо ழ֎. Slave୶о. - DB Slave୶оೞפө WASલ֎. WAS ૐо. - WASૐоೞפө ۽Ӓ ࠁӝ য۵. ۽Ӓ ࣻӝ ୶о. - WAS 8ѐ, Worker 2ѐ, Staging 2ѐ, View WAS 2ѐ, ۽Ӓ ࣻӝ - DB Multi-AZ, Slave 2ѐ, Log DB, Reading DB, Read DB - S3, CloudFront, CloudWatch, ElasticCache, SNS
27 ഥਗ: 10݅ݺ
28 ഥਗ: 20݅ݺ - ୭ച - ۽٘о оՔ
וܽѱ ֎. - ೳ! 30MBܻ ॉ֎ੌ(?). - ীࢲ ୷ೞҊ ৢܽҊ ೮݅, पࣻ ೡࣻ ਵפ ٮ۽ ೧. - ݽٚ ܳ ߸ജೞ ݈Ҋ, ਃೡ ٸ ਗೞח ২࣌ਵ۽ ߸ഋೡ ࣻ ب۾ ೞ. - ۡٸ Lambdaܳ ॳݶ ୭Ҋ. - WAS 8ѐ, Worker 2ѐ, Staging 2ѐ, View WAS 2ѐ, ۽Ӓ ࣻӝ - DB Multi-AZ, Slave 2ѐ, Log DB, Reading DB, Read DB - S3, CloudFront, CloudWatch, ElasticCache, SNS - Lambda, API Gateway
29 ഥਗ: 20݅ݺ
30 അ - TDD - ߓನ݅ ೞݶ য়ܨ աҊ গо
ߊࢤೞ֎. - పझী दрب য়ې ѦܻҊ, ־ۅغח పझب Ҋ. - CI ی API tester ୶о - ࠺ਊ ޙઁ۽ CloudFlare৬ CloudFront۽ CDN ച - WAS 8ѐ, Worker 2ѐ, Staging 2ѐ, View WAS 2ѐ, ۽Ӓ ࣻӝ - API tester, Travis CI - DB Multi-AZ, Slave 2ѐ, Log DB, Reading DB, Read DB - S3, CloudFlare, CloudFront, CloudWatch, ElasticCache, SNS - Lambda, API Gateway
31 അ
32 ഥਗ: 100݅ݺ غӝ ী ೡੌ - ߎী ࢎۈ উয়פө,
ষաѱ ৢ ࣻ ਵפ Auto scailing - ߓನо ؊ एਕઉঠ ೞפө Front ৬ Backend ա־Ҋ Docker! - ࢶޛೣҗ ഥਗࣻ ૐо۽ DB ؘఠо ؊ ऺӝ ী Sharding ળ࠺ - ਗ טܻӝ
33 THANK YOU хࢎפ