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
Building frontend development environment and w...
Search
Hayato Koriyama
July 03, 2019
Programming
2
1.5k
Building frontend development environment and web performance monitoring
Hayato Koriyama
July 03, 2019
Tweet
Share
More Decks by Hayato Koriyama
See All by Hayato Koriyama
Migration to BrowserWindow in Electron
nekobato
3
930
Mobile Animation Tuning
nekobato
1
780
P2P Netfwork with Node.js
nekobato
1
850
Electron年報
nekobato
0
890
Other Decks in Programming
See All in Programming
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
390
TipKitTips
ktcryomm
0
160
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
110
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
360
Claude Code Skill入門
mayahoney
0
190
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
140
「抽象に依存せよ」が分からなかった新卒1年目の私が Goのインターフェースと和解するまで
kurogenki
0
100
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
220
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
200
15年目のiOSアプリを1から作り直す技術
teakun
1
620
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
550
手戻りゼロ? Spec Driven Developmentとは@KAG AI week
tmhirai
1
190
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Are puppies a ranking factor?
jonoalderson
1
3.1k
We Are The Robots
honzajavorek
0
190
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
180
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
480
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
630
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
820
GraphQLとの向き合い方2022年版
quramy
50
14k
WENDY [Excerpt]
tessaabrams
9
36k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Transcript
1 Building frontend development environment and web performance monitoring フロントエンド開発環境の構築とパフォーマンス監視
Mercari x Merpay Frontend Tech Talk vol.2
2 (Hayato Koriyama) Mercari JP Web Platform DevOps @nekobato
3 What is Mercari JP Web DevOps Agenda Why Web
DevOps? Building & Monitoring 02 03 01
4 What is Web DevOps? --
5 Mercari JP Web Re-architecture DevOps Members
6 Mercari JP Web Re-architecture Project Frontend + α (Backend
+ SET) Recent Mercari JP Web Team New technical stack
7 Mercari JP Web Re-architecture Project ViewDev (Frontend) + Backend
+ DevOps SSR Frontend GraphQL Server SSR Backend Server Session Server microservices Web Gateway New web team
8 ↓Frontend Engineer ↓UI Designer ↓BlockChain Engineer ↓Frontend Engineer Web
DevOps
9 Mercari JP Web Frontend Stack
10 Mercari JP Web DevOps Stack microservice platform
11 Why DevOps?
12 Developers working on... - Develop features - Make local
development environments - Configure error tracking - Configure logging system - Configure performance monitoring - Maintenance CircleCI jobs - Make deploy pipeline - …and so on
13 Why DevOps? To focus on development
14 Web Re-architecture DevOps
15 Web Re-architecture DevOps
16 Frontend DevOps Toolset E2E Performance Monitoring Frontend Error Tracking
Build Development Environment
17 In CircleCI, workflow add a comment to each Pull
Request DevTools
18 Storybook static files per Pull Request https://[ internal Website
]/[Repository name]/[Pull Request Number]/storybook AWS S3 Push Commit Build Storybook Upload Assets
19 Bundle Analyzer per Pull Request
20 Bundle Analyzer per Pull Request https://[ internal Website ]/[Repository
name]/[Pull Request Number]/analyze/server https://[ internal Website ]/[Repository name]/[Pull Request Number]/analyze/client AWS S3 Push Commit Build Storybook Upload Assets
21 Check Modules License
22 Check Vulnerability
23 Monitoring
24 Calibreapp
25 Calibreapp - First Meaningful Paint - Speed Index Alert
threshold: 20% slower than recent Mercari JP Web (measured at 2019-02-18) https://timkadlec.com/2014/01/fast-enough/ SLI/SLO
26 Alert from the outlier Calibreapp
27 Calibreapp - Caused from the new feature - Our
network incident - Issues on Calibreapp This alert is...
28 Calibreapp - Snapshot per hour - Extract median of
recent 14 snapshots - Alert if the median exceeds the threshold Extract median of recent 14 snapshots
29 Calibreapp Carousel...
30 Sentry Error tracking service
31 Sentry - Sentry ⇔ JIRA Issue Link - Slack
alert notification - An issue is first seen - An issue is seen more than N times in 1m
32 Sentry workflow 1. Sentry notification 2. On-call member create
a ticket 3. Assign a member to ticket
33 Support & Knowledge for after release - On-call training
for members - Describe Design Doc
34 Conclusion microservice platform