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
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
1.6k
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
150
浮動小数の比較について
kishikawakatsumi
0
370
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
220
Python’s True Superpower
hynek
0
200
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
370
今更考える「単一責任原則」 / Thinking about the Single Responsibility Principle
tooppoo
3
1.4k
朝日新聞のデジタル版を支えるGoバックエンド ー価値ある情報をいち早く確実にお届けするために
junkiishida
1
350
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
370
AI時代でも変わらない技術コミュニティの力~10年続く“ゆるい”つながりが生み出す価値
n_takehata
2
630
Head of Engineeringが現場で回した生産性向上施策 2025→2026
gessy0129
0
210
AIに仕事を丸投げしたら、本当に楽になれるのか
dip_tech
PRO
0
180
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
430
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
180
Fireside Chat
paigeccino
42
3.8k
Docker and Python
trallard
47
3.8k
Mobile First: as difficult as doing things right
swwweet
225
10k
Discover your Explorer Soul
emna__ayadi
2
1.1k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
220
Art, The Web, and Tiny UX
lynnandtonic
304
21k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
99
Believing is Seeing
oripsolob
1
68
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