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
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.2k
3일 걸릴 것 같던 구매목록 다운로드는 왜 3주가 걸렸을까?
ridi
0
510
원격으로 한 달 일해보니
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
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
550
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
120
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
280
FreeBSDでZabbixを動かす
kenkino
0
360
phperだってパンチカードでコーディングしたい
o0h
PRO
0
210
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
310
Embedded Swiftで作る自作USBデバイス によるiOSデバイスの自動テスト / iOSDC Japan 2026 glassfiber
glassfiber
0
290
contenteditable と日本語入力に向き合う
colorful12
0
110
Java 27新機能 / Java 27 new features
kishida
2
200
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
390
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
360
スマートフォンでモールス信号を送受信する 〜スマートフォンのLEDとカメラで作る光通信の設計と実装〜
atsuki_seo
0
230
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Documentation Writing (for coders)
carmenintech
77
5.6k
Deep Space Network (abreviated)
tonyrice
0
350
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
420
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
770
Odyssey Design
rkendrick25
PRO
2
860
Exploring anti-patterns in Rails
aemeredith
4
520
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 хࢎפ