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.3k
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
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
130
速習iPhone Duo対応
yuukiw00w
1
660
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
300
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
430
setup-vp GitLab対応の裏側
naokihaba
0
110
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
730
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
1
350
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
220
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
260
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
130
一人だけ、Kiroが静止する日
hideg
0
120
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Balancing Empowerment & Direction
lara
6
1.3k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
RailsConf 2023
tenderlove
30
1.6k
Git: the NoSQL Database
bkeepers
PRO
432
67k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
The agentic SEO stack - context over prompts
schlessera
0
940
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
470
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
Amusing Abliteration
ianozsvald
1
310
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 хࢎפ