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
인프라 관점에서 접근하는 리디스토리 개발기
Search
RIDI
September 08, 2017
Programming
1.6k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
인프라 관점에서 접근하는 리디스토리 개발기
발표자: 스토리팀 박준형
RIDI
September 08, 2017
Transcript
33 slides
ੋۄ ҙীࢲ Ӕೞח ܻ٣झషܻ ѐߊӝ 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 хࢎפ
More Decks by RIDI
See All by RIDI
원격 근무 팀 운영 경험 공유
ridi
0
2.4k
SVG Icon Design Guide
ridi
2
4.4k
빠르게 훑어보는 리디페이 백엔드 개발기
ridi
2
5.3k
Next.js는 정말 zero config였다.
ridi
0
2.3k
3일 걸릴 것 같던 구매목록 다운로드는 왜 3주가 걸렸을까?
ridi
0
530
원격으로 한 달 일해보니
ridi
0
1.6k
리디북스 앱에 S Pen Remote 연동하기
ridi
2
2.9k
UI 라이브러리 개발기
ridi
1
2.9k
테스트 환경 개선하기
ridi
8
3.7k
Other Decks in Programming
See All in Programming
Spec-driven Development with AI
simas
PRO
0
2.3k
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
320
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
120
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
650
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
310
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
11k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
430
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
330
オーケストレーション記述言語 Katari
yukikurage
0
250
Crash Auto Pipelines
veronikapj
1
410
AI-Powered Domain-Driven Design
ziobrando
0
430
Featured
See All Featured
Are puppies a ranking factor?
jonoalderson
2
4.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
520
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
590
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
Leo the Paperboy
mayatellez
11
2.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Building Adaptive Systems
keathley
44
3.3k
The Invisible Side of Design
smashingmag
301
52k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k