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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
RIDI
June 13, 2019
Programming
5.3k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
빠르게 훑어보는 리디페이 백엔드 개발기
RIDI
June 13, 2019
More Decks by RIDI
See All by RIDI
원격 근무 팀 운영 경험 공유
ridi
0
2.3k
SVG Icon Design Guide
ridi
2
4.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.8k
테스트 환경 개선하기
ridi
8
3.7k
추천 API 최적화하기
ridi
4
2.3k
Other Decks in Programming
See All in Programming
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
19k
バグを直したら useEffect が消えた
colorful12
3
700
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
260
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
260
片田舎のおっさん、 Swift Buildのダイアモンド問題解決の不具合修正PRを出すが、解決方法がキャッシュをしないようにすることであり、ビルド時間が伸びると言われてマージされないので高速化もする/swiftbuild
yimajo
0
290
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
180
AIの中の人になってみる
htkym
0
120
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.1k
freeeにおけるEvalsの実践例の紹介
freee
PRO
0
150
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
160
Japan Community Day at Kubecon + CloudNativeCon Japan 2026: Learning Container Privilege Control by Building My Own Low-Level Container Runtime
ternbusty
1
170
VibeCodingからAgenticWorkflowへ
starfish719
0
870
Featured
See All Featured
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
950
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
The agentic SEO stack - context over prompts
schlessera
0
880
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
390
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
220
Faster Mobile Websites
deanohume
310
32k
Google's AI Overviews - The New Search
badams
0
1.1k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
The Limits of Empathy - UXLibs8
cassininazir
1
610
From π to Pie charts
rasagy
0
320
Transcript
ࡅܰѱ വযࠁח ܻ٣ಕ ߔূ٘ ѐߊӝ झషয Ѿઁ ъӏ
Infrastructure as Code Terraform workspace Prod $ terraform workspace select
prod $ terraform apply -> slave DB ࢤࢿ - ٘ ߸҃ झషܻܳ ా೧ࢲ ਗ ߸҃ झషܻ ୶ ਊ - Web UIܳ ా೧ࢲ ۽࠺ઉ ೞח Ѫࠁ ഻ঁ ҙ - PQ పझ ӝр زউ݅ ਗਸ ೠदਵ۽ ೞח ࢚ടੋ ҃, ਗਸ ೠߣী setup/ destroy ೞח Ѫب рಞ - RIDI Payীࢲח Terraformܳ ਊ೮णפ. resource "aws_db_instance" "slave" { count = “${terraform.workspace === ‘prod’ ? 1 : 0}” … } - زੌೠ terraform ٘۽ terraform stateܳ workspace ߹۽ աׇࢲ ҙܻೡ ࣻ ח ӝמ Dev $ terraform workspace select dev $ terraform apply -> slave DB ࢤࢿ X
Test Code Coverageо ח Ѫ - ਟ݅ೠ ੜޅػ ٘ ߸҃
ࢎ೦ٜ ৈӝࢲ ࠗ࠙ Ѧ۞ - ࠺ૉפझ ۽ী ೠ ࣁࠗੋ test ࡺ݅ ইפۄ, ஶ܀۞ ۨ߰ request/responseө ࢚ട ߹۽ ప झ - ۧѱ غפ testܳ Ӓր ח. -> न ח ٘ ࣻ -> ݃ ಣച - ࠛਃೞѱ ߈ࠂغח ۽ஸ పझܳ ੌ ࣻ . - ழߡܻח 100%ࠗఠ दۄח ݈ب ݅, ੌױ 100%ө Ҋ र زӝࠗৈо ؾפ. 2019. 4. 11 ӝળ ೧ࠁҊ र Ѫ TDD https://en.wikipedia.org/wiki/Test-driven_development
٘৬ API ޙࢲо ܻ࠙ غযਸ ٸ ࢤӝח ੌ ٘ܳ ࣻೞҊ
աࢲ ޙࢲ ࣻਸ өݡח. ٍןѱ ղо ޙࢲܳ ࣻೞݶ, ܲ ࢎۈ ٘ܳ ࣻೞҊ ޙࢲܳ ࣻਸ өݡח. … … … ঈࣽജ ٘৬ ޙࢲо э јन ⪟ਵݶ જѷ. Ӓۧݶ, ٘৬ ޙࢲ ޛܻੋ Ѣܻܳ ࠢৈࢲ ޙࢲܳ ࠁѱ ೞݶ যڄө? phpdoc https://github.com/zircote/swagger-php
phpdocਸ ਊೠ API ޙࢲ زച https://s3.ap-northeast-2.amazonaws.com/ridi-pay-backend-api-doc/api.html ٘৬ ޙࢲо ࠢযযࢲ, ٘
߸҃ী ٮۄࢲ ޙࢲо ࠛੌ غח ࠼بо ബҗਵ۽ য٘ח Ѫਸ ו՝ Build(CI Pipeline)
Open Source Ѿઁ दझమ ࣗझ ٘о ҕѐغח Ѫ ۹ੋ ੌחؘ,
RIDI Pay ҃ܳ ࢤп೧ࠁݶ ҕѐ ޅ ೡ ਬо হ. ࠁউ ݶীࢲب хҊ ա Ѫب হ. য়۰ ؊ ݆.
https://github.com/ridi/style-guide/blob/master/OSS.md
ࠁউ ஂড ઁࠁ
ࠁউ ஂড ઁࠁ റ ࢤпٜ - ੌױ hot fix -
ࢎࣗೠ ӏध पࣻ۽ ߊࢤ೮݅, Ӓزউ Unit Testо ցޖ positive caseী ೧ࢲ݅ ࢿغࢲ ֬ଢ଼؍ Ѫ ইקө - ܻ٣ಕ ߔূ٘ ࢲߡীࢲ KCP Ѿઁ ݽٕী Ӕೡ ࣻ ח ܖܳ ୭ࣗച ೞ. - KCP HTTP Proxy - ઁۄب ࠁউ ܻझܳ ೠߣ ഛੋ೧ࠁݶ જѷ • https://www.owasp.org/index.php/OWASP_Secure_Coding_Practices_Checklist • https://www.owasp.org/images/3/33/OWASP_Application_Security_Verification_Standard_3.0.1.pdf
None
Ҋणפ!